Merge pull request #4 from treydock/master

Fix gpgkey path and add rspec test coverage
Ensure that puppetlabs_yum doesn't do crazy things on top of PE.

Prior to this commit, runnign this module on a system running Puppet Enterprise
would just install the FOSS repos. This can lead to unpredictable behavior for
PE users, and generally non-goodness.

This commit creates a custom fact to determine if pe-puppet-enterprise-release
is installed. If it is, we just noop the module. This allows for all systems to
have this modules setup and classified while still retraining relatively sane
and expected behavior.
Readying for 0.1.3
Fix issue #5.

Prior to this commit there was a bug where puppet thought that every
installation of puppet was Puppet Enterprise. This fixes the logic so
that it should Do The Right Thing(tm) based on if you have
pe-puppet-enterprise-release installed or not.
Fix issue #7. Confine fact properly.

This should confine the fact to only happening on systems where yum
would make sense (like osfamily being RedHat).
If pper_installed is unef, fall through to FOSS error message

Prior to this commit, if you were on a non-yum using system you would
get a mesage saying you were not configuring puppetlabs_yum because you
had Puppet Enterprise installed. This simply wasn't true. Logic now
fixed to ensure if you're on a non-yum system it errors out with a
correct message.

This resolves and item brough up in issue #5.
Update module 0.0.14
Stop hard-coding (even with variables) Yum configuration

Prior to this commit, we were figuring out the $os_maj_verion and building that
in as the url parameter in the baseurl for the os version. This was fine until
you wanted to do a rolling upgrade all in one bang (using something like
fedup). This fix should reset the url parameter to be yum's $releasever rather
than a static string that puppet lays down.
Fixing rpm_gpg_key check for existing key installed to work. Otherwise it keeps on re-importing the key every puppet agent run (at least on AmazonLinux).
Merge pull request #8 from salekseev/bugfix-rpm_gpg_key

Fixing rpm_gpg_key check for existing key installed to work.
Refactor
* Add parameters to override all yumrepo resource baseurl and descr properties
* Add enable_products and enable_deps parameters
* Replace rpm_gpg_key defined type with gpg_key provider
* Add parameter to params class to allow hiera to override base URL for all repos
* Update to correct puppetlabs GPG key
* Completely refactor unit tests into shared examples
* Use puppet-lint Rake task configuration
* Added dependencies on puppetlabs-stdlib and treydock-gpg_key
* Add all supported puppet versions to travis-ci tests