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:
commit
c0c1a08acd
|
@ -0,0 +1,12 @@
|
|||
class pip {
|
||||
|
||||
package { "python-all-dev":
|
||||
ensure => present
|
||||
}
|
||||
|
||||
package { "python-pip":
|
||||
ensure => present,
|
||||
require => Package[python-all-dev]
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue