---
include:
  default:
    - profile::openstack::metric
    - profile::openstack::openrc
    - profile::logging::rsyslog::client

openstack_version: 'queens' #FIXME

memcached::max_memory: '20%'

profile::base::common::packages:
  'python-openstackclient': {}
  'openstack-selinux': {}
  'python-memcached': {} # gnocchi::manage_memcache_package are broken

profile::openstack::metric::manage_firewall:  true
profile::openstack::metric::manage_wsgi:      true
profile::openstack::metric::firewall_extras:
  source: "%{::network_trp1}/%{::netmask_trp1}"

profile::openstack::openrc::password:         "%{hiera('gnocchi_api_password')}"
profile::openstack::openrc::username:         'gnocchi'
profile::openstack::openrc::project_name:     'services'

# Enable extra yum repo
profile::base::yumrepo::repo_hash:
  rdo-release:
    ensure: present
    exclude: 'mariadb*'
  mariadb:
    ensure: present
  epel: # should be absent when using RDO, but whitelist can also work
    ensure:   present
    includepkgs: 'htop bash-completion-extras'

---
include:
  default:
    - profile::openstack::metric
    - profile::openstack::openrc
    - profile::logging::rsyslog::client

openstack_version: 'queens' #FIXME

memcached::max_memory: '20%'

profile::base::common::packages:
  'python-openstackclient': {}
  'openstack-selinux': {}
  'python-memcached': {} # gnocchi::manage_memcache_package are broken

profile::openstack::metric::manage_firewall:  true
profile::openstack::metric::manage_wsgi:      true
profile::openstack::metric::firewall_extras:
  source: "%{::network_trp1}/%{::netmask_trp1}"

profile::openstack::openrc::password:         "%{hiera('gnocchi_api_password')}"
profile::openstack::openrc::username:         'gnocchi'
profile::openstack::openrc::project_name:     'services'

# Enable extra yum repo
profile::base::yumrepo::repo_hash:
  rdo-release:
    ensure: present
  epel: # should be absent when using RDO, but whitelist can also work
    ensure:   present
    includepkgs: 'htop bash-completion-extras'

Revert switch of mariadb repo, delaying the switchover until after the queens upgrade
Revert switch of mariadb repo, delaying the switchover until after the queens upgrade
