Fix inputs in resources

This commit is contained in:
Dmitry Shulyak 2015-11-12 14:08:46 +02:00
parent 3306bf83ed
commit cf5b0edafa
129 changed files with 549 additions and 164 deletions

View File

@ -1,7 +1,10 @@
id: apache
handler: puppetv2
version: '8.0'
inputs:
actions:
run: actions/run.pp
update: actions/run.pp
input:
apache_ports:
value: null
fqdn:

View File

@ -1,7 +1,10 @@
id: api-proxy
handler: puppetv2
version: '8.0'
inputs:
actions:
run: actions/run.pp
update: actions/run.pp
input:
apache_ports:
value: null
fqdn:

View File

@ -1,7 +1,10 @@
id: ceilometer-compute
handler: puppetv2
version: '8.0'
inputs:
actions:
run: actions/run.pp
update: actions/run.pp
input:
fqdn:
value: null
puppet_modules:

View File

@ -1,7 +1,10 @@
id: ceilometer-controller
handler: puppetv2
version: '8.0'
inputs:
actions:
run: actions/run.pp
update: actions/run.pp
input:
ceilometer:
value: null
debug:

View File

@ -1,7 +1,10 @@
id: ceilometer-keystone
handler: puppetv2
version: '8.0'
inputs:
actions:
run: actions/run.pp
update: actions/run.pp
input:
ceilometer:
value: null
fqdn:

View File

@ -1,7 +1,10 @@
id: ceilometer-radosgw-user
handler: puppetv2
version: '8.0'
inputs:
actions:
run: actions/run.pp
update: actions/run.pp
input:
ceilometer:
value: null
fqdn:

View File

@ -1,7 +1,10 @@
id: ceph-compute
handler: puppetv2
version: '8.0'
inputs:
actions:
run: actions/run.pp
update: actions/run.pp
input:
fqdn:
value: null
puppet_modules:

View File

@ -1,7 +1,10 @@
id: ceph-mon
handler: puppetv2
version: '8.0'
inputs:
actions:
run: actions/run.pp
update: actions/run.pp
input:
ceph_monitor_nodes:
value: null
ceph_primary_monitor_node:

View File

@ -1,7 +1,10 @@
id: ceph-radosgw
handler: puppetv2
version: '8.0'
inputs:
actions:
run: actions/run.pp
update: actions/run.pp
input:
ceph_monitor_nodes:
value: null
fqdn:

View File

@ -1,7 +1,10 @@
id: ceph_create_pools
handler: puppetv2
version: '8.0'
inputs:
actions:
run: actions/run.pp
update: actions/run.pp
input:
fqdn:
value: null
puppet_modules:

View File

@ -1,7 +1,10 @@
id: cinder-db
handler: puppetv2
version: '8.0'
inputs:
actions:
run: actions/run.pp
update: actions/run.pp
input:
cinder:
value: null
database_vip:

View File

@ -1,7 +1,10 @@
id: cinder-keystone
handler: puppetv2
version: '8.0'
inputs:
actions:
run: actions/run.pp
update: actions/run.pp
input:
cinder:
value: null
fqdn:

View File

@ -1,7 +1,10 @@
id: cluster-haproxy
handler: puppetv2
version: '8.0'
inputs:
actions:
run: actions/run.pp
update: actions/run.pp
input:
database_vip:
value: null
debug:

View File

@ -1,7 +1,10 @@
id: cluster-vrouter
handler: puppetv2
version: '8.0'
inputs:
actions:
run: actions/run.pp
update: actions/run.pp
input:
fqdn:
value: null
network_scheme:

View File

@ -1,7 +1,10 @@
id: cluster
handler: puppetv2
version: '8.0'
inputs:
actions:
run: actions/run.pp
update: actions/run.pp
input:
corosync_roles:
value: null
fqdn:

View File

@ -1,7 +1,10 @@
id: cluster_health
handler: puppetv2
version: '8.0'
inputs:
actions:
run: actions/run.pp
update: actions/run.pp
input:
corosync_disk_monitor:
value: null
corosync_disk_monitor_interval:

View File

@ -1,7 +1,10 @@
id: configure_default_route
handler: puppetv2
version: '8.0'
inputs:
actions:
run: actions/run.pp
update: actions/run.pp
input:
fqdn:
value: null
puppet_modules:

View File

