summarylogtreecommitdiffstats
path: root/salt.install
diff options
context:
space:
mode:
authorzer0def2020-01-21 14:33:30 +0100
committerzer0def2020-01-21 14:36:22 +0100
commitaf1ad2b1ccfc829a0c9315873c78af48bdb4c4db (patch)
treee6161723910f71dbc3aa706b2485e6dc27c0a0f1 /salt.install
downloadaur-af1ad2b1ccfc829a0c9315873c78af48bdb4c4db.tar.gz
2019.2.3
Diffstat (limited to 'salt.install')
-rw-r--r--salt.install22
1 files changed, 22 insertions, 0 deletions
diff --git a/salt.install b/salt.install
new file mode 100644
index 000000000000..804b1b86839e
--- /dev/null
+++ b/salt.install
@@ -0,0 +1,22 @@
+#!/bin/bash
+
+# arg 1: the new package version
+# arg 2: the old package version
+post_upgrade() {
+ if [[ "$(vercmp $2 2014.1.1-1)" -le 0 ]]; then
+ cat << EOF
+==> Since version 2014.1.1-2, salt-master runs by default as root user.
+==> You need to manually update your configuration and remove the salt user and
+==> group to follow the new default behavior.
+EOF
+ fi
+
+ if [[ "$(vercmp $2 2016.3.3-1)" -le 0 ]]; then
+ cat << EOF
+==> Since version 2016.3.3-2 RAET is no longer supported. Please switch to either
+==> zeromq or tcp for transport instead.
+EOF
+ fi
+}
+
+# vim:set ts=2 sw=2 ft=sh et: