feat: enable managing root password

- root password already set in common.eyaml
- add missing param to the accounts::root manifest
This commit is contained in:
Ben Vincent 2025-12-28 19:42:26 +11:00
parent 0aec795aec
commit 8f7f47cdd5

View File

@ -1,11 +1,13 @@
# manage the root user
class profiles::accounts::root (
Optional[Array[String]] $sshkeys = undef,
Optional[String[1]] $password = undef,
) {
if $sshkeys {
accounts::user { 'root':
sshkeys => $sshkeys,
sshkeys => $sshkeys,
password => $password,
}
}