diff options
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", |