aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2021-12-31 09:27:11 -0300
committerSilvio Rhatto <rhatto@riseup.net>2021-12-31 09:27:11 -0300
commitcdf470e3aaf5983ea10009c8b5fc457491b14c29 (patch)
treef8de0701b79da591c8fcded322c55d56a6d66807
parent1520ed9c229a95417da5433980d8c05514136ef5 (diff)
downloadhydra-cdf470e3aaf5983ea10009c8b5fc457491b14c29.tar.gz
hydra-cdf470e3aaf5983ea10009c8b5fc457491b14c29.tar.bz2
Fix: switch puppet-common dependency
-rw-r--r--lib/hydra/deploy2
-rwxr-xr-xshare/hydractl/dist-upgrade4
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/hydra/deploy b/lib/hydra/deploy
index 713a53e..ed281d1 100644
--- a/lib/hydra/deploy
+++ b/lib/hydra/deploy
@@ -5,7 +5,7 @@ function hydra_deploy_setup {
# Common parameters
# Exclude eventual keys and version control files
#DEPLOY_DEPENDENCIES="puppet-common ruby-sqlite3 ruby-activerecord ruby-activerecord-deprecated-finders augeas-tools"
- DEPLOY_DEPENDENCIES="rsync puppet-common hiera-eyaml python3"
+ DEPLOY_DEPENDENCIES="rsync puppet hiera-eyaml python3"
DEPLOY_RSYNC="rsync -CrltDvpq --no-owner --exclude=/ssl --exclude=keys --exclude=site_keys --exclude=config/secrets --delete --rsync-path"
RSYNC_PATH="rsync -q"
diff --git a/share/hydractl/dist-upgrade b/share/hydractl/dist-upgrade
index 9ac3301..c59a1ae 100755
--- a/share/hydractl/dist-upgrade
+++ b/share/hydractl/dist-upgrade
@@ -165,8 +165,8 @@ function hydra_system_upgrade_custom {
if [ "$nextrelease" == "jessie" ]; then
# We're using a masterless puppet setup, so no agent
- apt-get install puppet-common
- apt-get purge puppet
+ apt-get install -y puppet-common
+ apt-get purge -y puppet
# Purge old monitoring infrastructure
apt-get purge 'munin*' 'nagios*'