---
include:
  default:
    - profile::storage::cephosd
    - profile::storage::cephpool
    - profile::storage::cephosd_firewall
    - profile::base::lvm
  kickstart:
    - profile::base::lvm
  bootstrap:
    - profile::base::lvm
    - profile::storage::cephosd_firewall

profile::base::manage_lvm:                           true

profile::storage::cephosd_firewall::manage_firewall: true

profile::base::common::packages:
  'redhat-lsb-core': {}

accounts::users:
  'cinder':
    ensure: present
  'glance':
    ensure: present

accounts::usergroups:
  'cinder':
    - 'cinder'
  'glance':
    - 'glance'

accounts::accounts:
  'cinder':
    ensure: present
  'glance':
    ensure: present

ceph::profile::params::osd_journal_size: '10240'

profile::storage::cephpool::pools:
  'rbd':
    ensure: absent
  'volumes':
    ensure: present
    pg_num: 2048
    pgp_num: 2048
  'images':
    ensure: present
    pg_num: 512
    pgp_num: 512

# Enable extra yum repo
profile::base::yumrepo::repo_hash:
  ceph-jewel:
    ensure: present

---
include:
  default:
    - profile::storage::cephosd
    - profile::storage::cephpool
    - profile::storage::cephosd_firewall
    - profile::base::lvm
  kickstart:
    - profile::base::lvm
  bootstrap:
    - profile::base::lvm
    - profile::storage::cephosd_firewall

profile::base::manage_lvm:                           true

profile::storage::cephosd_firewall::manage_firewall: true

profile::base::common::packages:
  'redhat-lsb-core': {}

accounts::users:
  'cinder':
    ensure: present
  'glance':
    ensure: present

accounts::usergroups:
  'cinder':
    - 'cinder'
  'glance':
    - 'glance'

accounts::accounts:
  'cinder':
    ensure: present
  'glance':
    ensure: present

ceph::profile::params::osd_journal_size: '10240'

profile::storage::cephpool::pools:
  'rbd':
    ensure: absent
  'volumes':
    ensure: present
    pg_num: 2048
    pgp_num: 2048
  'images':
    ensure: present
    pg_num: 512
    pgp_num: 512
  'vms':
    ensure: present
    pg_num: 2048
    pgp_num: 2048

# Enable extra yum repo
profile::base::yumrepo::repo_hash:
  ceph-jewel:
    ensure: present

Add ceph pool for instance disks
Add ceph pool for instance disks
