# An environment which enables configuration of an
# Overcloud controller with Pacemaker.
resource_registry:
  OS::TripleO::ControllerConfig: ../puppet/controller-config-pacemaker.yaml
  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: For now we will need to specify overrides to all services
  # which use pacemaker. In the future (with upcoming HA light work) this
  # list will hopefully be much smaller however.
  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::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):
  OS::Tripleo::Services::ManilaShare: OS::Heat::None
  OS::TripleO::Services::SaharaApi: ../puppet/services/pacemaker/sahara-api.yaml
  OS::TripleO::Services::SaharaEngine: ../puppet/services/pacemaker/sahara-engine.yaml