- add ceph-common to provide utilities for managing ceph - add root and sysadmin ssh keys for ceph deployments
19 lines
310 B
Puppet
19 lines
310 B
Puppet
# manage the root user
|
|
class profiles::accounts::root (
|
|
Optional[Array[String]] $sshkeys = undef,
|
|
) {
|
|
|
|
if $sshkeys {
|
|
accounts::user { 'root':
|
|
sshkeys => $sshkeys,
|
|
}
|
|
}
|
|
|
|
file {'/root/.config':
|
|
ensure => directory,
|
|
owner => 'root',
|
|
group => 'root',
|
|
mode => '0600',
|
|
}
|
|
}
|