feat: manage more ceph requirements
- add ceph-common to provide utilities for managing ceph - add root and sysadmin ssh keys for ceph deployments
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
# 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',
|
||||
}
|
||||
}
|
||||
@@ -26,7 +26,7 @@ class profiles::base (
|
||||
include profiles::base::scripts
|
||||
include profiles::base::hosts
|
||||
include profiles::base::groups
|
||||
include profiles::base::root
|
||||
include profiles::accounts::root
|
||||
include profiles::accounts::sysadmin
|
||||
if $facts['virtual'] != 'lxc' {
|
||||
include profiles::ntp::client
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
# manage the root user
|
||||
class profiles::base::root {
|
||||
|
||||
# TODO
|
||||
# for now, add some root directories
|
||||
|
||||
file {'/root/.config':
|
||||
ensure => directory,
|
||||
owner => 'root',
|
||||
group => 'root',
|
||||
mode => '0600',
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user