diff options
author | root <root@salt-master.nld3.alpin.pw> | 2019-06-11 19:06:03 +0000 |
---|---|---|
committer | root <root@salt-master.nld3.alpin.pw> | 2019-06-11 19:06:03 +0000 |
commit | aa09aed813a85af585895f67c1a90e0493d7532f (patch) | |
tree | 58d3266af24f1260ab18cf7f3649dd247d47f15c /salt/common.sls | |
download | salty-master.tar.bz2 salty-master.tar.xz |
Diffstat (limited to 'salt/common.sls')
-rw-r--r-- | salt/common.sls | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/salt/common.sls b/salt/common.sls new file mode 100644 index 0000000..4b3dacb --- /dev/null +++ b/salt/common.sls @@ -0,0 +1,22 @@ +salt-minion: + service.running: + - watch: + - file: /etc/salt/minion.d/*.conf + +/etc/salt/minion.d/disable_gpu_grains.conf: + file.managed: + - contents: | + enable_gpu_grains: False + +install ssh: + pkg.installed: + - name: openssh + +start ssh: + service.running: + - name: sshd + - enable: True + - watch: + - pkg: openssh + + |