Issue #18298 has been reported by Mike Rochford.
----------------------------------------
Bug #18298: user resource type - OEL renamed to OracleLinux
https://projects.puppetlabs.com/issues/18298
Author: Mike Rochford
Status: Unreviewed
Priority: Normal
Assignee:
Category: user
Target version: 3.0.x
Affected Puppet version: 3.0.1
Keywords:
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.