Dan Crisp wrote:
environment/production/data/nodes/nodename.domain.com.yaml
As you can see in the output - the hiera path expanded to:
Path "/etc/puppetlabs/code/environments/production/data/nodes/.yaml"
Meaning that trusted.certname was empty. It would be empty if the node
"nodename.domain.com" never checked in with the puppet server to deposit
any facts. It will do that on its first agent run though.
Meanwhile you have to supply your own facts (and trusted) to do lookups
as it will be done when the node later requests a catalog. Look at the
help for the various flags to the lookup command to learn how to give it
values for facts and trusted information.
- henrik
--
Visit my Blog "Puppet on the Edge"
http://puppet-on-the-edge.blogspot.se/
--
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/r31785%241ub%241%40ciao.gmane.io.