6bb34219ae
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
13 lines
165 B
Puppet
13 lines
165 B
Puppet
class pip {
|
|
|
|
package { "python-all-dev":
|
|
ensure => present
|
|
}
|
|
|
|
package { "python-pip":
|
|
ensure => present,
|
|
require => Package[python-all-dev]
|
|
}
|
|
|
|
}
|