> > if distid.match(/RedHatEnterprise|CentOS|Fedora/) > > sidenote: you can use confine for such things.
I'll look into confine. Incidentally this is my first fact and I stole most of it from the puppet docs. > right, that might be related to a known bug. but that shouldn't affect puppet. ok. I did see a post elsewhere that made me suspect this was a bug. It sounded like it was minor and didn't affect any real functionality though. > btw: -t implies onetime Ahh, didn't know that. Thanks. > so if you remove your fact from the client you see that it is downloaded > by the master? Yes. > I assume you distribute your new fact in a module? Yes. Is there a different, preferred way to distribute it? > Can you run it a bit more in debug mode? The debug output isn't very helpful... puppetd -tvd debug: Failed to load library 'selinux' for feature 'selinux' debug: Puppet::Type::User::ProviderUser_role_add: file roleadd does not exist debug: Puppet::Type::User::ProviderPw: file pw does not exist debug: Failed to load library 'ldap' for feature 'ldap' debug: Puppet::Type::User::ProviderLdap: feature ldap is missing debug: Puppet::Type::User::ProviderDirectoryservice: file /usr/bin/ dscl does not exist debug: /File[/var/lib/puppet/ssl/certs/test.example.org.pem]: Autorequiring File[/var/lib/puppet/ssl/certs] debug: /File[/var/lib/puppet/facts]: Autorequiring File[/var/lib/ puppet] debug: /File[/var/lib/puppet/lib]: Autorequiring File[/var/lib/puppet] debug: /File[/var/lib/puppet/state/graphs]: Autorequiring File[/var/ lib/puppet/state] debug: /File[/var/lib/puppet/ssl/private]: Autorequiring File[/var/lib/ puppet/ssl] debug: /File[/var/lib/puppet/ssl/public_keys/test.example.org.pem]: Autorequiring File[/var/lib/puppet/ssl/public_keys] debug: /File[/var/lib/puppet/clientbucket]: Autorequiring File[/var/ lib/puppet] debug: /File[/var/lib/puppet/ssl]: Autorequiring File[/var/lib/puppet] debug: /File[/var/lib/puppet/ssl/public_keys]: Autorequiring File[/var/ lib/puppet/ssl] debug: /File[/var/lib/puppet/client_yaml]: Autorequiring File[/var/lib/ puppet] debug: /File[/etc/puppet/puppet.conf]: Autorequiring File[/etc/puppet] debug: /File[/var/run/puppet/puppetd.pid]: Autorequiring File[/var/run/ puppet] debug: /File[/var/lib/puppet/state]: Autorequiring File[/var/lib/ puppet] debug: /File[/var/lib/puppet/classes.txt]: Autorequiring File[/var/lib/ puppet] debug: /File[/var/lib/puppet/ssl/certs]: Autorequiring File[/var/lib/ puppet/ssl] debug: /File[/var/lib/puppet/ssl/certs/ca.pem]: Autorequiring File[/ var/lib/puppet/ssl/certs] debug: /File[/var/lib/puppet/ssl/certificate_requests]: Autorequiring File[/var/lib/puppet/ssl] debug: /File[/var/lib/puppet/ssl/private_keys/test.example.org.pem]: Autorequiring File[/var/lib/puppet/ssl/private_keys] debug: /File[/var/lib/puppet/ssl/crl.pem]: Autorequiring File[/var/lib/ puppet/ssl] debug: /File[/var/lib/puppet/ssl/private_keys]: Autorequiring File[/ var/lib/puppet/ssl] debug: /File[/var/lib/puppet/state/state.yaml]: Autorequiring File[/ var/lib/puppet/state] debug: Finishing transaction 23724655480440 with 0 changes debug: Using cached certificate for ca, good until Mon Apr 06 20:53:28 UTC 2015 debug: Using cached certificate for test.example.org, good until Sat Apr 11 23:40:54 UTC 2015 debug: Loaded state in 0.00 seconds info: Retrieving plugin debug: Using cached certificate for ca, good until Mon Apr 06 20:53:28 UTC 2015 debug: Using cached certificate for test.example.org, good until Sat Apr 11 23:40:54 UTC 2015 debug: Using cached certificate_revocation_list for ca, good until debug: file_metadata supports formats: b64_zlib_yaml marshal pson raw yaml; using pson debug: Finishing transaction 23724655053440 with 0 changes debug: catalog supports formats: b64_zlib_yaml marshal pson raw yaml; using pson 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 One question, do templates get parsed on the master or the client? If the former it could be that the master itself doesn't have a valid entry for "gateway" (it doesn't because it gets the default gw from dhcp not a config file). Thanks Pete, Scott -- 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.