summaryrefslogtreecommitdiffstats
path: root/ci/config_tpl/bundle_tpl/harelations.yaml
blob: d4c4c0646909a3498f1d0a3794114c937b0c3fa2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{% if os.ha.mode == 'ha' %}
    - [ 'mysql:ha', 'hacluster-mysql:ha' ]
    - [ 'cinder:ha', 'hacluster-cinder:ha' ]
#    - [ 'heat:ha', 'hacluster-heat:ha' ]
    - [ 'glance:ha', 'hacluster-glance:ha' ]
    - [ 'keystone:ha', 'hacluster-keystone:ha' ]
    - [ 'neutron-api:ha', 'hacluster-neutron:ha' ]
    - [ 'nova-cloud-controller:ha', 'hacluster-nova:ha' ]
    - [ 'openstack-dashboard:ha', 'hacluster-horizon:ha' ]
    - [ 'ceilometer:ha', 'hacluster-ceilometer:ha' ]
{% if os.beta.hacluster_ceph_radosgw %}
    - [ 'ceph-radosgw:ha', 'hacluster-ceph-radosgw:ha' ]
{% endif %}
{% endif %}
c service # Defaults to hiera('messaging_rpc_service_name', rabbit) # # [*oslomsg_rpc_hosts*] # list of the oslo messaging rpc host fqdns # Defaults to hiera('rabbitmq_node_names') # # [*oslomsg_rpc_port*] # IP port for oslo messaging rpc service # Defaults to hiera('ceilometer::rabbit_port', 5672) # # [*oslomsg_rpc_username*] # Username for oslo messaging rpc service # Defaults to hiera('ceilometer::rabbit_userid', 'guest') # # [*oslomsg_rpc_password*] # Password for oslo messaging rpc service # Defaults to hiera('ceilometer::rabbit_password') # # [*oslomsg_notify_proto*] # Protocol driver for the oslo messaging notify service # Defaults to hiera('messaging_notify_service_name', rabbit) # # [*oslomsg_notify_hosts*] # list of the oslo messaging notify host fqdns # Defaults to hiera('rabbitmq_node_names') # # [*oslomsg_notify_port*] # IP port for oslo messaging notify service # Defaults to hiera('ceilometer::rabbit_port', 5672) # # [*oslomsg_notify_username*] # Username for oslo messaging notify service # Defaults to hiera('ceilometer::rabbit_userid', 'guest') # # [*oslomsg_notify_password*] # Password for oslo messaging notify service # Defaults to hiera('ceilometer::rabbit_password') # # [*oslomsg_use_ssl*] # Enable ssl oslo messaging services # Defaults to hiera('ceilometer::rabbit_use_ssl', '0') class tripleo::profile::base::ceilometer ( $step = hiera('step'), $oslomsg_rpc_proto = hiera('messaging_rpc_service_name', 'rabbit'), $oslomsg_rpc_hosts = any2array(hiera('rabbitmq_node_names', undef)), $oslomsg_rpc_password = hiera('ceilometer::rabbit_password'), $oslomsg_rpc_port = hiera('ceilometer::rabbit_port', '5672'), $oslomsg_rpc_username = hiera('ceilometer::rabbit_userid', 'guest'), $oslomsg_notify_proto = hiera('messaging_notify_service_name', 'rabbit'), $oslomsg_notify_hosts = any2array(hiera('rabbitmq_node_names', undef)), $oslomsg_notify_password = hiera('ceilometer::rabbit_password'), $oslomsg_notify_port = hiera('ceilometer::rabbit_port', '5672'), $oslomsg_notify_username = hiera('ceilometer::rabbit_userid', 'guest'), $oslomsg_use_ssl = hiera('ceilometer::rabbit_use_ssl', '0'), ) { if $step >= 3 { $oslomsg_use_ssl_real = sprintf('%s', bool2num(str2bool($oslomsg_use_ssl))) class { '::ceilometer' : default_transport_url => os_transport_url({ 'transport' => $oslomsg_rpc_proto, 'hosts' => $oslomsg_rpc_hosts, 'port' => $oslomsg_rpc_port, 'username' => $oslomsg_rpc_username, 'password' => $oslomsg_rpc_password, 'ssl' => $oslomsg_use_ssl_real, }), notification_transport_url => os_transport_url({ 'transport' => $oslomsg_notify_proto, 'hosts' => $oslomsg_notify_hosts, 'port' => $oslomsg_notify_port, 'username' => $oslomsg_notify_username, 'password' => $oslomsg_notify_password, 'ssl' => $oslomsg_use_ssl_real, }), } include ::ceilometer::config } }