]> gitweb.fluxo.info Git - hydra.git/commitdiff
Fix: switch puppet-common dependency
authorSilvio Rhatto <rhatto@riseup.net>
Fri, 31 Dec 2021 12:27:11 +0000 (09:27 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Fri, 31 Dec 2021 12:27:11 +0000 (09:27 -0300)
lib/hydra/deploy
share/hydractl/dist-upgrade

index 713a53e2a664634c8ed2ee3db8d21149c579a04d..ed281d1147e3202904c50daeb6260beb6852210c 100644 (file)
@@ -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"
 
index 9ac3301f1f9649267bb395d30a45c8f7f73afe3a..c59a1ae927cec55fc0ce8c4e8530981e483b26eb 100755 (executable)
@@ -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*'