From 089eb010eb903bec68b1a171e9d2d244cd5c3311 Mon Sep 17 00:00:00 2001 From: = Date: Wed, 27 Jan 2021 15:12:45 +0100 Subject: [PATCH] the actual node group state file --- salt-master/nodegroups.sls | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 salt-master/nodegroups.sls diff --git a/salt-master/nodegroups.sls b/salt-master/nodegroups.sls new file mode 100644 index 0000000..9927c61 --- /dev/null +++ b/salt-master/nodegroups.sls @@ -0,0 +1,13 @@ +Create nodegroups master configuration: + file.managed: + - name: /etc/salt/master.d/nodegroups.conf + - source: salt://salt-master/files/etc/salt/master.d/nodegroups.conf + - user: root + - group: root + - mode: "0644" + +#restart master to load nodegroups: +# service.running: +# - name: salt-master +# - watch: +# - file: Create nodegroups master configuration