Merge "Prepare for adding OpenStack services to Pacemaker"
authorJenkins <jenkins@review.openstack.org>
Thu, 21 May 2015 08:13:40 +0000 (08:13 +0000)
committerGerrit Code Review <review@openstack.org>
Thu, 21 May 2015 08:13:41 +0000 (08:13 +0000)
1  2 
puppet/manifests/overcloud_controller_pacemaker.pp

@@@ -37,10 -37,16 +37,18 @@@ if $::hostname == downcase(hiera('boots
    $sync_db = false
  }
  
+ # When to start and enable services which haven't been Pacemakerized
+ # FIXME: change to only step 4 after this patch is merged:
+ # https://review.openstack.org/#/c/180565/
+ # $non_pcmk_start = hiera('step') >= 4
+ # FIXME: remove when we start all OpenStack services using Pacemaker
+ # (occurences of this variable will be gradually replaced with false)
+ $non_pcmk_start = hiera('step') >= 4 or (hiera('step') >= 3 and $pacemaker_master)
  if hiera('step') >= 1 {
  
 +  create_resources(sysctl::value, hiera('sysctl_settings'), {})
 +
    if count(hiera('ntp::servers')) > 0 {
      include ::ntp
    }