Issue #10271 has been updated by Ken Barber.

Status changed from Needs Decision to In Topic Branch Pending Review


----------------------------------------
Bug #10271: Amazon Linux operatingsytem and operatingsystemversion and osfamily 
facts do not work
https://projects.puppetlabs.com/issues/10271

Author: Dan Bode
Status: In Topic Branch Pending Review
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.

Reply via email to