From b780bedd9752f717473b42a27a51a800a14a825f Mon Sep 17 00:00:00 2001 From: Mike Reeves Date: Wed, 21 Feb 2018 16:24:14 -0500 Subject: [PATCH] PCAP Salt Module - add the steno user --- salt/pcap/init.sls | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/salt/pcap/init.sls b/salt/pcap/init.sls index f0b00b2a2..32eca06d8 100644 --- a/salt/pcap/init.sls +++ b/salt/pcap/init.sls @@ -15,6 +15,19 @@ # PCAP Section +# Create the logstash group +stenographergroup: + group.present: + - name: stenographer + - gid: 941 + +# Add the logstash user for the jog4j settings +stenographer: + user.present: + - uid: 941 + - gid: 941 + - home: /opt/so/conf/steno + stenoconfdir: file.directory: - name: /opt/so/conf/steno @@ -45,7 +58,7 @@ pcapindexdir: - makedirs: True so-steno: - dockerng.running: + docker_container.running: - image: toosmooth/so-steno:test2 - network_mode: host - user: 941