Move python-pip include to a class.

You can't have two different classes install the same package (FAIL)
But you can have two different classes include the same class, so
by encapsulating the "install pip" code into a module, we can safely
consume it across multiple modules.

Sometimes I really hate puppet.

Change-Id: I3467c52b6887298c1b4d01a29873c63edf0adfd3
This commit is contained in:
Monty Taylor 2012-07-23 11:54:48 -05:00
commit c0c1a08acd
1 changed files with 12 additions and 0 deletions

12
manifests/init.pp Normal file
View File

@ -0,0 +1,12 @@
class pip {
package { "python-all-dev":
ensure => present
}
package { "python-pip":
ensure => present,
require => Package[python-all-dev]
}
}