Could it be since you are not specifying a environment (puppetd --test
--environment=development) that you have not defined your
modulepath = /etc/puppet/modules
at a global level that there is no idea where to find them?
Thanks,
derek
On 2/4/10 10:06 AM, byron appelt wrote:
I am trying to get a custom fact to sync and have tried just about
everything. I am trying to follow this:
http://reductivelabs.com/trac/puppet/wiki/PluginsInModules
I have put my custom fact in /etc/puppet-dev/manifests/classes/custom/
lib/facter
puppet.conf on my puppetmaster looks like this
[main]
logdir=/var/log/puppet
vardir=/var/lib/puppet
ssldir=/var/lib/puppet/ssl
rundir=/var/run/puppet
pluginsync=true
server = puppetmaster.numerex.com
environments = development,testing,production
[puppetmasterd]
certname=puppetmaster.numerex.com
[puppetd]
report = true
[testing]
modulepath = /etc/puppet-dev/manifests/classes
templatedir=/etc/puppet-dev/templates
manifest = /etc/puppet-dev/manifests/site.pp
factpath = /etc/puppet-dev/facter
pluginsync = true
[production]
modulepath = /etc/puppet/manifests/classes
templatedir=/etc/puppet/templates
manifest = /etc/puppet/manifests/site.pp
And in fileserver.conf I have:
[files]
path /etc/puppet/files
allow *
[plugins]
allow *.numerexfast.com
[modules]
allow *.numerexfast.com
And on my puppet client it looks like this:
[main]
logdir=/var/log/puppet
vardir=/var/lib/puppet
ssldir=/var/lib/puppet/ssl
rundir=/var/run/puppet
factpath=$vardir/lib/facter
pluginsync=true
server=puppetmaster.numerex.com
environments=production,testing
environment=testing
[puppetmasterd]
templatedir=/var/lib/puppet/templates
[puppetd]
report = true
When I run puppetd --test on the client, I see the following error:
nfo: Retrieving plugins
err: /File[/var/lib/puppet/lib]: Failed to retrieve current state of
resource: No specified source was found from
puppet://puppetmaster.numerex.com/plugins
And I cannot find my custom fact anywhere under /var/lib/puppet on
the client
What am I missing here? I assume that I should find the fact somewhere
on the client.
--
---
Derek T. Yarnell
University of Maryland
Institute for Advanced Computer Studies
--
You received this message because you are subscribed to the Google Groups "Puppet
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.