From 8f7f47cdd5b7d46da416a12de7143b00fef98e9b Mon Sep 17 00:00:00 2001 From: Ben Vincent Date: Sun, 28 Dec 2025 19:42:26 +1100 Subject: [PATCH] feat: enable managing root password - root password already set in common.eyaml - add missing param to the accounts::root manifest --- site/profiles/manifests/accounts/root.pp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/site/profiles/manifests/accounts/root.pp b/site/profiles/manifests/accounts/root.pp index ebae0d4..a7a9f7b 100644 --- a/site/profiles/manifests/accounts/root.pp +++ b/site/profiles/manifests/accounts/root.pp @@ -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, } }