Add import everywhere (should break all)
Signed-off-by: Emilien Macchi <emilien.macchi@enovance.com>
This commit is contained in:
parent
824310b37b
commit
36598310d4
@ -23,6 +23,8 @@ class privatecloud::compute::controller(
|
||||
$local_ip = $ipaddress_eth0,
|
||||
){
|
||||
|
||||
include 'privatecloud::compute'
|
||||
|
||||
class { [
|
||||
'nova::scheduler',
|
||||
'nova::cert',
|
||||
|
@ -21,6 +21,8 @@ class privatecloud::compute::hypervisor(
|
||||
$libvirt_type = 'kvm',
|
||||
) {
|
||||
|
||||
include 'privatecloud::compute'
|
||||
|
||||
exec { 'insert_module_nbd':
|
||||
command => '/bin/echo "nbd" > /etc/modules',
|
||||
unless => '/bin/grep "nbd" /etc/modules',
|
||||
|
@ -22,6 +22,8 @@ class privatecloud::network::compute(
|
||||
$neutron_password = $os_params::ks_neutron_password,
|
||||
) {
|
||||
|
||||
include 'privatecloud::network'
|
||||
|
||||
class { 'nova::network::neutron':
|
||||
neutron_admin_password => $neutron_password,
|
||||
neutron_admin_auth_url => "${neutron_protocol}://${neutron_endpoint}:35357/v2.0",
|
||||
|
@ -26,6 +26,8 @@ class privatecloud::network::controller(
|
||||
$local_ip = $ipaddress_eth0,
|
||||
) {
|
||||
|
||||
include 'privatecloud::network'
|
||||
|
||||
$encoded_user = uriescape($neutron_db_user)
|
||||
$encoded_password = uriescape($neutron_db_password)
|
||||
|
||||
|
@ -20,6 +20,8 @@ class privatecloud::network::dhcp(
|
||||
$debug = $os_params::debug
|
||||
) {
|
||||
|
||||
include 'privatecloud::network'
|
||||
|
||||
class { 'neutron::agents::dhcp':
|
||||
debug => $debug
|
||||
}
|
||||
|
@ -21,6 +21,8 @@ class privatecloud::network::l3(
|
||||
$debug = $os_params::debug,
|
||||
) {
|
||||
|
||||
include 'privatecloud::network'
|
||||
|
||||
class { 'neutron::agents::l3':
|
||||
debug => $debug,
|
||||
handle_internal_only_routers => false,
|
||||
|
@ -20,6 +20,8 @@ class privatecloud::network::lbaas(
|
||||
$debug = $os_params::debug
|
||||
) {
|
||||
|
||||
include 'privatecloud::network'
|
||||
|
||||
class { 'neutron::agents::lbaas':
|
||||
debug => $debug,
|
||||
}
|
||||
|
@ -28,6 +28,8 @@ class privatecloud::network::metadata(
|
||||
$ks_keystone_admin_host = $os_params::ks_keystone_admin_host
|
||||
) {
|
||||
|
||||
include 'privatecloud::network'
|
||||
|
||||
class { 'neutron::agents::metadata':
|
||||
enabled => $enabled,
|
||||
shared_secret => $neutron_metadata_proxy_shared_secret,
|
||||
|
@ -20,6 +20,8 @@ class privatecloud::network::vpn(
|
||||
$debug = $os_params::debug
|
||||
) {
|
||||
|
||||
include 'privatecloud::network'
|
||||
|
||||
class { 'neutron::agents::vpnaas': }
|
||||
|
||||
}
|
||||
|
@ -36,6 +36,8 @@ class privatecloud::object::storage (
|
||||
$onloopdevices = false,
|
||||
) {
|
||||
|
||||
include 'privatecloud::object'
|
||||
|
||||
class { 'swift::storage':
|
||||
storage_local_net_ip => $local_ip,
|
||||
}
|
||||
|
@ -23,6 +23,8 @@ class privatecloud::orchestration::api(
|
||||
$local_ip = $ipaddress_eth0,
|
||||
) {
|
||||
|
||||
include 'privatecloud::orchestration'
|
||||
|
||||
class { 'heat::api': }
|
||||
|
||||
class { 'heat::api_cfn': }
|
||||
|
@ -24,6 +24,8 @@ class privatecloud::orchestration::engine(
|
||||
$ks_heat_password = $os_params::ks_heat_password,
|
||||
) {
|
||||
|
||||
include 'privatecloud::orchestration'
|
||||
|
||||
class { 'heat::engine':
|
||||
enabled => $enabled,
|
||||
heat_metadata_server_url => "${ks_heat_public_proto}://${ks_heat_public_host}:8000",
|
||||
|
@ -20,9 +20,12 @@ class privatecloud::rbd::monitor (
|
||||
$id
|
||||
) {
|
||||
|
||||
include 'privatecloud::rbd'
|
||||
|
||||
ceph::mon { $id:
|
||||
monitor_secret => $os_params::ceph_mon_secret,
|
||||
mon_port => 6789,
|
||||
mon_addr => $ipaddress_eth2,
|
||||
mon_addr => $ipaddress_eth0,
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -21,6 +21,8 @@ class privatecloud::rbd::osd (
|
||||
$devices
|
||||
) {
|
||||
|
||||
include 'privatecloud::rbd'
|
||||
|
||||
class { 'ceph::osd' :
|
||||
public_address => $public_address,
|
||||
cluster_address => $cluster_address,
|
||||
|
@ -21,6 +21,8 @@ class privatecloud::telemetry::centralagent(
|
||||
$enabled = true,
|
||||
){
|
||||
|
||||
include 'privatecloud::telemetry'
|
||||
|
||||
class { 'ceilometer::agent::central':
|
||||
enabled => $enabled,
|
||||
}
|
||||
|
@ -25,6 +25,8 @@ class privatecloud::telemetry::server(
|
||||
$local_ip = $ipaddress_eth0,
|
||||
){
|
||||
|
||||
include 'privatecloud::telemetry'
|
||||
|
||||
# Install MongoDB database
|
||||
class { 'ceilometer::db':
|
||||
database_connection => $ceilometer_database_connection,
|
||||
|
@ -26,6 +26,8 @@ class privatecloud::volume::controller(
|
||||
$local_ip = $ipaddress_eth0,
|
||||
) {
|
||||
|
||||
include 'privatecloud::volume'
|
||||
|
||||
class { 'cinder::scheduler': }
|
||||
|
||||
class { 'cinder::api':
|
||||
|
@ -18,6 +18,8 @@
|
||||
|
||||
class privatecloud::volume::storage {
|
||||
|
||||
include 'privatecloud::volume'
|
||||
|
||||
class { 'cinder::volume::rbd':
|
||||
rbd_pool => $os_params::cinder_rbd_pool,
|
||||
glance_api_version => $os_params::glance_api_version,
|
||||
|
Loading…
x
Reference in New Issue
Block a user