Is there a provision of on failure ability in puppet?

0 votes
Aug 6, 2019 in Puppet by Jhon
42 views

1 answer to this question.

0 votes

Not a built-in one, no. 

They do log failures, of course. Or I guess the PE version might have something like that , may be.

When run in --onetime mode, the agent's exit code conveys its success or failure, but you'd still have to analyze the log / console output to ascertain the nature of any failure. 

To use this for scheduled runs you would want to use an external scheduler such as cron to run the agent, rather than letting it run as a daemon itself.

answered Aug 6, 2019 by Sirajul
• 50,440 points

Related Questions In Puppet

0 votes
1 answer

Is it possible to install puppet agent in a docker container on linux?

Hey @Janice, this is pretty simple. Create ...READ MORE

answered Mar 12, 2019 in Puppet by Jason
295 views
0 votes
1 answer

What is the use of etckeeper-commit-post and etckeeper-commit-pre on Puppet Agent?

Hey @Pallavi,  etckeeper-commit-post: In this configuration file you can ...READ MORE

answered Feb 15, 2019 in Puppet by Simran
177 views
0 votes
1 answer

Puppet: How can i check for syntax errors on my puppet code? Is there any tool to do this?

At the lowest level of checking, you ...READ MORE

answered Aug 7, 2019 in Puppet by Sirajul
• 50,440 points
768 views
+13 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 26, 2018 in DevOps & Agile by DragonLord999
• 8,400 points
421 views
0 votes
1 answer
0 votes
1 answer

Puppet+Kubernetes: Is there a way to create resources in Kubernetes using Puppet?

Yes, it is quite possible to create ...READ MORE

answered Aug 23, 2019 in Puppet by Sirajul
• 50,440 points
72 views
0 votes
1 answer

what is the role of Facter in puppet?

Facter is a library that reports and ...READ MORE

answered Jul 25, 2019 in Puppet by Sirajul
• 50,440 points
171 views