On Thu, Feb 4, 2010 at 7:00 AM, Cosimo Streppone <cos...@streppone.it>wrote:

> Hi all,
>
> I setup a puppetmaster host and several clients.
> I don't want them to do "stuff" in the background,
> but just when I tell them to.
>
> So for this reason I'm running puppetd manually like this:
>
>  puppetd --server $SERVER --ignorecache --verbose --onetime --no-daemonize
>
> you can just use --test, this is an alias for --onetime, --verbose, and
--no-daemonize


> Question 1: when I run this remotely, is there a way to know if puppetd
> was successful or not without looking at syslog?
> It seems the exit status is always 0 no matter what.
>
>
use reports:

[puppetd]
  report=true
[puppetmasterd]
  report=store,tagmail

now you can check the reports created on the server to see what has
happened. You could also configure tagmail to send you an email if any
errors occur on any of the puppetd runs.


> Question 2: I also noticed that sometimes I have to run it twice to get
> all the changes through. That might be because of errors in the manifests,
> but I've seen that happen also when everything should be fine.
> Is there a reason for this?
>

this should never be required. Possibly you are not using the
require/before/notify/subscribe metaparameters to specify the correct
ordering?


>
> I'm running 0.24.5.
>
> this is a pretty old version, you should think about upgrading. 0.25.4 is
pretty stable.


> Thanks,
>
> --
> Cosimo
>
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To post to this group, send email to puppet-us...@googlegroups.com.
> To unsubscribe from this group, send email to
> puppet-users+unsubscr...@googlegroups.com<puppet-users%2bunsubscr...@googlegroups.com>
> .
> 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 puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to