Skip to content

Commit 815fc1b

Browse files
authored
Merge pull request #507 from jay7x/fix_user_password_type
Synchronize user defined resource with the corresponding type
2 parents 2c30b00 + 1f81d3b commit 815fc1b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

types/user/resource.pp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
Optional[managehome] => Boolean,
2828
Optional[managevim] => Boolean,
2929
Optional[membership] => Enum['inclusive','minimum'],
30-
Optional[password] => String,
30+
Optional[password] => Variant[String, Sensitive[String]],
3131
Optional[password_max_age] => Accounts::User::PasswordMaxAge,
3232
Optional[purge_sshkeys] => Boolean,
3333
Optional[purge_user_home] => Boolean,
@@ -36,7 +36,8 @@
3636
Optional[sshkey_custom_path] => Stdlib::Unixpath,
3737
Optional[sshkey_owner] => Accounts::User::Name,
3838
Optional[sshkey_group] => Accounts::User::Name,
39-
Optional[sshkeys] => Array[String],
39+
Optional[sshkey_mode] => Variant[Integer[0], String],
40+
Optional[sshkeys] => Array[String[1]],
4041
Optional[system] => Boolean,
4142
Optional[uid] => Accounts::User::Uid,
4243
}

0 commit comments

Comments
 (0)