Add python-cryptography from backports
This commit makes sure that a recent enough python-cryptography version is installed before the first salt highstate run.
This commit is contained in:
parent
b72b6c960d
commit
ae4389759d
1 changed files with 5 additions and 0 deletions
|
@ -1,5 +1,10 @@
|
||||||
#!/bin/sh -
|
#!/bin/sh -
|
||||||
|
|
||||||
|
echo "deb http://httpredir.debian.org/debian jessie-backports main" >/etc/apt/sources.list.d/backports.list
|
||||||
|
|
||||||
|
apt-get update
|
||||||
|
apt-get install -y -t jessie-backports python-cryptography
|
||||||
|
|
||||||
# We just download the bootstrap script by default and execute that.
|
# We just download the bootstrap script by default and execute that.
|
||||||
if [ -x /usr/bin/fetch ]; then
|
if [ -x /usr/bin/fetch ]; then
|
||||||
/usr/bin/fetch -o - https://raw.githubusercontent.com/saltstack/salt-bootstrap/stable/bootstrap-salt.sh | sh -s -- "$@"
|
/usr/bin/fetch -o - https://raw.githubusercontent.com/saltstack/salt-bootstrap/stable/bootstrap-salt.sh | sh -s -- "$@"
|
||||||
|
|
Loading…
Reference in a new issue