summaryrefslogtreecommitdiff
path: root/manifests/init.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/init.pp')
-rw-r--r--manifests/init.pp6
1 files changed, 6 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 68b578b..11c1166 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -125,5 +125,11 @@ class nginx::puppetmaster inherits nginx::base {
require => File["/etc/nginx/sites-available"],
}
+ # Symlink to enable proxy configuration
+ file { "/etc/nginx/sites-enabled/$name":
+ ensure => "/etc/nginx/sites-available/$name",
+ require => File["/etc/nginx/sites-enabled"],
+ notify => Service["nginx"],
+ }
}
}