change to salt 3001.1, fix dupe state name, add git branch option to soup

This commit is contained in:
m0duspwnens
2020-07-27 17:53:02 -04:00
parent 7606cc0ad0
commit e811718ebc
4 changed files with 16 additions and 10 deletions
+3 -3
View File
@@ -253,7 +253,7 @@ fbcertdir:
- name: /opt/so/conf/filebeat/etc/pki
- makedirs: True
/etc/pki/filebeat.key:
/opt/so/conf/filebeat/etc/pki/filebeat.key:
x509.private_key_managed:
- CN: {{ manager }}
- bits: 4096
@@ -261,9 +261,9 @@ fbcertdir:
- days_valid: 820
- backup: True
- new: True
{% if salt['file.file_exists']('/etc/pki/filebeat.key') -%}
{% if salt['file.file_exists']('/opt/so/conf/filebeat/etc/pki/filebeat.key') -%}
- prereq:
- x509: /etc/pki/filebeat.crt
- x509: /opt/so/conf/filebeat/etc/pki/filebeat.crt
{%- endif %}
# Request a cert and drop it where it needs to go to be distributed