From 0bafc5e17a465969673e6807d3e6e7d7668ec481 Mon Sep 17 00:00:00 2001 From: Micah Anderson Date: Tue, 18 Oct 2016 11:28:03 -0400 Subject: Do a dist-upgrade in 'node init'. Starting with a recent debian stable point release update, it is possible that the system is in an inconsistent library state. For example, puppet could not be run because the libraries on the system were not the ones that the puppet package was built against. So that means that deploys could not happen until we've dont a dist-upgrade. --- bin/node_init | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bin/node_init') diff --git a/bin/node_init b/bin/node_init index 12d491c4..b55cfed3 100755 --- a/bin/node_init +++ b/bin/node_init @@ -52,6 +52,8 @@ if [[ $error_count > 0 ]]; then exit 1 fi +/usr/bin/apt-get -q -y -o 'DPkg::Options::=--force-confold' dist-upgrade + # # UPDATE TIME # -- cgit v1.2.3