summaryrefslogtreecommitdiff
path: root/manifests/init.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/init.pp')
-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"],
+ }
}
}