puppetlabs/puppet — pull request #1634 by jeffmccune (2013-05-03 19:12:27+00:00)
Title: (maint) Fix enc with storedconfigs failure on Fedora 18

Without this patch the acceptance test that exercises the behavior of
the ENC script when ActiveRecord storedconfigs is enabled fails on
Fedora 18. We need this to pass for the Puppet 3.2 release.

The root cause of this problem is that the test setup phase assumes the
package name for the sqlite ruby gem is rubygem-sqlite3-ruby. This is
true for CentOS and RHEL systems, but Fedora 18 uses a package name of
rubygem-sqlite3.

This patch addresses the problem by using a Puppet selector to change
the package name depending on the operating system of the system under
test.

Paired-with: Josh Partlow