Issue #10271 has been updated by Daniel Pittman.

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

Ken Barber wrote:
> Hey marcus - the patch looks great. So the ticket also covers the 
> operatingsystemrelease fact, which at the moment is using lsb. It would be 
> awesome if you could solve that as well :-).

I merged the code, because while it would be great to get the extra change, it 
doesn't seem necessary to delay this code waiting for a convenient but not 
directly blocking change.
----------------------------------------
Bug #10271: Amazon Linux operatingsytem and operatingsystemrelease and osfamily 
facts do not work
https://projects.puppetlabs.com/issues/10271

Author: Dan Bode
Status: Merged - Pending Release
Priority: Normal
Assignee: Marcus Ferreira
Category: library
Target version: 1.6.5
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