Hello,
I''ve been using puppet fairly successfully on a 10 server cluster, so I
thought I had a decent idea of what I was doing.
However, we''re starting a new project using a different virtualization
system ( XenServer ), and I can''t seem to get puppet to accept my
previous
conf file.
The error is a strange one to me:
[root@centos6-exp2 ~]# puppet agent --test
/usr/lib/ruby/site_ruby/1.8/puppet/util/settings/boolean_setting.rb:27:in
`munge'': Invalid value ''"true"'' for report
(ArgumentError)
which seems to be complaining about my: report = true line in the [agent]
block.
So I remove that line for debugging purposes ... but then when puppet agent
runs, it can''t find the puppet.conf puppetmaster.
Then I try running puppet with the puppetmaster specified from the command
line, and puppet agent seems to work.
I''ve checked that puppet versions, ruby versions, and OS versions (
CentOS
6 ) are same on the machines in the cluster and the new virtualized machine.
I''m attaching the full text of the error ( http://pastebin.com/5XVJR4HP
),
have the [os version, ruby version, puppet version, puppet --configprint
all] in a pastebin: http://pastebin.com/xYDvJK1t, and the puppet-conf file:
http://pastebin.com/6wr5RZM3 .
It must be something obvious, but I''m not seeing it ... line encodings?
cosmic rays?
Checked puppet tickets and did a bit of googling, but no luck except this
vaguely related pastebin from Jan ( http://pastebin.com/2hSw26Kv ).
If anyone can give me some pointers, I''d appreciate it.
Drew
-----------------------------
[root@puppet puppet]# /etc/init.d/puppetmaster start
Starting puppetmaster:
/usr/lib/ruby/site_ruby/1.8/puppet/util/settings/boolean_setting.rb:27:in
`munge'': Invalid value ''"yes"'' for listen
(ArgumentError)
from /usr/lib/ruby/site_ruby/1.8/puppet/util/settings.rb:490:in
`set_value''
from /usr/lib/ruby/site_ruby/1.8/puppet/util/settings.rb:324:in
`unsafe_parse''
from /usr/lib/ruby/site_ruby/1.8/puppet/util/settings.rb:323:in `each''
from /usr/lib/ruby/site_ruby/1.8/puppet/util/settings.rb:323:in
`unsafe_parse''
from /usr/lib/ruby/site_ruby/1.8/puppet/util/settings.rb:321:in `each''
from /usr/lib/ruby/site_ruby/1.8/puppet/util/settings.rb:321:in
`unsafe_parse''
from /usr/lib/ruby/site_ruby/1.8/puppet/util/settings.rb:299:in `parse''
from /usr/lib/ruby/1.8/sync.rb:229:in `synchronize''
from /usr/lib/ruby/site_ruby/1.8/puppet/util/settings.rb:298:in `parse''
from /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:303:in `run''
from /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:411:in
`exit_on_fail''
from /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:303:in `run''
from /usr/sbin/puppetmasterd:4
[FAILED]
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/puppet-users/-/eThfVRbuzhUJ.
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.