@ -1,7 +1,10 @@
id: connectivity_tests
handler: puppetv2
version: '8.0'
inputs:
actions:
run: actions/run.pp
update: actions/run.pp
input:
fqdn:
value: null
puppet_modules:

View File

@ -1,7 +1,10 @@
id: conntrackd
handler: puppetv2
version: '8.0'
inputs:
actions:
run: actions/run.pp
update: actions/run.pp
input:
fqdn:
value: null
network_scheme:

View File

@ -1,7 +1,10 @@
id: controller_remaining_tasks
handler: puppetv2
version: '8.0'
inputs:
actions:
run: actions/run.pp
update: actions/run.pp
input:
fqdn:
value: null
neutron_mellanox:

View File

@ -1,7 +1,10 @@
id: database
handler: puppetv2
version: '8.0'
inputs:
actions:
run: actions/run.pp
update: actions/run.pp
input:
database_nodes:
value: null
database_vip:

View File

@ -1,7 +1,10 @@
id: disable_keystone_service_token
handler: puppetv2
version: '8.0'
inputs:
actions:
run: actions/run.pp
update: actions/run.pp
input:
fqdn:
value: null
keystone_hash:

View File

@ -1,7 +1,10 @@
id: dns-client
handler: puppetv2
version: '8.0'
inputs:
actions:
run: actions/run.pp
update: actions/run.pp
input:
fqdn:
value: null
management_vrouter_vip:

View File

@ -1,7 +1,10 @@
id: dns-server
handler: puppetv2
version: '8.0'
inputs:
actions:
run: actions/run.pp
update: actions/run.pp
input:
external_dns:
value: null
fqdn:

View File

