Hi I have puppet client 0.25.5 running on about 100 solaris 8 servers
and only two of them gets the custom facts. My puppet master is 2.6.8
running ubuntu lucid

Here are my custom facts

$ cat /etc/puppet/modules/common/lib/facter/bash.rb
Facter.add("bash") do
   setcode do
  bash = `which bash`.chomp
  bash = "/bin/sh" if bash.empty?
  bash
   end
end
Facter.add("zonename") do
   setcode do
        zonename = `zonename`.chomp
        zonename = "global" if zonename.empty?
        zonename
   end
end

$ cat /etc/puppet/puppet.conf
[main]
pluginsync = true
factsync = true
logdir=/var/log/puppet
vardir=/var/lib/puppet
ssldir=/var/lib/puppet/ssl
rundir=/var/run/puppet
factpath=$vardir/lib/facter:$confdir/modules/common/lib/facter
templatedir=$confdir/templates
prerun_command=/etc/puppet/etckeeper-commit-pre
postrun_command=/etc/puppet/etckeeper-commit-post

[master]
# These are needed when the puppetmaster is run by passenger
# and can safely be removed if webrick is used.
ssl_client_header = SSL_CLIENT_S_DN
ssl_client_verify_header = SSL_CLIENT_VERIFY
reports = http, store, tagmail
# for remote site
reporturl = http://dashboard.example.net:9000/reports
node_terminus  = exec
external_nodes = /usr/local/bin/external.sh

Here is my puppet.conf on all the puppet clients

$ cat /etc/puppet/puppet.conf
splay = true
report = true
pluginsync = true
syslogfacility = local0

I have a simple class that shows the $bash and $zonename facts are
empty for all but those two puppet clients in the notice()

Any way to debug why custom facts are propagating?

-- 
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to