summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp12
1 files changed, 3 insertions, 9 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 1704390..efd6760 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -29,15 +29,9 @@ class nginx {
notify => Service["nginx"],
}
- # config folder
- file { "/etc/nginx/sites-available":
- ensure => directory,
- owner => "root",
- group => "root",
- }
-
- # config folder
- file { "/etc/nginx/sites-enabled":
+ # config folders
+ # see http://projects.reductivelabs.com/issues/86
+ file { [ "/etc/nginx", "/etc/nginx/sites-available", "/etc/nginx/sites-enabled" ]:
ensure => directory,
owner => "root",
group => "root",