On Jul 29, 2011, at 8:54 AM, Guy Matz wrote:

> hmm . . .   my custom facts are in /var/opt/lib/pe-puppet/lib/puppet/facter, 
> but if I put them in /var/opt/lib/pe-puppet/lib/facter they *do* show up in 
> facter -p . . .  does that mean I am "packaging" my facts incorrectly on the 
> server?  Or is my client misconfigured?  
> puppet.conf on my client is:
> [main]
>     vardir = /var/opt/lib/pe-puppet
>     logdir = /var/log/pe-puppet
>     rundir = /var/run/pe-puppet
>     modulepath = /etc/puppetlabs/puppet/modules
>     user = pe-puppet
>     group = pe-puppet
> 
> [agent]
>     certname = gmatzpupnode.mserv.local
>     server = gmatzpupmaster.mserv.local
>     report = true
>     classfile = $vardir/classes.txt
>     localconfig = $vardir/localconfig
>     graph = true
>     pluginsync = true
> 
> 
> Again, the fact is defined on the server in modules/ldap/lib/puppet/facter . 
> . .
----
You can specifically set a factpath in puppet.conf (or actually agent.conf for 
your clients)...

example...

  factpath = $vardir/lib/facter, $vardir/yaml/facts

to see what it set on your system (settings not explicitly defined are still 
settings)

puppet agent --genconfig |grep factpath

Craig

-- 
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