diff --git a/sumologic/defaults.json b/sumologic/defaults.json index b5667c4..6fd0f22 100644 --- a/sumologic/defaults.json +++ b/sumologic/defaults.json @@ -2,6 +2,6 @@ { "accessid": "access_id", "accesskey": "access_key", - "sources": "/sumo/sumo.json" + "sources": "/sumo/sources.json" } {% endload %} diff --git a/sumologic/files/sources.json b/sumologic/files/sources.json new file mode 100644 index 0000000..f12a853 --- /dev/null +++ b/sumologic/files/sources.json @@ -0,0 +1,8 @@ +{ + "api.version": "v1", + "installer": { + "name": "None", + "order": 1000, + "description": "Do not install sources" + } +} diff --git a/sumologic/install.sls b/sumologic/install.sls index 8250ded..e2e8f2a 100644 --- a/sumologic/install.sls +++ b/sumologic/install.sls @@ -10,6 +10,13 @@ - group: root - mode: 555 +/sumo/sources.json: + file.managed: + - user: root + - group: root + - mode: 400 + - source: salt://sumologic/files/sources.json + /sumo/sumo.config: file.managed: - user: root