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
On Friday, April 19, 2013 1:58:27 PM UTC-5, Matt Hargrave wrote:
>
> 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.
>
>
>
>
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" 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-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.