feat: enable managing root password (#429)
- update root password in common.eyaml - add missing param to the accounts::root manifest - remove if block as undef sshkeys has same effect Reviewed-on: #429
This commit was merged in pull request #429.
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
# manage the root user
|
||||
class profiles::accounts::root (
|
||||
String $password,
|
||||
Optional[Array[String]] $sshkeys = undef,
|
||||
) {
|
||||
|
||||
if $sshkeys {
|
||||
accounts::user { 'root':
|
||||
sshkeys => $sshkeys,
|
||||
}
|
||||
accounts::user { 'root':
|
||||
sshkeys => $sshkeys,
|
||||
password => $password,
|
||||
}
|
||||
|
||||
file {'/root/.config':
|
||||
|
||||
Reference in New Issue
Block a user