diff options
author | Luke Kanies <luke@reductivelabs.com> | 2010-01-18 17:26:06 -0800 |
---|---|---|
committer | Luke Kanies <luke@reductivelabs.com> | 2010-01-18 17:26:06 -0800 |
commit | cdcbdc78bc399a60afaf36b6267688e72081fb6e (patch) | |
tree | 1a2e3bf8bbe06631acdcf7d0f6acc0021dfaa048 /spec/unit/util/autoload.rb | |
parent | 67216aa5637a0e134750103abb74b5c2e3db3eb6 (diff) | |
download | puppet-cdcbdc78bc399a60afaf36b6267688e72081fb6e.tar.gz puppet-cdcbdc78bc399a60afaf36b6267688e72081fb6e.tar.xz puppet-cdcbdc78bc399a60afaf36b6267688e72081fb6e.zip |
Fixing #2914 - pre/post hooks now work for transactions
This was built to be used with etckeeper to version control
files in /etc, but can be used for essentially anything.
This patch was built to be added to 0.25.4, so it's a least-modify
approach. A better approach would be to refactor application/puppet.rb
just a bit so it uses Configurer more.
This is a simple patch - it just defines 'prerun_command' and 'postrun_command'
settings, and runs the appropriate command around each transaction
if they're set.
Signed-off-by: Luke Kanies <luke@reductivelabs.com>
Diffstat (limited to 'spec/unit/util/autoload.rb')
0 files changed, 0 insertions, 0 deletions