diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-01-18 18:54:29 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-01-18 18:54:29 -0200 |
commit | fdd0653fab6c8a459a0fd9d058f15cc0ebb4a05b (patch) | |
tree | b168aec329e4a99b91c0c1094a02ec07aba16094 | |
parent | 532a4eee5fb4efe2bc09902a450ceeb53d908e31 (diff) | |
download | puppet-nginx-fdd0653fab6c8a459a0fd9d058f15cc0ebb4a05b.tar.gz puppet-nginx-fdd0653fab6c8a459a0fd9d058f15cc0ebb4a05b.tar.bz2 |
Adding 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 6bbe046..eed6318 100644 --- a/manifests/puppetmaster.pp +++ b/manifests/puppetmaster.pp @@ -42,3 +42,13 @@ class nginx::puppetmaster inherits nginx::base { content => template("nginx/nginx.conf.puppetmaster.erb"), } } + +class nginx::puppetmaster::disabled inherits nginx::puppetmaster { + Service['nginx'] { + ensure => stopped, + } + + Nginx::Base::Site['puppetmaster'] { + ensure => absent, + } +} |