How can i add rescue block
I want to add rescue / exception handling catch block , If something fails in my code deployment it will notify by running code inside rescue block.
Puppet doesn't have rescue / exception handling, because it's a declarative language intended for modelling the desired end state of systems, rather than a procedural language like Ruby, Python or Java. In Puppet you say "what" you want without saying "how" you want it to be achieved. You may need to share your code and explain in more detail what it is you're trying to do.
Asked: 2016-07-03 23:07:17 -0500
Seen: 38 times
Last updated: Jul 04 '16