Issue #14366 has been updated by Jeff McCune.

Category set to cloud - ec2
Status changed from In Topic Branch Pending Review to Needs More Information
Assignee set to Jeff McCune

K White wrote:
> Still an issue, on old (2 yr+) & new (latest) versions of Amazon Linux 
> [identical results as ec2-user & root]:

Martijn, Ramin, Kevin, K White, if you could easily configure your instances to 
install up to date packages from our own repository, would this be an 
acceptable solution to this issue?

It looks like this issue is fixed in recent versions of Facter.  I think Amazon 
simply needs to update the version of Facter they make available to the AMI.  I 
checked facter on amzn-ami-pv-2012.09.0.x86_64-ebs (ami-1624987f) and here's 
what I get:

<pre>
[ec2-user@ip-10-204-211-77] (master)(dirty)[██▁]~/src/facter 
$ bundle exec facter virtual
xenu
[ec2-user@ip-10-204-211-77] (master)(dirty)[██▁]~/src/facter 
$ bundle exec facter is_virtual
true
[ec2-user@ip-10-204-211-77] (master)(dirty)[██▁]~/src/facter 
$ git describe
1.6.17-467-g05f2519
</pre>

I recommend working with Amazon and Canonical respectively to get more up to 
date packages in EC2.  I also note that it's not trivial to install Puppet and 
Facter from our own repository using the Amazon 2012.09 AMI.

-Jeff
----------------------------------------
Bug #14366: virtual => physical and is_virtual => false on EC2
https://projects.puppetlabs.com/issues/14366#change-81681

Author: Kevin O'Connor
Status: Needs More Information
Priority: Normal
Assignee: Jeff McCune
Category: cloud - ec2
Target version: 
Keywords: 
Branch: 
Affected Facter version: 1.6.8


As described:

    [root@production-web-d95fb6bf ~]# facter | grep -i virtual
    ec2_profile => default-paravirtual
    is_virtual => false
    virtual => physical
    [root@production-web-d95fb6bf ~]# facter --version
    1.6.8
    [root@production-web-d95fb6bf ~]# cat /etc/*-release
    Amazon Linux AMI release 2012.03

is_virtual should be true, right?


-- 
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].
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