diff --git a/salt/filebeat/init.sls b/salt/filebeat/init.sls index f9d40ea5b..3cabb22c5 100644 --- a/salt/filebeat/init.sls +++ b/salt/filebeat/init.sls @@ -30,6 +30,18 @@ filebeatconfsync: - group: 0 - template: jinja +# Create Symlinks to the keys so I can distribute it to all the things + +fbkeylink: + file.symlink: + - name: /opt/so/saltstack/salt/filebeat/files/filebeat.key + - target: /etc/pki/filebeat.key + +fbcrtlink: + file.symlink: + - name: /opt/so/saltstack/salt/filebeat/files/filebeat.crt + - target: /etc/pki/filebeat.crt + filebeatcrt: file.managed: - name: /opt/so/conf/filebeat/etc/pki/filebeat.crt