0
0
mirror of https://github.com/saltstack-formulas/letsencrypt-sh-formula.git synced 2024-11-28 01:18:02 +01:00
letsencrypt-sh-formula/letsencrypt-sh/config.sls
2016-12-12 16:07:16 +01:00

23 lines
533 B
Plaintext

# -*- coding: utf-8 -*-
# vim: ft=sls
{% from "letsencrypt-sh/map.jinja" import letsencrypt_sh with context %}
letsencrypth-sh-config:
file.managed:
- name: {{ letsencrypt_sh.config_file }}
- source: salt://letsencrypt-sh/files/config
- mode: 644
- user: root
- group: root
- template: jinja
letsencrypt-sh-domains:
file.managed:
- name: {{ letsencrypt_sh.domains_txt }}
- source: salt://letsencrypt-sh/files/domains.txt
- mode: 644
- user: root
- group: root
- template: jinja