21 lines
568 B
Puppet
21 lines
568 B
Puppet
# == Class: octane_tasks::ceph_bootstrap
|
|
#
|
|
# It reconfigures a keyring of Ceph with new keys. It should be done
|
|
# because Ceph Monitor metadata DB was transfered from the original controller
|
|
# and new keys are not there yet.
|
|
#
|
|
class octane_tasks::ceph_bootstrap {
|
|
Exec {
|
|
provider => shell,
|
|
}
|
|
|
|
exec { 'ceph.auth.import':
|
|
command => 'ceph auth import -i /root/ceph.bootstrap-osd.keyring',
|
|
}
|
|
|
|
exec { 'ceph.auth.caps':
|
|
command => 'ceph auth caps client.bootstrap-osd mon "allow profile bootstrap-osd"',
|
|
require => Exec['ceph.auth.import'],
|
|
}
|
|
}
|