Issue #2077 has been updated by nigelk2.

Status changed from Accepted to Ready for Checkin


----------------------------------------
Bug #2077: ralsh user is busticated on OS X
http://projects.reductivelabs.com/issues/2077

Author: andrew
Status: Ready for Checkin
Priority: Normal
Assigned to: nigelk2
Category: 
Target version: 0.24.8
Complexity: Trivial
Affected version: 0.24.7
Keywords: 


/Users/andrew/git/puppet/lib/puppet/provider/nameservice/directoryservice.rb:121:in
 `get_macosx_version_major': undefined local variable or method `detail' for 
Puppet::Type::User::ProviderDirectoryservice:Class (NameError)
        from 
/Users/andrew/git/puppet/lib/puppet/provider/nameservice/directoryservice.rb:268:in
 `get_exec_preamble'
        from 
/Users/andrew/git/puppet/lib/puppet/provider/nameservice/directoryservice.rb:137:in
 `list_all_present'
        from 
/Users/andrew/git/puppet/lib/puppet/provider/nameservice/directoryservice.rb:94:in
 `instances'
        from /Users/andrew/git/puppet/lib/puppet/type.rb:1238:in `instances'
        from /Users/andrew/git/puppet/lib/puppet/type.rb:1237:in `collect'
        from /Users/andrew/git/puppet/lib/puppet/type.rb:1237:in `instances'
        from /Users/andrew/git/puppet/bin/ralsh:247

There is an issue because 'detail' doesn't exist. This is trying to raise, and 
building a string that doesn't make sense.

This is about line 121 of lib/puppet/provider/nameservice/directoryservice.rb

product_version = Facter.value(:macosx_productversion)
    if product_version.nil?
       raise Puppet::Error, "Could not determine OS X version: %s" % detail
    end

When I run facter by itself:
baraka:~ andrew$ facter | grep productversion
macosx_productversion => 10.5.5

We need CI for ralsh...


----------------------------------------
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