CZACHOR, KRISTOPHER
2011-Oct-18 22:00 UTC
[Puppet Users] Deploying custom facts doesn''t seem to be working.
Hi, I''m running an rpm install of puppet 2.6.6 on Fedora 15. I''ve written a custom fact that I would like to deploy to all of my clients. Here is what I have so far: /etc/puppet/fileserver.conf: [files] Path /var/lib/puppet/files Allow * [plugins] Allow * /etc/puppet/puppet.conf: [main] logdir = /var/log/puppet rundir = /var/run/puppet ssldir = $vardir/ssl pluginsync = true [agent] classfile = $vardir/classes.txt localconfig = $vardir/localconfig /var/lib/puppet/lib/facter/homework.rb: Facter.add("homework") do setcode do %x{/bin/uname -i}.chomp end end I''m getting the following in /var/log/messages: Oct 18 14:46:38 testpuppet-server puppet-agent[24816]: (/File[/var/lib/puppet/lib]) Could not evaluate: Could not retrieve information from source(s) puppet://testpuppet-server.appsig.com/plugins Oct 18 14:46:38 testpuppet-server puppet-agent[24816]: (/File[/var/lib/puppet/lib/facter]) Dependency File[/var/lib/puppet/lib] has failures: true Oct 18 14:46:38 testpuppet-server puppet-agent[24816]: (/File[/var/lib/puppet/lib/facter]) Skipping because of failed dependencies Oct 18 14:46:38 testpuppet-server puppet-agent[24816]: (/File[/var/lib/puppet/lib/facter/homework.rb]) Dependency File[/var/lib/puppet/lib] has failures: true Oct 18 14:46:38 testpuppet-server puppet-agent[24816]: (/File[/var/lib/puppet/lib/facter/homework.rb]) Skipping because of failed dependencies Oct 18 14:46:38 testpuppet-server puppet-agent[24816]: (/File[/var/lib/puppet/lib/puppet]) Dependency File[/var/lib/puppet/lib] has failures: true Oct 18 14:46:38 testpuppet-server puppet-agent[24816]: (/File[/var/lib/puppet/lib/puppet]) Skipping because of failed dependencies Oct 18 14:46:38 testpuppet-server puppet-agent[24816]: (/File[/var/lib/puppet/lib/puppet/parser]) Dependency File[/var/lib/puppet/lib] has failures: true Oct 18 14:46:38 testpuppet-server puppet-agent[24816]: (/File[/var/lib/puppet/lib/puppet/parser]) Skipping because of failed dependencies Oct 18 14:46:38 testpuppet-server puppet-agent[24816]: (/File[/var/lib/puppet/lib/puppet/parser/functions]) Dependency File[/var/lib/puppet/lib] has failures: true Oct 18 14:46:38 testpuppet-server puppet-agent[24816]: (/File[/var/lib/puppet/lib/puppet/parser/functions]) Skipping because of failed dependencies Oct 18 14:46:38 testpuppet-server puppet-agent[24816]: (/File[/var/lib/puppet/lib/puppet/provider]) Dependency File[/var/lib/puppet/lib] has failures: true Oct 18 14:46:38 testpuppet-server puppet-agent[24816]: (/File[/var/lib/puppet/lib/puppet/provider]) Skipping because of failed dependencies Oct 18 14:46:38 testpuppet-server puppet-agent[24816]: (/File[/var/lib/puppet/lib/puppet/type]) Dependency File[/var/lib/puppet/lib] has failures: true Oct 18 14:46:38 testpuppet-server puppet-agent[24816]: (/File[/var/lib/puppet/lib/puppet/type]) Skipping because of failed dependencies Oct 18 14:46:39 testpuppet-server puppet-master[20508]: Compiled catalog for testpuppet-server.appsig.com in environment production in 0.01 seconds Oct 18 14:46:40 testpuppet-server puppet-agent[24816]: Finished catalog run in 0.96 seconds Any suggestions as to what I might be doing wrong? I don''t think this should be behaving like this correct? -Kris -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.