puppet-neutron/manifests/rootwrap.pp
Alex Schultz f92390204f Update resource references for dependencies
Newer versions of puppet are throwing catalog failures for resources
that are not being included in the testing. In this case, the references
should be updated to use our anchors from the neutron::deps class which
resolves the failures under the latest version of puppet.

Change-Id: I7ac3c90eb18118f90f0b92dabd3323a6575dac4c
Closes-Bug: #1702964
2017-07-07 15:53:46 -06:00

37 lines
1.1 KiB
Puppet

# == Class: neutron::rootwrap
#
# Manages the neutron rootwrap.conf file on systems
#
# === Parameters:
#
# [*xenapi_connection_url*]
# (optional) XenAPI connection URL. Only needed when target a XenServer/XCP
# compute host's dom0
# Defaults to $::os_service_default.
#
# [*xenapi_connection_username*]
# (optional) XenAPI username. Only needed when target a XenServer/XCP
# compute host's dom0
# Defaults to $::os_service_default.
#
# [*xenapi_connection_password*]
# (optional) XenAPI connection password. Only needed when target a XenServer/XCP
# compute host's dom0
# Defaults to $::os_service_default.
#
class neutron::rootwrap (
$xenapi_connection_url = $::os_service_default,
$xenapi_connection_username = $::os_service_default,
$xenapi_connection_password = $::os_service_default,
) {
include ::neutron::deps
neutron_rootwrap_config {
'xenapi/xenapi_connection_url': value => $xenapi_connection_url;
'xenapi/xenapi_connection_username': value => $xenapi_connection_username;
'xenapi/xenapi_connection_password': value => $xenapi_connection_password;
}
}