Issue #18298 has been updated by Charlie Sharpsteen.

Keywords changed from useradd to useradd customer

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

* Author: Mike Rochford
* Status: Closed
* Priority: Normal
* Assignee: 
* Category: user
* Target version: 3.1.0
* Affected Puppet version: 3.0.1
* Keywords: useradd customer
* 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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to