]> gitweb.fluxo.info Git - hydra.git/commitdiff
Going masterless on jessie
authorSilvio Rhatto <rhatto@riseup.net>
Sun, 6 Mar 2016 01:42:18 +0000 (22:42 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sun, 6 Mar 2016 01:42:18 +0000 (22:42 -0300)
lib/hydra/deploy
share/hydractl/system-upgrade

index 34137d6ff01b2aa10464a8b3cd85833b90da88c3..cce2305cdd10136536ea307d044a5b323b6c09e5 100644 (file)
@@ -4,7 +4,7 @@
 function hydra_deploy_setup {
   # Common parameters
   # Exclude eventual keys and version control files
-  DEPLOY_DEPENDENCIES="puppet ruby-sqlite3 ruby-activerecord ruby-activerecord-deprecated-finders"
+  DEPLOY_DEPENDENCIES="puppet-common ruby-sqlite3 ruby-activerecord ruby-activerecord-deprecated-finders"
   DEPLOY_RSYNC="rsync -CrltDvpq --no-owner --exclude=/ssl --exclude=keys --exclude=site_keys --exclude=hiera/secrets --delete --rsync-path"
   RSYNC_PATH="rsync -q"
 
index 05f4bc5cfc09549cbfca9ecd3879193276d251bf..c94216a6b302ce99e3ca0e60ede7f75ebdcc3a74 100755 (executable)
@@ -136,9 +136,11 @@ function hydra_system_upgrade_cleanup {
 
 # Custom upgrade procedures
 function hydra_system_upgrade_custom {
-  #if [ "$nextrelease" == "jessie" ]; then
-  #  # Do your custom jessie stuff here
-  #fi
+  # Custom jessie stuff
+  if [ "$nextrelease" == "jessie" ]; then
+    # We're going masterless, so no puppet service
+    apt-get remove puppet
+  fi
 
   hydractl trac-upgrade
   #hydra_system_upgrade_stage puppet