Issue #20442 has been reported by Nick Lewis.

----------------------------------------
Bug #20442: AIX user attributes don't work
https://projects.puppetlabs.com/issues/20442

* Author: Nick Lewis
* Status: Accepted
* Priority: Normal
* Assignee: 
* Category: 
* Target version: 
* Affected Puppet version: 
* Keywords: 
* Branch: 
----------------------------------------
>From Matt Hargrave on puppet-users:

<pre>
I am trying to use the attributes field for AIX user attributes.  I currently 
have:

user { "test1":
        ensure => present,
        uid => '123456',
        gid => 'system',
        shell => '/bin/ksh',
        home => '/home/test1',
        attributes => ["login=true", "rlogin = true"],
        managehome => true,
}


when I apply this I get 

err: /Stage[main]//User[test1]: Could not evaluate: private method `select' 
called for nil:NilClass

I have tried to just have a single attribute with and without the brackets [].  
As soon as a remove that field everything else works.

as a hash (  attributes => { 'rlogin' => 'true'} , or attributes => { rlogin => 
'true'} )   I get:

Parameter attributes failed on User[test1]: Attributes value pairs must be 
separated by an = at /home/xxx/puppet/test.pp:9

if I replace the => with = I get:
Could not parse for environment production: Syntax error at '='; expected '}' 
at /home/xxx/puppet/test.pp:7 on node client1
</pre>


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to