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