search for: postrun

Displaying 2 results from an estimated 2 matches for "postrun".

Did you mean: post_run
2011 Jun 09
6
Prerun, Postrun Commands, and Stages
...;'s general agreement that if the prerun command fails, then the catalog should not be applied, but the report should be sent, and the report''s status should be "failed". However, what about the post-run command? In particular, if the catalog is applied successfully, but the postrun command fails, should the overall run be considered a failure? The documentation[2] says it should be: "A command to run after every agent run. If this command returns a non-zero return code, the entire Puppet run will be considered to have failed, even though it might have performed work dur...
2013 Oct 07
6
Force Fact within manifest
I have a requirement where I want a Fact to be stored in PuppetDB during the manifest run and not during the initial fact gathering phase. I know I can, in my manifests, create a file in /etc/facter/facts.d or I can write a Ruby script that will then be distributed by plugin sync. But both of these methods will only publish the fact during the initial phase of the puppet agent run. What I