diff options
Diffstat (limited to 'manifests/puppetmaster.pp')
-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, + } } |