Issue #18298 has been updated by Jeff McCune.

Status changed from In Topic Branch Pending Review to Merged - Pending Release
Target version changed from 3.0.x to 3.1.0

Merged into master as 5025fa5.

This should be released in 3.1.0.

Thanks again for the contribution!

-Jeff
----------------------------------------
Bug #18298: user resource type - OEL renamed to OracleLinux
https://projects.puppetlabs.com/issues/18298#change-79895

Author: Mike Rochford
Status: Merged - Pending Release
Priority: Normal
Assignee: 
Category: user
Target version: 3.1.0
Affected Puppet version: 3.0.1
Keywords: useradd
Branch: 


Oracle has changed the name of their distribution.  This change effects how the 
managehome attribute within the users resource functions.  

The operatingsystem fact reports the OS as : OracleLinux

The code within the useradd.rb does not have a match for the name 
"OracleLinux". 

<snippet /usr/lib/ruby/site_ruby/1.8/puppet/provider/user/useradd.rb t>
def check_manage_home
    cmd = []
    if @resource.managehome?
      cmd << "-m"
    elsif %w{Fedora RedHat CentOS OEL 
OVS}.include?(Facter.value(:operatingsystem))
      cmd << "-M"
    end
    cmd
  end
</snippet>



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

Reply via email to