summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2014-03-25 22:25:08 +0100
committervarac <varacanero@zeromail.org>2014-03-25 22:25:08 +0100
commitc946f47448e0b902d227492c33c5f56998a82875 (patch)
treea78e760da55f59a5884092bf88db4ce2e69483e2
parenta8c9d80317240d86cb7de652c23efbd7bc81bde2 (diff)
couch node: same packages removed on every (second ?) puppetrun (Feature #5018)
-rw-r--r--puppet/modules/site_config/manifests/packages/base.pp8
1 files changed, 5 insertions, 3 deletions
diff --git a/puppet/modules/site_config/manifests/packages/base.pp b/puppet/modules/site_config/manifests/packages/base.pp
index 9d416043..9f802771 100644
--- a/puppet/modules/site_config/manifests/packages/base.pp
+++ b/puppet/modules/site_config/manifests/packages/base.pp
@@ -17,10 +17,12 @@ class site_config::packages::base {
ensure => absent;
}
- if $::site_config::params::environment == 'local' or $::services =~ /\bwebapp\b/ {
- $dev_packages_ensure = present
+ if $::site_config::params::environment == 'local'
+ or $::services =~ /\bwebapp\b/
+ or $::services =~ /\bcouchdb\b/ {
+ $dev_packages_ensure = present
} else {
- $dev_packages_ensure = absent
+ $dev_packages_ensure = absent
}
# g++ and ruby1.9.1-dev are needed for nickserver/eventmachine (#4079)