summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSpencer Krum <nibz@spencerkrum.com>2016-06-16 08:50:13 -0700
committerSpencer Krum <nibz@spencerkrum.com>2016-06-16 08:55:46 -0700
commita099343d806124a1c72764d91153743687098b68 (patch)
treee3283121ca41d9cc147b974a8b75db1e688c458d
parenta4187111d003f28b20492db5f432ff961556b726 (diff)
Declare features in openstack_pip provider
Puppet providers can express what features they can provide using the has_features variable. The declaration of features isn't inherited, so we need to declare the features that we inherited from the core pip provider. Change-Id: I2f4c6254bb7f45649658d6a6b296ea1270ce6364
Notes
Notes (review): Code-Review+2: Colleen Murphy <colleen@gazlene.net> Workflow+1: Colleen Murphy <colleen@gazlene.net> Code-Review+2: Monty Taylor <mordred@inaugust.com> Code-Review+1: Philip Marc Schwartz <pschwar@linux.vnet.ibm.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Thu, 16 Jun 2016 18:02:08 +0000 Reviewed-on: https://review.openstack.org/330657 Project: openstack-infra/puppet-pip Branch: refs/heads/master
-rw-r--r--lib/puppet/provider/package/openstack_pip.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/puppet/provider/package/openstack_pip.rb b/lib/puppet/provider/package/openstack_pip.rb
index be8e921..105f838 100644
--- a/lib/puppet/provider/package/openstack_pip.rb
+++ b/lib/puppet/provider/package/openstack_pip.rb
@@ -7,6 +7,8 @@ Puppet::Type.type(:package).provide(:openstack_pip, :parent => :pip) do
7 7
8 desc "Python packages via `pip` with mirrors." 8 desc "Python packages via `pip` with mirrors."
9 9
10 has_feature :installable, :uninstallable, :upgradeable, :versionable
11
10 commands :pip => 'pip' 12 commands :pip => 'pip'
11 13
12 def self.outdated 14 def self.outdated