lib/vagrantomatic/vagrantomatic.rb
def instance_metadata(name)
      instance = instance(name)
      config = {}
      # annotate the raw config hash with data for puppet (and humans...)
      if instance.configured?
        config = instance.configfile_hash
        config["ensure"] = :present
      else
        # VM missing or damaged
        config["ensure"] = :absent
      end
      config["name"] = name

      config
    end
def instance_metadata(name)
      instance = instance(name)
      config = {}
      # annotate the raw config hash with data for puppet (and humans...)
      if instance.configured?
        config = instance.configfile_hash
        config["ensure"] = :present
      else
        # VM missing or damaged
        config["ensure"] = :absent
      end
      config["name"] = name

      config
    end
Return a has representing the named instance.  This is suitable for Puppet
 type and provider, or you can use the returned info for whatever you like