Merge pull request #516 from 3flex/pass-parameters-to-service-class

init: pass parameters when declaring nginx::service
This commit is contained in:
Matthew Haughton 2014-12-08 14:31:54 -05:00
commit faa6131bab

View file

@ -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)