Allow multiple places to install curl
Curl is an important package that we end up needing in a few places. To avoid puppet unique name conflicts with the package "curl" only define the curl package resource if it isn't already defined. This allows us to define it in multiple places that may or may not overlap depending on how hosts are constructed. Change-Id: I17c119e81a035916550de44356b9f4badd505c81
This commit is contained in:
parent
d24b14fb0e
commit
4c99e995a8
|
@ -157,9 +157,11 @@ class openstackid (
|
|||
}
|
||||
|
||||
# the deploy scripts use the curl CLI
|
||||
if !defined(Package['curl']) {
|
||||
package { 'curl':
|
||||
ensure => present,
|
||||
}
|
||||
}
|
||||
|
||||
# install nodejs default version
|
||||
class { '::nodejs':
|
||||
|
|
Loading…
Reference in New Issue