Hi all.
I am using the puppetrun to apply a manifest with each puppetd host.
Puppetrun exits before completion of applying a manifest as usual.
But sometimes it will not exit and stay foreground.
Do you have any idea that puppetrun will exit normally.
[Environment]
Puppetmasterd
-version : 0.25.4
-OS : Solaris10 10/09
Puppetd
-version : same as Puppetmasterd
-OS : same as Puppetmasterd
[Problem details]
1.I execute the puppetrun like this.
puppetrun --host cdg26097 --tag base
2.Applying a manifest is completed.
Mar 30 15:50:43 cdg26097 puppetd[675]: [ID 702911 daemon.notice]
triggered run
Mar 30 15:50:57 cdg26097 puppetd[675]: [ID 702911 daemon.warning]
Value of 'preferred_serialization_format' (pson) is invalid for
report, using default (b64_zlib_yaml)
Mar 30 15:50:57 cdg26097 puppetd[675]: [ID 702911 daemon.notice]
Finished catalog run in 7.34 seconds
2.But puppetrun won't exit.
Triggering cdg26097
^C/opt/puppet/lib/ruby/gems/1.8/gems/puppet-0.25.4/lib/puppet/
application/puppetrun.rb:202: undefined local variable or method
`waitall' for #<Puppet::Application:0x88891d8> (NameError)
from /opt/puppet/lib/ruby/gems/1.8/gems/puppet-0.25.4/lib/
puppet/application/puppetrun.rb:76:in `call'
from /opt/puppet/lib/ruby/gems/1.8/gems/puppet-0.25.4/lib/
puppet/application/puppetrun.rb:76:in `wait'
from /opt/puppet/lib/ruby/gems/1.8/gems/puppet-0.25.4/lib/
puppet/application/puppetrun.rb:76:in `main'
from /opt/puppet/lib/ruby/gems/1.8/gems/puppet-0.25.4/lib/
puppet/application.rb:226:in `send'
from /opt/puppet/lib/ruby/gems/1.8/gems/puppet-0.25.4/lib/
puppet/application.rb:226:in `run_command'
from /opt/puppet/lib/ruby/gems/1.8/gems/puppet-0.25.4/lib/
puppet/application.rb:217:in `run'
from /opt/puppet/lib/ruby/gems/1.8/gems/puppet-0.25.4/lib/
puppet/application.rb:306:in `exit_on_fail'
from /opt/puppet/lib/ruby/gems/1.8/gems/puppet-0.25.4/lib/
puppet/application.rb:217:in `run'
from /opt/puppet/lib/ruby/gems/1.8/gems/puppet-0.25.4/bin/
puppetrun:129
from /opt/puppet/bin/puppetrun:19:in `load'
from /opt/puppet/bin/puppetrun:19
This occurs with about 10% probability in every execution of
puppetrun.
Nobuchika Tanaka.
--
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.