diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2010-02-17 19:30:17 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2010-02-17 19:30:17 -0200 |
commit | 16e684ac77c95789a9903cdbeb5baf5b95cfe07c (patch) | |
tree | a67d6f0ee802fba0eaa727e44dd36798bde97e47 /manifests/init.pp | |
parent | 24dac3e185d66299519f80f990436028c3a6cf15 (diff) | |
download | puppet-nginx-16e684ac77c95789a9903cdbeb5baf5b95cfe07c.tar.gz puppet-nginx-16e684ac77c95789a9903cdbeb5baf5b95cfe07c.tar.bz2 |
Split proxy config
Diffstat (limited to 'manifests/init.pp')
-rw-r--r-- | manifests/init.pp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index 11c1166..7d28fa1 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -115,6 +115,15 @@ class nginx::puppetmaster inherits nginx::base { $ssl_port = 8140, $non_ssl_port = 8141, $puppetmaster_servers = [ "127.0.0.1:18140" ]) { + file { "/etc/nginx/conf.d/puppetmaster.conf": + content => template("nginx/puppetmaster.conf.erb"), + owner => "root", + group => "root", + mode => 0644, + ensure => present, + notify => Service["nginx"], + } + file { "/etc/nginx/sites-available/$name": content => template("nginx/puppetmaster.erb"), owner => "root", |