refactor of xenserver.
- removed config that was moved to nova - removed nova::compute
This commit is contained in:
parent
ebfbc1fd0f
commit
46afdb2021
|
@ -1,26 +1,18 @@
|
||||||
class nova::compute::xenserver(
|
class nova::compute::xenserver(
|
||||||
# TODO - what does this host do?
|
|
||||||
$host,
|
|
||||||
$api_server,
|
|
||||||
$xenapi_connection_url,
|
$xenapi_connection_url,
|
||||||
$xenapi_connection_username,
|
$xenapi_connection_username,
|
||||||
$xenapi_connection_password,
|
$xenapi_connection_password,
|
||||||
$xenapi_inject_image=false
|
$xenapi_inject_image=false
|
||||||
) {
|
) {
|
||||||
|
|
||||||
class { 'nova::compute':
|
|
||||||
api_server => $api_server,
|
|
||||||
enabled => $enabled,
|
|
||||||
}
|
|
||||||
nova_config {
|
nova_config {
|
||||||
'connection_type': value => 'xenapi';
|
'connection_type': value => 'xenapi';
|
||||||
'xenapi_connection_url': value => $xenapi_connection_url;
|
'xenapi_connection_url': value => $xenapi_connection_url;
|
||||||
'xenapi_connection_username': value => $xenapi_connection_username;
|
'xenapi_connection_username': value => $xenapi_connection_username;
|
||||||
'xenapi_connection_password': value => $xenapi_connection_password;
|
'xenapi_connection_password': value => $xenapi_connection_password;
|
||||||
'xenapi_inject_image': value => $xenapi_inject_image;
|
'xenapi_inject_image': value => $xenapi_inject_image;
|
||||||
'network_manager': value => $network_manager;
|
|
||||||
'flat_network_bridge': value => $flat_network_bridge;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
package { 'xenapi':
|
package { 'xenapi':
|
||||||
ensure => installed,
|
ensure => installed,
|
||||||
provider => pip
|
provider => pip
|
||||||
|
|
Loading…
Reference in New Issue