Index: modules/nginx/manifests/init.pp |
diff --git a/modules/nginx/manifests/init.pp b/modules/nginx/manifests/init.pp |
index 45fe3d23b54060aa5d5178a45fee4db316aba2ac..5e3c97c7862417217b5d45876bcbc97211f70376 100644 |
--- a/modules/nginx/manifests/init.pp |
+++ b/modules/nginx/manifests/init.pp |
@@ -60,6 +60,12 @@ class nginx ( |
require => Package['nginx'] |
} |
+ file {'/var/cache/nginx': |
+ before => Service['nginx'], |
+ ensure => directory, |
+ require => Package['nginx'], |
+ } |
+ |
define hostconfig ( |
$domain = $title, |
$alt_names = [], |