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:
parent
0aec795aec
commit
8f7f47cdd5
@ -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,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user