]> gitweb.fluxo.info Git - hydra.git/commitdiff
More jessie purging
authorSilvio Rhatto <rhatto@riseup.net>
Sun, 6 Mar 2016 02:29:25 +0000 (23:29 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sun, 6 Mar 2016 02:29:25 +0000 (23:29 -0300)
share/hydractl/system-upgrade

index 516063da98f56e50a53a0604e1e8d80b789697d3..72c528c97fae411df6474907bbf72c4c913bfc4f 100755 (executable)
@@ -132,7 +132,8 @@ function hydra_system_upgrade_custom {
   # Custom jessie stuff
   if [ "$nextrelease" == "jessie" ]; then
     # We're going masterless, so no puppet and old services
-    apt-get purge puppet 'munin*' 'nagios*'
+    apt-get purge puppet 'munin*' 'nagios*' -y
+    rm -rf /etc/munin/plugins/
   fi
 
   hydractl trac-upgrade