diff options
author | varac <varacanero@zeromail.org> | 2015-10-07 10:57:24 +0200 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2015-10-07 10:57:24 +0200 |
commit | 2b0386bee6525dda705152031d7125bc30b65269 (patch) | |
tree | 70929c657dd832a78825b138012dc0cb9c7af9f3 /puppet/modules/site_webapp | |
parent | 38f3de0b04c6acabefa801ca368186f35c7a9deb (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.pp | 4 |
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; |