fix: simpleproxy create cachedirs
- ensure the '/var/cache/nginx' directory exists
This commit is contained in:
parent
0c1fd63b7d
commit
e8c8f5c1d6
@ -99,6 +99,8 @@ class profiles::nginx::simpleproxy (
|
||||
# merge the hashes conditionally
|
||||
$nginx_parameters = merge($defaults, $extras_hash)
|
||||
|
||||
mkdir::p {'/var/cache/nginx':}
|
||||
|
||||
# manage the nginx class
|
||||
class { 'nginx':
|
||||
proxy_cache_path => {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user