summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/puppetmaster.pp10
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,
+ }
+}