ba2cf1b5 IB |
1 | define etckeeper::run ( |
2 | $refreshonly = true, |
3 | $reason = 'puppet run' |
4 | ) { |
5 | |
cbb2c25b IB |
6 | exec { "etckeeper::run::${name}": |
7 | refreshonly => $refreshonly, |
8 | command => "/usr/bin/etckeeper commit '${reason}' || true", |
cbb2c25b IB |
9 | } |
10 | } |