up2date
This commit is contained in:
@@ -6,7 +6,7 @@ After=network.target
|
||||
LimitNOFILE=100000
|
||||
Type=notify
|
||||
NotifyAccess=all
|
||||
ExecStart=/usr/local/bin/salt-master
|
||||
ExecStart=/opt/salt/bin/salt-master
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
||||
@@ -7,7 +7,7 @@ KillMode=process
|
||||
Type=notify
|
||||
NotifyAccess=all
|
||||
LimitNOFILE=8192
|
||||
ExecStart=/usr/local/bin/salt-minion
|
||||
ExecStart=/opt/salt/bin/salt-minion
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
||||
@@ -29,4 +29,6 @@ salt-master:
|
||||
- require:
|
||||
- file: /lib/systemd/system/salt-minion.service
|
||||
- cmd: systemd reload for salt-master
|
||||
- watch:
|
||||
- pip: salt
|
||||
|
||||
|
||||
@@ -20,6 +20,8 @@ salt-minion:
|
||||
- require:
|
||||
- file: /lib/systemd/system/salt-minion.service
|
||||
- module: systemd reload for salt-minion
|
||||
- watch:
|
||||
- pip: salt
|
||||
|
||||
/etc/salt/minion:
|
||||
file.managed:
|
||||
|
||||
@@ -1,4 +1,13 @@
|
||||
#salt:
|
||||
# pip.installed:
|
||||
# - user: root
|
||||
# - upgrade: true
|
||||
pip:
|
||||
pip.installed:
|
||||
- pip_bin: /opt/salt/bin/pip3
|
||||
- user: root
|
||||
- upgrade: true
|
||||
|
||||
salt:
|
||||
pip.installed:
|
||||
- name: salt == 3005.1
|
||||
- pip_bin: /opt/salt/bin/pip3
|
||||
- user: root
|
||||
- require:
|
||||
- pip: pip
|
||||
|
||||
Reference in New Issue
Block a user