Merge pull request 'fix: create nginx cache dirs before nginx class' (#105) from neoloc/nzbget into develop

Reviewed-on: https://git.query.consul/unkinben/puppet-prod/pulls/105
This commit is contained in:
Ben Vincent 2024-07-09 23:30:33 +10:00
commit 1d49480010

View File

@ -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':