diff options
author | Yanis Guenane <yanis.guenane@enovance.com> | 2015-05-04 17:35:09 +0200 |
---|---|---|
committer | Yanis Guenane <yanis.guenane@enovance.com> | 2015-05-27 13:13:54 +0200 |
commit | c6e237b7cf8b81f118dc58a9ffa3473c526332c3 (patch) | |
tree | ed4c29693a9d1aeb976e8d7e030899720d31d016 /puppet/manifests | |
parent | 00eb3b3089de1b5b61261f018068fd5daeb631e0 (diff) |
Add Memcache as a Pacemaker resource
Depends-On: I7b992450176595a89dba9fe2eccf619af2645d6b
Change-Id: I30cebb6d3a8670f49587bedaf51af18a87a8d24c
Diffstat (limited to 'puppet/manifests')
-rw-r--r-- | puppet/manifests/overcloud_controller_pacemaker.pp | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/puppet/manifests/overcloud_controller_pacemaker.pp b/puppet/manifests/overcloud_controller_pacemaker.pp index a7aa40cb..ea4e7c3e 100644 --- a/puppet/manifests/overcloud_controller_pacemaker.pp +++ b/puppet/manifests/overcloud_controller_pacemaker.pp @@ -104,6 +104,11 @@ if hiera('step') >= 1 { } } + # Memcached + class {'::memcached' : + service_manage => false, + } + # Galera if str2bool(hiera('enable_galera', 'true')) { $mysql_config_file = '/etc/my.cnf.d/galera.cnf' @@ -166,6 +171,10 @@ if hiera('step') >= 2 { pacemaker::resource::service { 'haproxy': clone_params => true, } + pacemaker::resource::service { $::memcached::params::service_name : + clone_params => true, + require => Class['::memcached'], + } pacemaker::resource::ocf { 'rabbitmq': ocf_agent_name => 'heartbeat:rabbitmq-cluster', @@ -350,8 +359,6 @@ MYSQL_HOST=localhost\n", include ::ceph::profile::osd } - # Memcached - include ::memcached } #END STEP 2 |