Issue #20269 has been updated by Brandon Burton.

There are two work-arounds to get you going. I've tested both and am currently 
using #2

1. Download the CentOS RPM and manually installing using the best method for 
your environment
 * 
http://rpm.pbone.net/index.php3/stat/4/idpl/20348734/dir/centos_6/com/virt-what-1.11-1.2.el6.x86_64.rpm.html
 * 
http://rpm.pbone.net/index.php3/stat/4/idpl/20342433/dir/centos_6/com/virt-what-1.11-1.2.el6.i686.rpm.html

2. Take the CentOS rpm and put it in your internal yum repository, if you run 
one. Mozilla uses mrepo and so I put the current rpms in our internal 
repository and then yum is able to satisfy the dependency.

----------------------------------------
Bug #20269: Facter 1.7 fails to install on Amazon Linux because Amazon Linux 
does not provide a virt-what package
https://projects.puppetlabs.com/issues/20269#change-89853

* Author: Brandon Burton
* Status: Accepted
* Priority: Normal
* Assignee: Matthaus Owens
* Category: cloud - ec2
* Target version: 
* Keywords: 
* Branch: 
* Affected Facter version: 1.7.0
----------------------------------------
Facter 1.7 fails to install on Amazon Linux because Amazon Linux does not 
provide a virt-what package.

__Details on System:__

<pre>
[root@ec2-001 ]# cat /etc/issue
Amazon Linux AMI release 2013.03
Kernel \r on an \m
</pre>

__Example of issue:__

<pre>
[root@ec2-001 ]# yum update facter
Loaded plugins: priorities, security, update-motd, upgrade-helper
amzn-main                                                                       
                                                                           | 
2.1 kB     00:00
amzn-updates                                                                    
                                                                           | 
2.3 kB     00:00
985 packages excluded due to repository priority protections
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package facter.x86_64 1:1.6.17-1.el6 will be updated
---> Package facter.x86_64 1:1.7.0-1.el6 will be an update
--> Processing Dependency: virt-what for package: 1:facter-1.7.0-1.el6.x86_64
--> Finished Dependency Resolution
Error: Package: 1:facter-1.7.0-1.el6.x86_64 (puppetlabs)
           Requires: virt-what
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
</pre>

This was discovered when trying to Puppetize a new Amazon Linux EC2 instnace.


-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to 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