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 was merged in pull request #105.
This commit is contained in:
2024-07-09 23:30:33 +10:00
+3 -1
View File
@@ -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':