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:
2025-05-17 11:07:21 +10:00
parent 92f0ae64b9
commit f1bb392f8d
5 changed files with 31 additions and 14 deletions
+18
View File
@@ -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',
}
}
+1 -1
View File
@@ -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
-13
View File
@@ -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',
}
}