---

govuk::safe_to_reboot::can_reboot: 'careful'
govuk::safe_to_reboot::reason: 'Check for primary, reboot secondaries, step down primary, reboot primary'

lv:
  mongodb:
    pv:
    - '/dev/sdb1'
    - '/dev/sdd1'
    vg: 'backup'
  data:
    pv: '/dev/sdc1'
    vg: 'mongodb'

mount:
  /var/lib/mongodb:
    disk: '/dev/mapper/mongodb-data'
    govuk_lvm: 'data'
    mountoptions: 'defaults'
  /var/lib/automongodbbackup:
    disk: '/dev/mapper/backup-mongodb'
    govuk_lvm: 'mongodb'
    mountoptions: 'defaults'

mongodb::server::replicaset_members:
  - 'api-mongo-1.api'
  - 'api-mongo-2.api'
  - 'api-mongo-3.api'

---

govuk::safe_to_reboot::can_reboot: 'careful'
govuk::safe_to_reboot::reason: 'Check for primary, reboot secondaries, step down primary, reboot primary'

lv:
  mongodb:
    pv:
    - '/dev/sdb1'
    - '/dev/sdd1'
    - '/dev/sde1'
    vg: 'backup'
  data:
    pv: '/dev/sdc1'
    vg: 'mongodb'

mount:
  /var/lib/mongodb:
    disk: '/dev/mapper/mongodb-data'
    govuk_lvm: 'data'
    mountoptions: 'defaults'
  /var/lib/automongodbbackup:
    disk: '/dev/mapper/backup-mongodb'
    govuk_lvm: 'mongodb'
    mountoptions: 'defaults'

mongodb::server::replicaset_members:
  - 'api-mongo-1.api'
  - 'api-mongo-2.api'
  - 'api-mongo-3.api'

Add new /dev/sde1 disk to Hiera for MongoDB backup
Add new /dev/sde1 disk to Hiera for MongoDB backup

We need more disk space to back MongoDB data up since Backdrop data has
started to be imported. This adds the disk to Hiera.
