Fact based variables sowing up empty

27 views
Skip to first unread message

llowder

unread,
Aug 27, 2012, 12:00:48 PM8/27/12
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.

llowder

unread,
Aug 27, 2012, 12:39:20 PM8/27/12
to puppet...@googlegroups.com

And this is fixed now...

Just had to move my storeconfigs settings from [main] to [master]
Reply all
Reply to author
Forward
0 new messages