summaryrefslogtreecommitdiffstats
path: root/salt/common.sls
diff options
context:
space:
mode:
Diffstat (limited to 'salt/common.sls')
-rw-r--r--salt/common.sls22
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
+
+