Issue #3028 has been updated by Markus Roberts.

Status changed from Unreviewed to Investigating
Target version set to Puppet - 0.25.4


----------------------------------------
Bug #3028: Ralsh on OSX 10.5 messily fails when not run as root
http://projects.reductivelabs.com/issues/3028

Author: James Turnbull
Status: Investigating
Priority: Normal
Assigned to: Nigel Kersten
Category: ralsh
Target version: 0.25.4
Affected version: 0.25.2
Keywords: 
Branch: 


<pre>
james$ ralsh user james ensure=absent
/Library/Ruby/Gems/1.8/gems/puppet-0.25.2/lib/puppet/provider/nameservice/directoryservice.rb:327:in
 `get_password': undefined method `[]' for nil:NilClass (NoMethodError)
        from 
/Library/Ruby/Gems/1.8/gems/puppet-0.25.2/lib/puppet/provider/nameservice/directoryservice.rb:219:in
 `generate_attribute_hash'
        from 
/Library/Ruby/Gems/1.8/gems/puppet-0.25.2/lib/puppet/provider/nameservice/directoryservice.rb:255:in
 `single_report'
        from 
/Library/Ruby/Gems/1.8/gems/puppet-0.25.2/lib/puppet/provider/nameservice/directoryservice.rb:524:in
 `getinfo'
        from 
/Library/Ruby/Gems/1.8/gems/puppet-0.25.2/lib/puppet/provider/nameservice.rb:221:in
 `exists?'
        from 
/Library/Ruby/Gems/1.8/gems/puppet-0.25.2/lib/puppet/type/user.rb:56:in 
`retrieve'
        from 
/Library/Ruby/Gems/1.8/gems/puppet-0.25.2/lib/puppet/type/user.rb:261:in 
`retrieve'
        from 
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in
 `inject'
        from 
/Library/Ruby/Gems/1.8/gems/puppet-0.25.2/lib/puppet/type/user.rb:255:in `each'
        from 
/Library/Ruby/Gems/1.8/gems/puppet-0.25.2/lib/puppet/type/user.rb:255:in 
`inject'
        from 
/Library/Ruby/Gems/1.8/gems/puppet-0.25.2/lib/puppet/type/user.rb:255:in 
`retrieve'
        from 
/Library/Ruby/Gems/1.8/gems/puppet-0.25.2/lib/puppet/application/ralsh.rb:94:in 
`main'
        from 
/Library/Ruby/Gems/1.8/gems/puppet-0.25.2/lib/puppet/application.rb:226:in 
`send'
        from 
/Library/Ruby/Gems/1.8/gems/puppet-0.25.2/lib/puppet/application.rb:226:in 
`run_command'
        from 
/Library/Ruby/Gems/1.8/gems/puppet-0.25.2/lib/puppet/application.rb:217:in `run'
        from 
/Library/Ruby/Gems/1.8/gems/puppet-0.25.2/lib/puppet/application.rb:306:in 
`exit_on_fail'
        from 
/Library/Ruby/Gems/1.8/gems/puppet-0.25.2/lib/puppet/application.rb:217:in `run'
        from /Library/Ruby/Gems/1.8/gems/puppet-0.25.2/bin/ralsh:89
        from /usr/bin/ralsh:19:in `load'
        from /usr/bin/ralsh:19
</pre>

Not to say it should return data but it should fail cleaner.


-- 
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://reductivelabs.com/redmine/my/account
--
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected].
For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to