]> gitweb.fluxo.info Git - puppet-stdlib.git/commit
Add package_provider fact
authorAdam S <asa188@sfu.ca>
Sat, 26 Sep 2015 00:55:21 +0000 (17:55 -0700)
committerAdam S <asa188@sfu.ca>
Sat, 26 Sep 2015 00:55:21 +0000 (17:55 -0700)
commitce6e8679b68f984415adc90d74083fd787234709
tree56fd33d1e930ea94bb2f2f8a01dbd4a1a31ad4bc
parent4d1bca3359519e6303d9b3543c56426606c8eba3
Add package_provider fact

This adds a package_provider fact for situations where we need to be
able to know the client's package provider in a simple way.  Situations
such as: package { 'name': install_options => [] }  As those tend to be
package provider specific options.
lib/facter/package_provider.rb [new file with mode: 0644]
spec/unit/facter/package_provider_spec.rb [new file with mode: 0644]