Issue #10271 has been updated by Marcus Ferreira.
Status changed from Accepted to Needs Decision
% Done changed from 0 to 100
Estimated time set to 1.00
Affected Facter version changed from 1.6.3 to 1.6.4
Hello,
On github I made a pull request with a fix for this issue:
https://github.com/mv/facter/commit/4c10731575abd249d0914260f351225bc4cfadde
I tested it and is working fine in my instances of Amazon Linux 2011.09.
I hope it can be useful.
Marcus
----------------------------------------
Bug #10271: Amazon Linux operatingsytem and operatingsystemversion and osfamily
facts do not work
https://projects.puppetlabs.com/issues/10271
Author: Dan Bode
Status: Needs Decision
Priority: Normal
Assignee: Adrien Thebo
Category: library
Target version: 1.6.x
Keywords: amazonlinux
Branch:
Affected Facter version: 1.6.4
I am using the latest AMI (ami-7f418316) for Amazon Linux and it has no
/etc/redhat-release
In the documentation
(http://docs.amazonwebservices.com/AWSEC2/latest/UserGuide/index.html?LinuxAMIUserGuide.html)
it states that /etc/system-release should be used to determine current release:
<pre>
Amazon linux AMIs contain a /etc/system-release file that specifies the current
release that is installed. This file is updated through yum and is part of the
system-release rpm.
Following is an example of /etc/system-release file:
# cat /etc/system-release
Amazon Linux AMI release 2011.09
An Amazon Linux AMI also contains a machine readable version of the
/etc/system-release file found in /etc/system-release-cpe and follows the CPE
specification from MITRE (CPE).
</pre>
<pre>
# cat /etc/system-release
Amazon Linux AMI release 2011.09
</pre>
It looks like release version is 2011.09, I am not sure how to map that to
rhel5/rhel6
--
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.