I've got a single puppet master (2.7.19 + facter 1.6.11) controlling a 
number of nodes (2.7.17 + facter 1.6.8-10). On all of thse, fact absed 
variables work as expected (such as $::operatingsystem and $::fqdn).

However, on my puppet master, when I run 'puppet agent --test' all fact 
based variables are combing back as empty strings.

For example. I have a line in a module that says:

err("sudoer defaults only tested against ubuntu at this time. ${::fqdn} 
runs ${::operatingsystem}.")

The output that I get is:

sudoer defaults only tested against ubuntu at this time.  runs .

When I run 'sudo facter -p' or 'sudo -u puppet facter -p' then I see all 
facts as I would expect.

Any ideas or suggestions?

Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/puppet-users/-/P2LwhmODklYJ.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to