# An environment which enables configuration of an
# Overcloud controller with Pacemaker.
resource_registry:
  OS::TripleO::Tasks::ControllerPrePuppet: ../extraconfig/tasks/pre_puppet_pacemaker.yaml
  OS::TripleO::Tasks::ControllerPostPuppet: ../extraconfig/tasks/post_puppet_pacemaker.yaml
  OS::TripleO::Tasks::ControllerPostPuppetRestart: ../extraconfig/tasks/post_puppet_pacemaker_restart.yaml

  # custom pacemaker services
  # NOTE: Please before adding any pacemaker-managed services, get in touch
  # with bandini, Ng or beekhof
  OS::TripleO::Services::CinderVolume: ../puppet/services/pacemaker/cinder-volume.yaml
  OS::TripleO::Services::RabbitMQ: ../puppet/services/pacemaker/rabbitmq.yaml
  OS::TripleO::Services::HAproxy: ../puppet/services/pacemaker/haproxy.yaml
  OS::TripleO::Services::Pacemaker: ../puppet/services/pacemaker.yaml
  OS::TripleO::Services::PacemakerRemote: ../puppet/services/pacemaker_remote.yaml
  OS::TripleO::Services::Redis: ../puppet/services/pacemaker/database/redis.yaml
  OS::TripleO::Services::MySQL: ../puppet/services/pacemaker/database/mysql.yaml
  # Services that are disabled by default (use relevant environment files):

  # Services that are disabled for HA deployments with pacemaker
  OS::TripleO::Services::Keepalived: OS::Heat::None