From ae4389759d4f6e9edcb08760785393e2623fa9c9 Mon Sep 17 00:00:00 2001 From: Jan Dittberner Date: Sat, 24 Sep 2016 23:50:52 +0200 Subject: [PATCH] Add python-cryptography from backports This commit makes sure that a recent enough python-cryptography version is installed before the first salt highstate run. --- bootstrap.sh.tmpl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bootstrap.sh.tmpl b/bootstrap.sh.tmpl index 902a548..5a4245e 100755 --- a/bootstrap.sh.tmpl +++ b/bootstrap.sh.tmpl @@ -1,5 +1,10 @@ #!/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. if [ -x /usr/bin/fetch ]; then /usr/bin/fetch -o - https://raw.githubusercontent.com/saltstack/salt-bootstrap/stable/bootstrap-salt.sh | sh -s -- "$@"