FAQ
Hey,

I would like to figure out if the latest puppet client run changed the
state of the server, in a programatic way. Essentially, I would like
to achieve what --detailed-exitcodes provides in later versions of
puppet. I am running in master/slave mode. Any suggestions? I have
considered using /var/lib/puppet/state/state.yaml, and checking if
anything more than 'checked' happened. Would that be the right way to
go?

Thanks,
--Eytan

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

Search Discussions

  • Brian Gupta at May 18, 2012 at 5:09 pm

    On Fri, May 18, 2012 at 12:44 PM, Eytan Daniyalzade wrote:
    Hey,

    I would like to figure out if the latest puppet client run changed the
    state of the server, in a programatic way. Essentially, I would like
    to achieve what --detailed-exitcodes provides in later versions of
    puppet. I am running in master/slave mode. Any suggestions? I have
    considered using /var/lib/puppet/state/state.yaml, and checking if
    anything more than 'checked' happened. Would that be the right way to
    go?

    Thanks,
    --Eytan
    We aren't using 0.25.x but we do use puppet reports to track puppetrun
    status. We feed them into foreman, which should still support the
    older puppet report format (pre-2.6.5), but you might also be able to
    use puppet-dashboard. (Looks like it does support the older report
    format: http://downloads.puppetlabs.com/docs/dashboardmanual.pdf.)
    (The last_run_report should be in the same directory as state.yaml,
    but you have to enable reports in your puppet.conf).

    As an aside, the upgrade from 0.25.x to 2.6.x was relatively painless.

    Perhaps someone else can address your question more directly?

    -Brian

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

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppuppet-users @
categoriespuppet
postedMay 18, '12 at 4:45p
activeMay 18, '12 at 5:09p
posts2
users2
websitepuppetlabs.com

2 users in discussion

Brian Gupta: 1 post Eytan Daniyalzade: 1 post

People

Translate

site design / logo © 2022 Grokbase