diff options
author | Pradeep Kilambi <pkilambi@redhat.com> | 2016-05-04 15:38:25 -0400 |
---|---|---|
committer | Carlos Camacho <ccamacho@redhat.com> | 2016-06-02 17:26:01 +0200 |
commit | 31c4167d86436632ff2b097eaf0bbb5682fb23c9 (patch) | |
tree | 8d937af106f29fe6397c6e24dcb2dfe93fb4c0d6 /puppet/manifests/overcloud_controller.pp | |
parent | bcd726f1242d78169e6a5687e998473c1043c622 (diff) |
Composable roles within services - Redis
Co-Authored-By: Carlos Camacho <ccamacho@redhat.com>
Change-Id: I0d9332f7f4f9116c5435d338a9c35d4fb3f512c6
Implements: blueprint composable-services-within-roles
Depends-On: I60493a3aa64e5136b763e8e2084d728f5f812f8a
Diffstat (limited to 'puppet/manifests/overcloud_controller.pp')
-rw-r--r-- | puppet/manifests/overcloud_controller.pp | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/puppet/manifests/overcloud_controller.pp b/puppet/manifests/overcloud_controller.pp index 439036a2..10570012 100644 --- a/puppet/manifests/overcloud_controller.pp +++ b/puppet/manifests/overcloud_controller.pp @@ -61,25 +61,6 @@ if hiera('step') >= 2 { } } - # Redis - $redis_node_ips = hiera('redis_node_ips') - $redis_master_hostname = downcase(hiera('bootstrap_nodeid')) - - if $redis_master_hostname == $::hostname { - $slaveof = undef - } else { - $slaveof = "${redis_master_hostname} 6379" - } - class {'::redis' : - slaveof => $slaveof, - } - - if count($redis_node_ips) > 1 { - Class['::tripleo::redis_notification'] -> Service['redis-sentinel'] - include ::redis::sentinel - include ::tripleo::redis_notification - } - if str2bool(hiera('enable_galera', true)) { $mysql_config_file = '/etc/my.cnf.d/galera.cnf' } else { |