Hi all,
I have installed and configure puppet client in new virtual machine, but I
have this error when running
*puppetd --test (even if I run /etc/init.d/puppet restart)
/usr/lib/ruby/1.8/puppet/defaults.rb:136:in `handle'': Invalid
environment
test (ArgumentError)
from /usr/lib/ruby/1.8/puppet/util/settings.rb:299:in `parse''
from /usr/lib/ruby/1.8/puppet/util/settings.rb:861:in
`each_source''
from /usr/lib/ruby/1.8/puppet/util/settings.rb:858:in `each''
from /usr/lib/ruby/1.8/puppet/util/settings.rb:858:in
`each_source''
from /usr/lib/ruby/1.8/puppet/util/settings.rb:292:in `parse''
from /usr/lib/ruby/1.8/puppet/util/settings.rb:291:in `each''
from /usr/lib/ruby/1.8/puppet/util/settings.rb:291:in `parse''
from /usr/lib/ruby/1.8/puppet.rb:220:in `parse_config''
from /usr/sbin/puppetd:269
Here is the /etc/puppet/puppet.conf for the client
[main]
logdir=/var/log/puppet
vardir=/var/lib/puppet
ssldir=/var/lib/puppet/ssl
rundir=/var/run/puppet
factpath=$vardir/lib/facter
pluginsync=false
server=puppet-master.local;loc
environment=test
report = true
[puppetmasterd]
templatedir=/var/lib/puppet/templates
**Here is the /etc/puppet/puppet.conf for the master
[main]
logdir=/var/log/puppet
vardir=/var/lib/puppet
ssldir=/var/lib/puppet/ssl
rundir=/var/run/puppet
factpath=$vardir/lib/facter
pluginsync=false
environments=production,development,test
templatedir=$confdir/templates
prerun_command=/etc/puppet/etckeeper-commit-pre
postrun_command=/etc/puppet/etckeeper-commit-post
[production]
manifest = /etc/puppet/manifests/prod/site.pp
[development]
manifest = /etc/puppet/manifests/dev/site.pp
[test]
manifest = /etc/puppet/manifests/test/site.pp
**Does someone can help me for this,
Ghislain.
*
--
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+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.