@ -1,6 +1,7 @@
notice('MODULAR: dump_rabbitmq_definitions.pp')
$definitions_dump_file = '/etc/rabbitmq/definitions'
$original_definitions_dump_file = '/etc/rabbitmq/definitions.full'
$rabbit_hash = hiera_hash('rabbit_hash',
{
'user' => false,
@ -16,10 +17,14 @@ if ($rabbit_enabled) {
exec { 'rabbitmq-dump-definitions':
path => ['/usr/bin', '/usr/sbin', '/sbin', '/bin'],
command => "curl -u ${rabbit_credentials} ${rabbit_api_endpoint} -o ${definitions_dump_file}",
command => "curl -u ${rabbit_credentials} ${rabbit_api_endpoint} -o ${original_definitions_dump_file}",
}->
exec { 'rabbitmq-dump-clean':
path => ['/usr/bin', '/usr/sbin', '/sbin', '/bin'],
command => "rabbitmq-dump-clean.py < ${original_definitions_dump_file} > ${definitions_dump_file}",
}
file { $definitions_dump_file:
file { [$definitions_dump_file, $original_definitions_dump_file]:
ensure => file,
owner => 'root',
group => 'root',

View File

@ -1,7 +1,10 @@
id: dump_rabbitmq_definitions
handler: puppetv2
version: '8.0'
inputs:
actions:
run: actions/run.pp
update: actions/run.pp
input:
fqdn:
value: null
puppet_modules:

View File

@ -1,7 +1,10 @@
id: enable_cinder_volume_service
handler: puppetv2
version: '8.0'
inputs:
actions:
run: actions/run.pp
update: actions/run.pp
input:
fqdn:
value: null
puppet_modules:

View File

@ -1,7 +1,10 @@
id: enable_nova_compute_service
handler: puppetv2
version: '8.0'
inputs:
actions:
run: actions/run.pp
update: actions/run.pp
input:
fqdn:
value: null
puppet_modules:

View File

@ -1,7 +1,10 @@
id: enable_rados
handler: puppetv2
version: '8.0'
inputs:
actions:
run: actions/run.pp
update: actions/run.pp
input:
fqdn:
value: null
puppet_modules:

View File

@ -50,6 +50,7 @@ class { 'openstack::firewall' :
nova_api_ip_range => get_network_role_property('nova/api', 'network'),
libvirt_network => get_network_role_property('management', 'network'),
keystone_network => get_network_role_property('keystone/api', 'network'),
iscsi_ip => get_network_role_property('cinder/iscsi', 'ipaddr'),
}
if $ironic_hash['enabled'] {

View File

@ -1,7 +1,10 @@
id: firewall
handler: puppetv2
version: '8.0'
inputs:
actions:
run: actions/run.pp
update: actions/run.pp
input:
fqdn:
value: null
ironic:

View File

@ -1,7 +1,10 @@
id: fuel_pkgs
handler: puppetv2
version: '8.0'
inputs:
actions:
run: actions/run.pp
update: actions/run.pp
input:
fqdn:
value: null
puppet_modules:

View File

@ -1,7 +1,10 @@
id: generate_vms
handler: puppetv2
version: '8.0'
inputs:
actions:
run: actions/run.pp
update: actions/run.pp
input:
fqdn:
value: null
puppet_modules:

View File

@ -1,7 +1,7 @@
id: genkeys
handler: shell
version: 0.0.1
inputs:
input:
uid:
schema: str!
value:

View File

@ -1,7 +1,10 @@
id: glance-db
handler: puppetv2
version: '8.0'
inputs:
actions:
run: actions/run.pp
update: actions/run.pp
input:
database_vip:
value: null
fqdn:

View File

@ -1,7 +1,10 @@
id: glance-keystone
handler: puppetv2
version: '8.0'
inputs:
actions:
run: actions/run.pp
update: actions/run.pp
input:
fqdn:
value: null
glance:

View File

@ -1,7 +1,10 @@
id: glance
handler: puppetv2
version: '8.0'
inputs:
actions:
run: actions/run.pp
update: actions/run.pp
input:
amqp_hosts:
value: null
ceilometer:

View File

@ -1,7 +1,10 @@
id: globals
handler: puppetv2
version: '8.0'
inputs:
actions:
run: actions/run.pp
update: actions/run.pp
input:
access:
value: null
amqp_hosts:

View File

@ -1,7 +1,10 @@
id: heat-db
handler: puppetv2
version: '8.0'
inputs:
actions:
run: actions/run.pp
update: actions/run.pp
input:
database_vip:
value: null
fqdn:

View File

@ -1,7 +1,10 @@
id: heat-keystone
handler: puppetv2
version: '8.0'
inputs:
actions:
run: actions/run.pp
update: actions/run.pp
input:
fqdn:
value: null
heat:

View File

@ -1,7 +1,10 @@
id: heat
handler: puppetv2
version: '8.0'
inputs:
actions:
run: actions/run.pp
update: actions/run.pp
input:
amqp_hosts:
value: null
database_vip:

View File

@ -1,7 +1,10 @@
id: hiera
handler: puppetv2
version: '8.0'
inputs:
actions:
run: actions/run.pp
update: actions/run.pp
input:
fqdn:
value: null
puppet_modules:

View File

@ -1,7 +1,10 @@
id: horizon
handler: puppetv2
version: '8.0'
inputs:
actions:
run: actions/run.pp
update: actions/run.pp
input:
apache_ports:
value: null
debug:

View File

@ -1,7 +1,10 @@
id: hosts
handler: puppetv2
version: '8.0'
inputs:
actions:
run: actions/run.pp
update: actions/run.pp
input:
fqdn:
value: null
nodes:

View File

@ -1,7 +1,10 @@
id: ironic-api
handler: puppetv2
version: '8.0'
inputs:
actions:
run: actions/run.pp
update: actions/run.pp
input:
ironic:
value: null
puppet_modules:

View File

@ -1,7 +1,10 @@
id: ironic-compute
handler: puppetv2
version: '8.0'
inputs:
actions:
run: actions/run.pp
update: actions/run.pp
input:
fqdn:
value: null
puppet_modules:

View File

@ -1,7 +1,10 @@
id: ironic-conductor
handler: puppetv2
version: '8.0'
inputs:
actions:
run: actions/run.pp
update: actions/run.pp
input:
fqdn:
value: null
puppet_modules:

View File

@ -1,7 +1,10 @@
id: ironic-db
handler: puppetv2
version: '8.0'
inputs:
actions:
run: actions/run.pp
update: actions/run.pp
input:
database_vip:
value: null
fqdn:

View File

@ -1,7 +1,10 @@
id: ironic-keystone
handler: puppetv2
version: '8.0'
inputs:
actions:
run: actions/run.pp
update: actions/run.pp
input:
fqdn:
value: null
ironic:

View File

@ -1,7 +1,10 @@
id: keystone-db
handler: puppetv2
version: '8.0'
inputs:
actions:
run: actions/run.pp
update: actions/run.pp
input:
database_vip:
value: null
fqdn:

View File

@ -234,3 +234,9 @@ if ($::operatingsystem == 'Ubuntu') {
package_name => 'keystone',
}
}
# Override confguration options
$override_configuration = hiera_hash('configuration', {})
override_resources { 'keystone_config':
data => $override_configuration['keystone_config']
}

View File

@ -1,7 +1,10 @@
id: keystone
handler: puppetv2
version: '8.0'
inputs:
actions:
run: actions/run.pp
update: actions/run.pp
input:
access:
value: null
amqp_hosts:

View File

@ -1,7 +1,10 @@
id: logging
handler: puppetv2
version: '8.0'
inputs:
actions:
run: actions/run.pp
update: actions/run.pp
input:
base_syslog_hash:
value: null
debug:

View File

@ -1,7 +1,10 @@
id: memcached
handler: puppetv2
version: '8.0'
inputs:
actions:
run: actions/run.pp
update: actions/run.pp
input:
fqdn:
value: null
network_scheme:

View File

@ -1,7 +1,10 @@
id: murano-db
handler: puppetv2
version: '8.0'
inputs:
actions:
run: actions/run.pp
update: actions/run.pp
input:
database_vip:
value: null
fqdn:

View File

@ -1,7 +1,10 @@
id: murano-keystone
handler: puppetv2
version: '8.0'
inputs:
actions:
run: actions/run.pp
update: actions/run.pp
input:
fqdn:
value: null
management_vip:

View File

@ -0,0 +1,13 @@
notice('MODULAR: murano/rabbitmq.pp')
$rabbit_hash = hiera_hash('rabbit_hash', {})
#################################################################
rabbitmq_vhost { '/murano': }
rabbitmq_user_permissions { "${rabbit_hash['user']}@/murano":
configure_permission => '.*',
read_permission => '.*',
write_permission => '.*',
}

View File

@ -0,0 +1,7 @@
id: murano-rabbitmq
handler: puppetv2
version: '8.0'
actions:
run: actions/run.pp
update: actions/run.pp
input: {}

View File

@ -5,7 +5,6 @@ prepare_network_config(hiera('network_scheme', {}))
$murano_hash = hiera_hash('murano_hash', {})
$murano_settings_hash = hiera_hash('murano_settings', {})
$rabbit_hash = hiera_hash('rabbit_hash', {})
$heat_hash = hiera_hash('heat_hash', {})
$neutron_config = hiera_hash('neutron_config', {})
$node_role = hiera('node_role')
$public_ip = hiera('public_vip')
@ -80,24 +79,26 @@ if $murano_hash['enabled'] {
use_stderr => $use_stderr,
log_facility => $syslog_log_facility_murano,
database_connection => $sql_connection,
keystone_uri => "${public_protocol}://${public_address}:5000/v2.0/",
keystone_username => $murano_user,
keystone_password => $murano_hash['user_password'],
keystone_tenant => $tenant,
auth_uri => "${public_protocol}://${public_address}:5000/v2.0/",
admin_user => $murano_user,
admin_password => $murano_hash['user_password'],
admin_tenant_name => $tenant,
identity_uri => "http://${service_endpoint}:35357/",
use_neutron => $use_neutron,
rabbit_os_user => $rabbit_hash['user'],
rabbit_os_password => $rabbit_hash['password'],
rabbit_os_port => $amqp_port,
rabbit_os_hosts => split($amqp_hosts, ','),
rabbit_os_host => split($amqp_hosts, ','),
rabbit_ha_queues => $rabbit_ha_queues,
rabbit_own_host => $public_ip,
rabbit_own_port => '55572',
rabbit_own_user => 'murano',
rabbit_own_password => $heat_hash['rabbit_password'],
rabbit_own_port => $amqp_port,
rabbit_own_vhost => 'murano',
rabbit_own_user => $rabbit_hash['user'],
rabbit_own_password => $rabbit_hash['password'],
service_host => $api_bind_host,
service_port => $api_bind_port,
external_network => $external_network,
use_trusts => true,
}
class { 'murano::api':
@ -114,12 +115,6 @@ if $murano_hash['enabled'] {
repo_url => $repository_url,
}
class { 'murano::rabbitmq':
rabbit_user => 'murano',
rabbit_password => $heat_hash['rabbit_password'],
rabbit_port => '55572',
}
$haproxy_stats_url = "http://${management_ip}:10000/;csv"
haproxy_backend_status { 'murano-api' :
@ -138,20 +133,13 @@ if $murano_hash['enabled'] {
url => $haproxy_stats_url,
}
murano::application { 'io.murano' :
os_tenant_name => $tenant,
os_username => $murano_user,
os_password => $murano_hash['user_password'],
os_auth_url => "${public_protocol}://${public_address}:5000/v2.0/",
os_region => $region,
mandatory => true,
}
murano::application { 'io.murano' : }
Haproxy_backend_status['keystone-admin'] -> Haproxy_backend_status['murano-api']
Haproxy_backend_status['keystone-public'] -> Haproxy_backend_status['murano-api']
Haproxy_backend_status['murano-api'] -> Murano::Application['io.murano']
Service['murano-api'] -> Murano::Application<| mandatory == true |>
Service['murano-api'] -> Murano::Application['io.murano']
}
Firewall[$firewall_rule] -> Class['murano::api']

View File

@ -1,7 +1,10 @@
id: murano
handler: puppetv2
version: '8.0'
inputs:
actions:
run: actions/run.pp
update: actions/run.pp
input:
amqp_hosts:
value: null
amqp_port:

View File

@ -1,7 +1,10 @@
id: netconfig
handler: puppetv2
version: '8.0'
inputs:
actions:
run: actions/run.pp
update: actions/run.pp
input:
default_gateway:
value: null
fqdn:

View File

@ -1,7 +1,10 @@
id: neutron-db
handler: puppetv2
version: '8.0'
inputs:
actions:
run: actions/run.pp
update: actions/run.pp
input:
database_vip:
value: null
fqdn:

View File

@ -1,7 +1,10 @@
id: neutron-keystone
handler: puppetv2
version: '8.0'
inputs:
actions:
run: actions/run.pp
update: actions/run.pp
input:
fqdn:
value: null
management_vip:

View File

@ -1,7 +1,10 @@
id: nova-db
handler: puppetv2
version: '8.0'
inputs:
actions:
run: actions/run.pp
update: actions/run.pp
input:
database_vip:
value: null
fqdn:

View File

@ -1,7 +1,10 @@
id: nova-keystone
handler: puppetv2
version: '8.0'
inputs:
actions:
run: actions/run.pp
update: actions/run.pp
input:
fqdn:
value: null
management_vip:

View File

@ -1,7 +1,10 @@
id: ntp-check
handler: puppetv2
version: '8.0'
inputs:
actions:
run: actions/run.pp
update: actions/run.pp
input:
external_ntp:
value: null
fqdn:

View File

@ -1,7 +1,10 @@
id: ntp-client
handler: puppetv2
version: '8.0'
inputs:
actions:
run: actions/run.pp
update: actions/run.pp
input:
fqdn:
value: null
puppet_modules:

View File

@ -1,7 +1,10 @@
id: ntp-server
handler: puppetv2
version: '8.0'
inputs:
actions:
run: actions/run.pp
update: actions/run.pp
input:
external_ntp:
value: null
fqdn:

View File

@ -1,7 +1,10 @@
id: openstack-cinder
handler: puppetv2
version: '8.0'
inputs:
actions:
run: actions/run.pp
update: actions/run.pp
input:
amqp_hosts:
value: null
ceilometer_hash:

View File

@ -1,7 +1,10 @@
id: openstack-controller
handler: puppetv2
version: '8.0'
inputs:
actions:
run: actions/run.pp
update: actions/run.pp
input:
access:
value: null
amqp_hosts:

View File

@ -1,7 +1,10 @@
id: openstack-haproxy-ceilometer
handler: puppetv2
version: '8.0'
inputs:
actions:
run: actions/run.pp
update: actions/run.pp
input:
ceilometer:
value: null
ceilometer_nodes:

View File

@ -1,7 +1,10 @@
id: openstack-haproxy-cinder
handler: puppetv2
version: '8.0'
inputs:
actions:
run: actions/run.pp
update: actions/run.pp
input:
cinder_hash:
value: null
cinder_ipaddresses:

View File

@ -1,7 +1,10 @@
id: openstack-haproxy-glance
handler: puppetv2
version: '8.0'
inputs:
actions:
run: actions/run.pp
update: actions/run.pp
input:
fqdn:
value: null
glance:

View File

@ -1,7 +1,10 @@
id: openstack-haproxy-heat
handler: puppetv2
version: '8.0'
inputs:
actions:
run: actions/run.pp
update: actions/run.pp
input:
fqdn:
value: null
heat:

View File

@ -1,7 +1,10 @@
id: openstack-haproxy-horizon
handler: puppetv2
version: '8.0'
inputs:
actions:
run: actions/run.pp
update: actions/run.pp
input:
fqdn:
value: null
horizon:

View File

@ -1,7 +1,10 @@
id: openstack-haproxy-ironic
handler: puppetv2
version: '8.0'
inputs:
actions:
run: actions/run.pp
update: actions/run.pp
input:
ironic:
value: null
puppet_modules:

View File

@ -1,7 +1,10 @@
id: openstack-haproxy-keystone
handler: puppetv2
version: '8.0'
inputs:
actions:
run: actions/run.pp
update: actions/run.pp
input:
fqdn:
value: null
keystone:

View File

@ -1,7 +1,10 @@
id: openstack-haproxy-murano
handler: puppetv2
version: '8.0'
inputs:
actions:
run: actions/run.pp
update: actions/run.pp
input:
fqdn:
value: null
murano_hash:

View File

@ -1,7 +1,10 @@
id: openstack-haproxy-mysqld
handler: puppetv2
version: '8.0'
inputs:
actions:
run: actions/run.pp
update: actions/run.pp
input:
custom_mysql_setup_class:
value: null
database_nodes:

View File

@ -1,7 +1,10 @@
id: openstack-haproxy-neutron
handler: puppetv2
version: '8.0'
inputs:
actions:
run: actions/run.pp
update: actions/run.pp
input:
fqdn:
value: null
management_vip:

View File

@ -1,7 +1,10 @@
id: openstack-haproxy-nova
handler: puppetv2
version: '8.0'
inputs:
actions:
run: actions/run.pp
update: actions/run.pp
input:
fqdn:
value: null
management_vip:

View File

@ -3,7 +3,7 @@ notice('MODULAR: openstack-haproxy-radosgw.pp')
$network_metadata = hiera_hash('network_metadata')
$storage_hash = hiera_hash('storage', {})
$public_ssl_hash = hiera('public_ssl')
$ironic_hash = hiera_hash('ironic', {})
if !($storage_hash['images_ceph'] and $storage_hash['objects_ceph']) and !$storage_hash['images_vcenter'] {
$use_swift = true
@ -23,12 +23,17 @@ if $use_radosgw {
$public_virtual_ip = hiera('public_vip')
$internal_virtual_ip = hiera('management_vip')
if $ironic_hash['enabled'] {
$baremetal_virtual_ip = $network_metadata['vips']['baremetal']['ipaddr']
}
# configure radosgw ha proxy
class { '::openstack::ha::radosgw':
internal_virtual_ip => $internal_virtual_ip,
ipaddresses => $ipaddresses,
public_virtual_ip => $public_virtual_ip,
server_names => $server_names,
public_ssl => $public_ssl_hash['services'],
internal_virtual_ip => $internal_virtual_ip,
ipaddresses => $ipaddresses,
public_virtual_ip => $public_virtual_ip,
server_names => $server_names,
public_ssl => $public_ssl_hash['services'],
baremetal_virtual_ip => $baremetal_virtual_ip,
}
}

View File

@ -1,7 +1,10 @@
id: openstack-haproxy-radosgw
handler: puppetv2
version: '8.0'
inputs:
actions:
run: actions/run.pp
update: actions/run.pp
input:
fqdn:
value: null
network_metadata:

View File

@ -1,7 +1,10 @@
id: openstack-haproxy-sahara
handler: puppetv2
version: '8.0'
inputs:
actions:
run: actions/run.pp
update: actions/run.pp
input:
fqdn:
value: null
network_metadata:

View File

@ -1,7 +1,10 @@
id: openstack-haproxy-stats
handler: puppetv2
version: '8.0'
inputs:
actions:
run: actions/run.pp
update: actions/run.pp
input:
database_vip:
value: null
fqdn:

View File

@ -1,7 +1,10 @@
id: openstack-haproxy-swift
handler: puppetv2
version: '8.0'
inputs:
actions:
run: actions/run.pp
update: actions/run.pp
input:
fqdn:
value: null
ironic:

View File

@ -1,7 +1,10 @@
id: openstack-haproxy
handler: puppetv2
version: '8.0'
inputs:
actions:
run: actions/run.pp
update: actions/run.pp
input:
fqdn:
value: null
puppet_modules:

View File

@ -30,7 +30,7 @@ if $use_neutron {
}
}
#========================
# stub package for 'neutron::agents::dhcp' class
package { 'neutron':
name => 'binutils',
ensure => 'installed',

View File

@ -1,7 +1,10 @@
id: openstack-network-agents-dhcp
handler: puppetv2
version: '8.0'
inputs:
actions:
run: actions/run.pp
update: actions/run.pp
input:
debug:
value: null
fqdn:

View File

@ -50,7 +50,7 @@ if $use_neutron and ($controller or ($dvr and $compute)) {
}
}
#========================
# stub package for 'neutron::agents::l3' class
package { 'neutron':
name => 'binutils',
ensure => 'installed',

View File

@ -1,7 +1,10 @@
id: openstack-network-agents-l3
handler: puppetv2
version: '8.0'
inputs:
actions:
run: actions/run.pp
update: actions/run.pp
input:
debug:
value: null
fqdn:

View File

@ -38,7 +38,6 @@ if $use_neutron {
metadata_ip => $nova_endpoint,
manage_service => true,
enabled => true,
}
if $ha_agent {
@ -48,7 +47,7 @@ if $use_neutron {
}
}
#========================
# stub package for 'neutron::agents::metadata' class
package { 'neutron':
name => 'binutils',
ensure => 'installed',

View File

@ -1,7 +1,10 @@
id: openstack-network-agents-metadata
handler: puppetv2
version: '8.0'
inputs:
actions:
run: actions/run.pp
update: actions/run.pp
input:
debug:
value: null
fqdn:

View File

@ -1,7 +1,10 @@
id: openstack-network-common-config
handler: puppetv2
version: '8.0'
inputs:
actions:
run: actions/run.pp
update: actions/run.pp
input:
amqp_hosts:
value: null
ceilometer:

View File

@ -1,7 +1,10 @@
id: openstack-network-compute-nova
handler: puppetv2
version: '8.0'
inputs:
actions:
run: actions/run.pp
update: actions/run.pp
input:
fqdn:
value: null
puppet_modules:

View File

@ -1,7 +1,10 @@
id: openstack-network-networks
handler: puppetv2
version: '8.0'
inputs:
actions:
run: actions/run.pp
update: actions/run.pp
input:
access:
value: null
fqdn:

View File

@ -48,16 +48,15 @@ if $use_neutron {
$physnet_ironic_bridge = try_get_value($neutron_config, 'L2/phys_nets/physnet-ironic/bridge', false)
if $physnet_ironic_bridge {
$physnet_ironic = "physnet-ironic:${physnet_ironic_bridge}"
}else {
$physnet_ironic = []
$bridge_mappings = [$physnet2, "physnet-ironic:${physnet_ironic_bridge}"]
} else {
$bridge_mappings = [$physnet2]
}
$physnets_array = [$physnet2, $physnet_ironic]
$bridge_mappings = delete_undef_values($physnets_array)
$physical_network_mtus = ["physnet2:${physical_net_mtu}"]
$tunnel_id_ranges = []
$network_type = 'vlan'
$tunnel_types = []
} else {
$net_role_property = 'neutron/mesh'
$tunneling_ip = get_network_role_property($net_role_property, 'ipaddr')
@ -75,6 +74,7 @@ if $use_neutron {
$mtu_offset = '50'
$network_type = 'vxlan'
}
$tunnel_types = [$network_type]
if $physical_net_mtu {
$overlay_net_mtu = $physical_net_mtu - $mtu_offset
@ -83,7 +83,6 @@ if $use_neutron {
}
$enable_tunneling = true
$tunnel_types = [$network_type]
}
$type_drivers = ['local', 'flat', 'vlan', 'gre', 'vxlan']

View File

@ -1,7 +1,10 @@
id: openstack-network-plugins-l2
handler: puppetv2
version: '8.0'
inputs:
actions:
run: actions/run.pp
update: actions/run.pp
input:
fqdn:
value: null
management_vip:

View File

@ -1,7 +1,10 @@
id: openstack-network-routers
handler: puppetv2
version: '8.0'
inputs:
actions:
run: actions/run.pp
update: actions/run.pp
input:
access:
value: null
fqdn:

View File

@ -1,7 +1,10 @@
id: openstack-network-server-config
handler: puppetv2
version: '8.0'
inputs:
actions:
run: actions/run.pp
update: actions/run.pp
input:
database_vip:
value: null
fqdn:

Some files were not shown because too many files have changed in this diff Show More