Skip to content

Commit

Permalink
Merge pull request #466 from bschonec/change_password_max_age
Browse files Browse the repository at this point in the history
  • Loading branch information
malikparvez committed Oct 18, 2023
2 parents 219493d + 43b5437 commit abbea2e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ Allows strings up to 32 characters long that begin with a lower case letter or u

#### `Accounts::User::PasswordMaxAge`

Maximum number of days a password may be used before it must be changed. Allows any integer from `0` to `99999`. See [`user`](https://puppet.com/docs/puppet/latest/types/user.html#user-attribute-password_max_age) resource.
Maximum number of days a password may be used before it must be changed. Allows any integer from `-1` to `99999`. See [`user`](https://puppet.com/docs/puppet/latest/types/user.html#user-attribute-password_max_age) resource.

#### `Accounts::User::Resource`

Expand Down
2 changes: 1 addition & 1 deletion REFERENCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ Default value: `'!!'`
Data type: `Optional[Accounts::User::PasswordMaxAge]`

Maximum number of days a password may be used before it must be changed.
Allows any integer from `0` to `99999`. See the
Allows any integer from `-1` to `99999`. See the
[`user`](https://puppet.com/docs/puppet/latest/types/user.html#user-attribute-password_max_age)
resource.

Expand Down
2 changes: 1 addition & 1 deletion manifests/user.pp
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@
#
# @param password_max_age
# Maximum number of days a password may be used before it must be changed.
# Allows any integer from `0` to `99999`. See the
# Allows any integer from `-1` to `99999`. See the
# [`user`](https://puppet.com/docs/puppet/latest/types/user.html#user-attribute-password_max_age)
# resource.
#
Expand Down
2 changes: 1 addition & 1 deletion types/user/passwordmaxage.pp
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
# On most systems, the default value of 99999 is about 274 years, which
# effectively disables password aging.
#
type Accounts::User::PasswordMaxAge = Integer[1, 99999]
type Accounts::User::PasswordMaxAge = Integer[-1, 99999]

0 comments on commit abbea2e

Please sign in to comment.