diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2010-02-17 19:13:19 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2010-02-17 19:13:19 -0200 |
commit | 24dac3e185d66299519f80f990436028c3a6cf15 (patch) | |
tree | b13207a0d72a85e7d6525eb629972127929cb299 /manifests | |
parent | 8839736b5c8bf43776c4f9d57792440cc8fc0086 (diff) | |
download | puppet-nginx-24dac3e185d66299519f80f990436028c3a6cf15.tar.gz puppet-nginx-24dac3e185d66299519f80f990436028c3a6cf15.tar.bz2 |
Enabling proxy configuration no nginx::puppetmaster
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/init.pp | 6 |
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"], + } } } |