Details
-
Bug
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
PUP 3.5.1
-
1
-
Client 2016-06-29, Client 2016-07-27
-
Bug Fix
-
This fixes allows the `attributes` parameter for the `user` resource to accept an array with a single value in AIX. Prior to this fix, an error would be thrown in the if the array only contained one value.
Description
This seems to be a bug specific to AIX. When you pass a single value within the attributes array in a User resource:
user { 'existinguser':
|
ensure => present,
|
attributes => ['rlogin=false'],
|
home => '/home/existinguser',
|
}
|
It throws the following error upon applying the change:
"Error: /User[root]: Could not evaluate: undefined methodmap' for "rlogin=false":String"`
|
The only workaround I have managed is to add another value to the attributes array.
Attachments
Issue Links
- is cloned by
-
ENTERPRISE-155 Attributes attribute will not accept a single value for the User resource in AIX
-
- Closed
-
- is duplicated by
-
PUP-4767 umask is not a valid map for resource user/aix
-
- Closed
-
- links to