On Friday, April 19, 2013 11:58:27 AM UTC-7, 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. > > > >From the code, it looks like this needs to be specified as a hash. Could you try that and let me know if it works?
Strangely enough, there seems to be some code which complains if it's not a hash, but does so by telling you it needs to be a list of key=value pairs. That should definitely be fixed, at least. -- 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 puppet-users+unsubscr...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.