summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2016-10-18 11:28:03 -0400
committerMicah Anderson <micah@riseup.net>2016-10-18 11:30:26 -0400
commit0bafc5e17a465969673e6807d3e6e7d7668ec481 (patch)
treeb7209d377a0ba3e06642654751992363c22919ba /bin
parent17ecb63304e315be248fe754d14d240749ee2d89 (diff)
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.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/node_init2
1 files changed, 2 insertions, 0 deletions
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
#