From 27221720f2fdaaad79c06ea41a9d31276f4bfc5a Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Wed, 17 Feb 2010 20:00:24 -0200 Subject: Adding nginx.conf for puppetmaster proxy --- manifests/init.pp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'manifests') diff --git a/manifests/init.pp b/manifests/init.pp index 894cb5e..893fdff 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -144,5 +144,14 @@ class nginx::puppetmaster inherits nginx::base { source => 'template', require => File['/etc/nginx/conf.d/puppetmaster.conf'], } + + file { "/etc/nginx/nginx.conf": + content => template("nginx/nginx.conf.erb"), + owner => "root", + group => "root", + mode => 0644, + ensure => present, + notify => Service["nginx"], + } } } -- cgit v1.2.3