The "right" way would probably be to query PuppetDB if you're using it.
If you're not using it, the `puppet facts` face (at least in terms of
querying by node) seems to just be a CLI for the Inventory Service REST
API, which is documented at
http://docs.puppetlabs.com/guides/inventory_service.html - so you should
just query that directly.
-jantman
On 11/17/2013 09:19 PM, Alexander Luetjen wrote:
Hi,
In an ENC I try to run 'puppet facts find <node>' to retrieve more
information about a node.
However, the execution of 'puppet facts' fails with the following
error message:
Error: could not initialize global default settings: couldn't find
HOME environment -- expanding `~/.puppet'
What's correct way to access facts about a node in an ENC?
Thanks,
Alex
--
You received this message because you are subscribed to the Google
Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/e98ad6d8-4824-497a-8595-29d497c3cd1b%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "Puppet
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/528A140C.8010102%40jasonantman.com.
For more options, visit https://groups.google.com/groups/opt_out.