Setup backports and ensure python-cryptography
Make sure that the jessie-backports repository is available and that the python-cryptography package from that repository is used.
This commit is contained in:
parent
ae4389759d
commit
95b2e521eb
3 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
base:
|
||||||
|
pkgrepo.managed:
|
||||||
|
- name: deb http://httpredir.debian.org/debian jessie-backports main
|
||||||
|
- file: /etc/apt/sources.list.d/backports.list
|
||||||
|
|
||||||
base-packages:
|
base-packages:
|
||||||
pkg.installed:
|
pkg.installed:
|
||||||
- pkgs:
|
- pkgs:
|
||||||
|
|
|
@ -12,8 +12,9 @@ gnuviechadmin-dev-packages:
|
||||||
- pkg: gnuviechadmin-packages
|
- pkg: gnuviechadmin-packages
|
||||||
|
|
||||||
python-cryptography:
|
python-cryptography:
|
||||||
pkg.installed:
|
pkg.latest:
|
||||||
- reload_modules: true
|
- reload_modules: true
|
||||||
|
- fromrepo: jessie-backports
|
||||||
|
|
||||||
{% import "webserver/sslcert.macros.sls" as sslcert %}
|
{% import "webserver/sslcert.macros.sls" as sslcert %}
|
||||||
|
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
- bits: {{ salt['pillar.get']('nginx:keylength:' + domain_name, 2048) }}
|
- bits: {{ salt['pillar.get']('nginx:keylength:' + domain_name, 2048) }}
|
||||||
- require:
|
- require:
|
||||||
- file: {{ nginx_ssl_keydir }}
|
- file: {{ nginx_ssl_keydir }}
|
||||||
|
- pkg: python-cryptography
|
||||||
- require_in:
|
- require_in:
|
||||||
- file: /etc/nginx/sites-available/{{ domain_name }}
|
- file: /etc/nginx/sites-available/{{ domain_name }}
|
||||||
- service: nginx
|
- service: nginx
|
||||||
|
|
Loading…
Reference in a new issue