include nova::params in compute.pp

prevents occurance of the error
Must pass package_name to Nova::Generic_service[compute] at
/etc/puppet/modules/nova/manifests/generic_service.pp:13
This commit is contained in:
Derek Higgins 2012-08-03 00:30:01 +01:00
parent a8cdf9c0d3
commit 01ffe54f8d
1 changed files with 2 additions and 0 deletions

View File

@ -11,6 +11,8 @@ class nova::compute(
$vncproxy_path = '/vnc_auto.html'
) {
include nova::params
if ($vnc_enabled) {
if !($vncproxy_host) {
warning("VNC is enabled and \$vncproxy_host must be specified nova::compute assumes that it can collect the exported resource: Nova_config[novncproxy_base_url]")