]> git.immae.eu Git - perso/Immae/Projets/Puppet.git/blame - modules/etckeeper/manifests/run.pp
Install OVH vps from scratch
[perso/Immae/Projets/Puppet.git] / modules / etckeeper / manifests / run.pp
CommitLineData
ba2cf1b5
IB
1define 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}