diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2017-08-14 19:02:29 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2017-08-24 00:33:58 +0200 |
commit | ba2cf1b5d938810077b0fd73844faf432e8e8f9d (patch) | |
tree | 40884fcc70af8eb349979b2ff62e3e4435bae5a5 /modules/etckeeper | |
parent | eb9fec57fcfcc84f0e310e343167a10fb13ca0c8 (diff) | |
download | Puppet-ba2cf1b5d938810077b0fd73844faf432e8e8f9d.tar.gz Puppet-ba2cf1b5d938810077b0fd73844faf432e8e8f9d.tar.zst Puppet-ba2cf1b5d938810077b0fd73844faf432e8e8f9d.zip |
Install OVH vps from scratch
Diffstat (limited to 'modules/etckeeper')
-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 | } |