summaryrefslogtreecommitdiff
path: root/puppet/modules/site_webapp
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2015-10-07 10:57:24 +0200
committervarac <varacanero@zeromail.org>2015-10-07 10:57:24 +0200
commit2b0386bee6525dda705152031d7125bc30b65269 (patch)
tree70929c657dd832a78825b138012dc0cb9c7af9f3 /puppet/modules/site_webapp
parent38f3de0b04c6acabefa801ca368186f35c7a9deb (diff)
[bug] Fix removal of webapp apache config file
Done by including a service-dependend site_config::remove::webapp class.
Diffstat (limited to 'puppet/modules/site_webapp')
-rw-r--r--puppet/modules/site_webapp/manifests/init.pp4
1 files changed, 4 insertions, 0 deletions
diff --git a/puppet/modules/site_webapp/manifests/init.pp b/puppet/modules/site_webapp/manifests/init.pp
index ec94c090..d046b7df 100644
--- a/puppet/modules/site_webapp/manifests/init.pp
+++ b/puppet/modules/site_webapp/manifests/init.pp
@@ -1,3 +1,4 @@
+# configure webapp service
class site_webapp {
tag 'leap_service'
$definition_files = hiera('definition_files')
@@ -26,6 +27,9 @@ class site_webapp {
include site_config::x509::client_ca::ca
include site_config::x509::client_ca::key
+ # remove leftovers from previous installations on webapp nodes
+ include site_config::remove::webapp
+
group { 'leap-webapp':
ensure => present,
allowdupe => false;