Merge pull request #516 from 3flex/pass-parameters-to-service-class
init: pass parameters when declaring nginx::service
This commit is contained in:
commit
faa6131bab
1 changed files with 5 additions and 1 deletions
|
@ -285,7 +285,11 @@ class nginx (
|
|||
}
|
||||
}
|
||||
|
||||
class { '::nginx::service': }
|
||||
class { '::nginx::service':
|
||||
configtest_enable => $configtest_enable,
|
||||
service_ensure => $service_ensure,
|
||||
service_restart => $service_restart,
|
||||
}
|
||||
|
||||
create_resources('::nginx::resource::upstream', $nginx_upstreams)
|
||||
create_resources('::nginx::resource::vhost', $nginx_vhosts, $nginx_vhosts_defaults)
|
||||
|
|
Loading…
Reference in a new issue