-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 > distid = Facter.value('lsbdistid') > if distid.match(/RedHatEnterprise|CentOS|Fedora/)
sidenote: you can use confine for such things. [...] > I can see the fact on the client node (but only if I add "--puppet"): > # facter --puppet|grep gateway > gateway => 10.2.0.3 > # facter|grep gateway > # right, that might be related to a known bug. but that shouldn't affect puppet. [...] > And when I run puppetd I get the following: > # puppetd -o -t btw: -t implies onetime > info: Retrieving plugin > err: Could not retrieve catalog from remote server: Error 400 on > SERVER: Failed to parse template syslog/syslog.conf.erb: Could not > find value for 'gateway' at /etc/puppet/modules/syslog/manifests/ > init.pp:17 on node test.example.org > warning: Not using cache on failed catalog > err: Could not retrieve catalog; skipping run > # > > I should note that syslog/syslog.conf.erb is a template that > references "<%= gateway %>". > > Any ideas? I have "pluginsync = true" and I'm using 0.25.4 on both > nodes. so if you remove your fact from the client you see that it is downloaded by the master? I assume you distribute your new fact in a module? Can you run it a bit more in debug mode? cheers pete -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkvNTBMACgkQbwltcAfKi3/TwwCfR9l+WediGah8tuL+Y/NLTo6K JfgAn24q7Nsg2VjhxCVa3hCN4AFtKWta =2lPO -----END PGP SIGNATURE----- -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@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.