initial commit
This commit is contained in:
17
minion/init.sls
Normal file
17
minion/init.sls
Normal file
@@ -0,0 +1,17 @@
|
||||
# Manage minion configuration
|
||||
/etc/salt/minion.d/id.conf:
|
||||
file.managed:
|
||||
- user: root
|
||||
- group: root
|
||||
- mode: 644
|
||||
- contents: |
|
||||
# Managed by Salt
|
||||
id: {{ grains['nodename'] }}
|
||||
|
||||
# Ensure salt-minion service is enabled
|
||||
salt-minion:
|
||||
service.running:
|
||||
- enable: True
|
||||
- watch:
|
||||
- file: /etc/salt/minion.d/id.conf
|
||||
|
Reference in New Issue
Block a user