-define etckeeper::run ($stages = [Stage['main']], $refreshonly = true, $reason = 'puppet run') {
+define etckeeper::run (
+ $refreshonly = true,
+ $reason = 'puppet run'
+) {
+
exec { "etckeeper::run::${name}":
refreshonly => $refreshonly,
command => "/usr/bin/etckeeper commit '${reason}' || true",
- subscribe => $stages
}
}