aboutsummaryrefslogtreecommitdiff
path: root/modules/etckeeper/manifests/run.pp
blob: 8ff4bbf1f3397b18101d2917466338ef2ce19a2d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
define etckeeper::run (
  $refreshonly = true,
  $reason = 'puppet run'
) {

  exec { "etckeeper::run::${name}":
    refreshonly => $refreshonly,
    command     => "/usr/bin/etckeeper commit '${reason}' || true",
  }
}