Issue #6487 has been updated by Jacob Helwig. Status changed from Accepted to Available In Testing Branch
Gary, Josh and I have merged the changes you did, along with a few tests into `2.6.next` in commit:1ee6f949416a269cc7103dc1ae863fc0f91c7a8b ---------------------------------------- Bug #6487: directoryservice provider will fail in future OS releases https://projects.puppetlabs.com/issues/6487 Author: Clay Caviness Status: Available In Testing Branch Priority: Normal Assignee: Category: OSX Target version: 2.6.x Affected Puppet version: 2.6.4 Keywords: Branch: There are two case statements in directoryservice.rb that only match 10.4, 10.5, and 10.6. Future OSes (e.g. 10.7) will fail completely. <pre> 238 case self.get_macosx_version_major 239 when "10.4" 240 dscl_plist = self.parse_dscl_url_data(dscl_output) 241 when "10.5", "10.6" 242 dscl_plist = self.parse_dscl_plist_data(dscl_output) 243 end </pre> and <pre> 260 case self.get_macosx_version_major 261 when "10.4" 262 command_vector = [ command(:dscl), "-url", "." ] 263 when "10.5", "10.6" 264 command_vector = [ command(:dscl), "-plist", "." ] 265 end </pre> Probably the best method here is to default to the most recent, or at least raise some sort of error. As is, command_vector will be unset causing cascading failures elsewhere. -- 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 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.
