search for: preaction

Displaying 1 result from an estimated 1 matches for "preaction".

Did you mean: reaction
2007 Aug 23
3
Using Puppet to swap eth0 and eth1
I''ve been using Puppet now for a month or so and I''ve come to a problem that may warrant an additional Puppet metaparameter. I''m advocating the addition of a metaparameter called "preaction" (or something like that), which will perform some arbitrary action before the resource is modified. There may be a way to do this within Puppet already (with some carefully crafted dependencies, auxiliary files, and an exec resource with an onlyif parameter). In the end, this feels like a c...