Skip to content

Commit abbea2e

Browse files
authored
Merge pull request #466 from bschonec/change_password_max_age
2 parents 219493d + 43b5437 commit abbea2e

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ Allows strings up to 32 characters long that begin with a lower case letter or u
217217

218218
#### `Accounts::User::PasswordMaxAge`
219219

220-
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.
220+
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.
221221

222222
#### `Accounts::User::Resource`
223223

REFERENCE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ Default value: `'!!'`
428428
Data type: `Optional[Accounts::User::PasswordMaxAge]`
429429

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

manifests/user.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@
126126
#
127127
# @param password_max_age
128128
# Maximum number of days a password may be used before it must be changed.
129-
# Allows any integer from `0` to `99999`. See the
129+
# Allows any integer from `-1` to `99999`. See the
130130
# [`user`](https://puppet.com/docs/puppet/latest/types/user.html#user-attribute-password_max_age)
131131
# resource.
132132
#

types/user/passwordmaxage.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
# On most systems, the default value of 99999 is about 274 years, which
44
# effectively disables password aging.
55
#
6-
type Accounts::User::PasswordMaxAge = Integer[1, 99999]
6+
type Accounts::User::PasswordMaxAge = Integer[-1, 99999]

0 commit comments

Comments
 (0)