From fdd0653fab6c8a459a0fd9d058f15cc0ebb4a05b Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 18 Jan 2013 18:54:29 -0200 Subject: Adding nginx::puppetmaster::disabled --- manifests/puppetmaster.pp | 10 ++++++++++ 1 file changed, 10 insertions(+) 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, + } +} -- cgit v1.2.3