The salt installation script is currently failing, when called as noted here:
https://docs.saltstack.com/en/getstarted/fundamentals/install.html
The documented installation procedure is:
curl -L https://bootstrap.saltstack.com -o install_salt.sh sudo sh install_salt.sh -M
But PureOS is unknown to the installation script.
It could be fixed with this patch:
--- ./install_salt.sh 2018-11-29 21:25:45+01 1.1 +++ ./install_salt.sh 2018-11-29 22:00:59+01 @@ -1425,7 +1425,7 @@ # If the file does not exist, return [ ! -f /etc/os-release ] && return - DEBIAN_DERIVATIVES="(cumulus_.+|devuan|kali|linuxmint|raspbian)" + DEBIAN_DERIVATIVES="(cumulus_.+|devuan|kali|linuxmint|raspbian|pureos)" # Mappings cumulus_2_debian_base="7.0" cumulus_3_debian_base="8.0" @@ -1435,6 +1435,7 @@ linuxmint_1_debian_base="8.0" raspbian_8_debian_base="8.0" raspbian_9_debian_base="9.0" + pureos_8_debian_base="9.0" # Translate Debian derivatives to their base Debian version match=$(echo "$DISTRO_NAME_L" | grep -E ${DEBIAN_DERIVATIVES}) @@ -1461,6 +1462,10 @@ _major=$(echo "$DISTRO_VERSION" | sed 's/^\([0-9]*\).*/\1/g') _debian_derivative="raspbian" ;; + pureos) + _major=$(echo "$DISTRO_VERSION" | sed 's/^\([0-9]*\).*/\1/g') + _debian_derivative="pureos" + ;; esac _debian_version=$(eval echo "\$${_debian_derivative}_${_major}_debian_base" 2>/dev/null)
A bug report to SaltStack should be raised.