fix: create nginx cache dirs before nginx class
This commit is contained in:
parent
e8c8f5c1d6
commit
f63cf2f654
@ -99,7 +99,9 @@ class profiles::nginx::simpleproxy (
|
||||
# merge the hashes conditionally
|
||||
$nginx_parameters = merge($defaults, $extras_hash)
|
||||
|
||||
mkdir::p {'/var/cache/nginx':}
|
||||
mkdir::p {'/var/cache/nginx':
|
||||
before => Class['nginx'],
|
||||
}
|
||||
|
||||
# manage the nginx class
|
||||
class { 'nginx':
|
||||
|
||||
Loading…
Reference in New Issue
Block a user