diff options
Diffstat (limited to 'modules/etckeeper/manifests')
-rw-r--r-- | modules/etckeeper/manifests/run.pp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/modules/etckeeper/manifests/run.pp b/modules/etckeeper/manifests/run.pp index ddbb4e1..8ff4bbf 100644 --- a/modules/etckeeper/manifests/run.pp +++ b/modules/etckeeper/manifests/run.pp | |||
@@ -1,7 +1,10 @@ | |||
1 | define etckeeper::run ($stages = [Stage['main']], $refreshonly = true, $reason = 'puppet run') { | 1 | define etckeeper::run ( |
2 | $refreshonly = true, | ||
3 | $reason = 'puppet run' | ||
4 | ) { | ||
5 | |||
2 | exec { "etckeeper::run::${name}": | 6 | exec { "etckeeper::run::${name}": |
3 | refreshonly => $refreshonly, | 7 | refreshonly => $refreshonly, |
4 | command => "/usr/bin/etckeeper commit '${reason}' || true", | 8 | command => "/usr/bin/etckeeper commit '${reason}' || true", |
5 | subscribe => $stages | ||
6 | } | 9 | } |
7 | } | 10 | } |