Skip to content

Commit

Permalink
Merge pull request #516 from 3flex/pass-parameters-to-service-class
Browse files Browse the repository at this point in the history
init: pass parameters when declaring nginx::service
  • Loading branch information
3flex committed Dec 8, 2014
2 parents ea94229 + 08c4a64 commit faa6131
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,11 @@
}
}

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)
Expand Down

0 comments on commit faa6131

Please sign in to comment.