summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2015-02-06 19:37:34 -0200
committerSilvio Rhatto <rhatto@riseup.net>2015-02-06 19:37:34 -0200
commit72dfbbe95fccfa438c1093afcc282699eb93a530 (patch)
treebd2f7e20e6d1e169fe8723796e4c908b3c4c3573
parentb05c816daa8a74f9c9871826bf3b5ddf5e0cbcd4 (diff)
downloadpuppet-hydra-72dfbbe95fccfa438c1093afcc282699eb93a530.tar.gz
puppet-hydra-72dfbbe95fccfa438c1093afcc282699eb93a530.tar.bz2
Make sure we're in a cleanup stateHEADmaster
-rw-r--r--manifests/init.pp5
1 files changed, 5 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index f42b2d6..c8d3a68 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -16,4 +16,9 @@ class hydra(
target => "$folder/hydra",
require => Vcsrepo["$hydra_dir"],
}
+
+ # Make sure we're in a cleanup state
+ file { '/tmp/system-upgrade', '/tmp/system-upgrade-env':
+ ensure => absent,
+ }
}