From ba2cf1b5d938810077b0fd73844faf432e8e8f9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Mon, 14 Aug 2017 19:02:29 +0200 Subject: Install OVH vps from scratch --- modules/etckeeper/manifests/run.pp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'modules/etckeeper') diff --git a/modules/etckeeper/manifests/run.pp b/modules/etckeeper/manifests/run.pp index ddbb4e1..8ff4bbf 100644 --- a/modules/etckeeper/manifests/run.pp +++ b/modules/etckeeper/manifests/run.pp @@ -1,7 +1,10 @@ -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 } } -- cgit v1.2.3