summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-02-17 20:00:24 -0200
committerSilvio Rhatto <rhatto@riseup.net>2010-02-17 20:00:24 -0200
commit27221720f2fdaaad79c06ea41a9d31276f4bfc5a (patch)
treeec07f90731ca308c32a2e1682f75a731530cc557 /manifests
parentbb81a0b6bfd9fe42d99bcf90e83e7c888c31bac3 (diff)
downloadpuppet-nginx-27221720f2fdaaad79c06ea41a9d31276f4bfc5a.tar.gz
puppet-nginx-27221720f2fdaaad79c06ea41a9d31276f4bfc5a.tar.bz2
Adding nginx.conf for puppetmaster proxy
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp9
1 files changed, 9 insertions, 0 deletions
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"],
+ }
}
}