llowder
unread,Aug 27, 2012, 12:00:48 PM8/27/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to puppet...@googlegroups.com
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.