what version of puppet is this?

On Thu, Feb 4, 2010 at 7:06 AM, byron appelt <[email protected]> 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
>
> the custom fact needs to be in a module: for 0.25.x it would be

$modulepath/MODULENAME/lib/facter/custom_fact.rb


> 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
>
> factpath and pluginsync dont make any sense to be configured on the
server's environment


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

I am not aware of any config options environments


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

running on verbose, you will see the facts being synchronized.


>
> What am I missing here? I assume that I should find the fact somewhere
> on the client.
>
> --
> 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]<puppet-users%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/puppet-users?hl=en.
>
>

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

Reply via email to