diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-01-19 18:01:30 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-01-19 18:01:30 -0200 |
commit | cf7e736fd5be96c75e59182544ec9b12c361a6fa (patch) | |
tree | 93d115a29448da3fa2856a45a201cfc2334e5619 | |
parent | fdd0653fab6c8a459a0fd9d058f15cc0ebb4a05b (diff) | |
download | puppet-nginx-cf7e736fd5be96c75e59182544ec9b12c361a6fa.tar.gz puppet-nginx-cf7e736fd5be96c75e59182544ec9b12c361a6fa.tar.bz2 |
Enhancing nginx::puppetmaster::disabled
-rw-r--r-- | manifests/puppetmaster.pp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/manifests/puppetmaster.pp b/manifests/puppetmaster.pp index eed6318..b55bfbb 100644 --- a/manifests/puppetmaster.pp +++ b/manifests/puppetmaster.pp @@ -44,11 +44,21 @@ class nginx::puppetmaster inherits nginx::base { } class nginx::puppetmaster::disabled inherits nginx::puppetmaster { + File["/etc/nginx/nginx.conf", "/etc/nginx/conf.d/puppetmaster.conf", + "/etc/nginx", "/etc/nginx/sites-available", "/etc/nginx/sites-enabled"] { + ensure => absent, + } + Service['nginx'] { + enable => false, ensure => stopped, } Nginx::Base::Site['puppetmaster'] { ensure => absent, } + + Package['nginx'] { + ensure => absent, + } } |