On Oct 11, 2011, at 10:30 AM, Deven Phillips wrote:

> Hello all,
> 
>     I have been searching through the list archives, but I have yet to find 
> an answer to my question. The problem I am having is this:
> 
> 1. I have been using puppet without environments for some time now and it 
> works properly
> 2. I am trying to reconfigure to use environments, and I am getting errors 
> with plugins not getting sync'd.
> 
> To:
> 
> [main]
>       logdir=/var/log/puppet
>       vardir=/var/lib/puppet
>       ssldir=/etc/puppet/ssl
>       rundir=/var/run/puppet
>       factpath=$vardir/lib/facter
>       templatedir=$confdir/prod/templates
>       prerun_command=/etc/puppet/etckeeper-commit-pre
>       postrun_command=/etc/puppet/etckeeper-commit-post
>       server = lou1
>       certname = lou1
> 
> [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
>       modulepath=/etc/puppet/prod/modules
>       storeconfigs=true
>       dbadapter=postgresql
>       dbuser=foreman
>       dbpassword=foreman
>       dbserver=localhost
>       dbname=foreman
>       reports=log, foreman
>       certname=lou1
>       server=lou1
> 
> [production]
>       manifest = $confdir/prod/manifests/site.pp
>       manifestdir = $confdir/prod/manifests
>       modulepath = $confdir/prod/modules
>       templatedir = $confidr/prod/templates
> [staging]
>       manifest = $confdir/staging/manifests/site.pp
>       manifestdir = $confdir/staging/manifests
>       modulepath = $confdir/staging/modules
>       templatedir = $confidr/staging/templates
> [dev]
>       manifest = $confdir/dev/manifests/site.pp
>       manifestdir = $confdir/dev/manifests
>       modulepath = $confdir/dev/modules
>       templatedir = $confidr/dev/templates
> 
> Puppet Master is running 2.7.3 and the agents are a mix of 2.6.x versions. 
----
I myself am suspicious of the $confdir variable since I never see it explicitly 
defined anywhere. You might want to explicitly define it but I don't think you 
want a modulepath defined in both [master] and in [production] but you might 
want a default environment defined in [master]

Craig

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