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