
This patch fixes all remaining parameter documentation in the nova module to be compatible with puppet-doc and documents all parameters in a standard way. Change-Id: I451078d46cb2498dd8e3c23bd8cbcc81b8845fcd
41 lines
1.2 KiB
Puppet
41 lines
1.2 KiB
Puppet
# == Class: nova::compute::xenserver
|
|
#
|
|
# Configures nova-compute to manage xen guests
|
|
#
|
|
# === Parameters:
|
|
#
|
|
# [*xenapi_connection_url*]
|
|
# (required) URL for connection to XenServer/Xen Cloud Platform.
|
|
#
|
|
# [*xenapi_connection_username*]
|
|
# (required) Username for connection to XenServer/Xen Cloud Platform
|
|
#
|
|
# [*xenapi_connection_password*]
|
|
# (required) Password for connection to XenServer/Xen Cloud Platform
|
|
#
|
|
# [*xenapi_inject_image*]
|
|
# (optional) This parameter was removed in Diablo and does nothing.
|
|
# Defaults to false
|
|
#
|
|
class nova::compute::xenserver(
|
|
$xenapi_connection_url,
|
|
$xenapi_connection_username,
|
|
$xenapi_connection_password,
|
|
$xenapi_inject_image=false
|
|
) {
|
|
|
|
nova_config {
|
|
'DEFAULT/compute_driver': value => 'xenapi.XenAPIDriver';
|
|
'DEFAULT/connection_type': value => 'xenapi';
|
|
'DEFAULT/xenapi_connection_url': value => $xenapi_connection_url;
|
|
'DEFAULT/xenapi_connection_username': value => $xenapi_connection_username;
|
|
'DEFAULT/xenapi_connection_password': value => $xenapi_connection_password;
|
|
'DEFAULT/xenapi_inject_image': value => $xenapi_inject_image;
|
|
}
|
|
|
|
package { 'xenapi':
|
|
ensure => present,
|
|
provider => pip
|
|
}
|
|
}
|