]> git.immae.eu Git - perso/Immae/Projets/Puppet.git/blob - modules/etckeeper/manifests/run.pp
Merge branch 'dev'
[perso/Immae/Projets/Puppet.git] / modules / etckeeper / manifests / run.pp
1 define etckeeper::run (
2 $refreshonly = true,
3 $reason = 'puppet run'
4 ) {
5
6 exec { "etckeeper::run::${name}":
7 refreshonly => $refreshonly,
8 command => "/usr/bin/etckeeper commit '${reason}' || true",
9 }
10 }