This is a rebase to the upstream of 1.6.15. This should be a backward
compatible release with what is currently in Fedora/EPEL. The known
issue of openstack/ec2 fact exception handling has been resolved in
1.6.15.
This commit also adds the .asc file back as it used by facter
maintainers during package creation.
Signed-off-by: Michael Stahnke <stahnma@puppetlabs.com>
This is a patch to rebase facter to 1.6.14 for rawhide (and should be a
clean change in F17). Note I had to add a requires on rpsec (not just
rspec-core) to make this build cleanly in the %%check phase.
This patch also removes the asc file, as it is never (and has never
been) used in the process of making the facter package.
rpmlint looks reasonable to me upon build.
Bugzilla: 871211
Signed-off-by: Michael Stahnke <stahnma@puppetlabs.com>
Older releases fail with:
undefined method `unstub' for #<Mocha::ClassMethods::AnyInstance:0x7fe0dcca8388>
This may be due to an older version of mocha, but isn't something I'm
going to track down today.
The move to ruby-1.9 in Feodra 17 means we have to take different
installation locations into account. The ruby(abi) requirement also
needs to be changed.
Also drop %%has_ruby_{abi,noarch} macros. All supported releases have
these.
The virtual fact makes use of lspci from pciutils in addition to
dmidecode. Various facts use commands from the net-tools package (arp,
dnsdomainname, hostname, and ifconfig).
Several facts imlicitly relied upon dmidecode without checking that it
was available. Ensure that these facts work as intended.
Refer to http://projects.puppetlabs.com/issues/11041 for details.