From 49342d2148acb4796543bbec058abe8c073ce94e Mon Sep 17 00:00:00 2001 From: Liberty Young Date: Wed, 26 Aug 2015 13:53:04 -0700 Subject: [PATCH] move /sumo/sumo.config to correct location, /etc/sumo.conf --- sumologic/install.sls | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/sumologic/install.sls b/sumologic/install.sls index e2e8f2a..be42f56 100644 --- a/sumologic/install.sls +++ b/sumologic/install.sls @@ -17,7 +17,7 @@ - mode: 400 - source: salt://sumologic/files/sources.json -/sumo/sumo.config: +/etc/sumo.conf: file.managed: - user: root - group: root @@ -44,3 +44,9 @@ sumologic_installer: - file: /opt/sumo64.sh - file: /opt/SumoCollector - file: /sumo/sumo.config + +/etc/init.d/sumologic_collector: + file.symlink: + - target: /opt/SumoCollector/collector + - requires: + - file: sumologic_installer