summarylogtreecommitdiffstats
path: root/salt.install
blob: 804b1b86839e84eef01eef4a060667e13cacb6b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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: