summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pillar/id/philia_rigel_lysergic_dev.sls1
-rw-r--r--salt/common/ssh.sls2
2 files changed, 3 insertions, 0 deletions
diff --git a/pillar/id/philia_rigel_lysergic_dev.sls b/pillar/id/philia_rigel_lysergic_dev.sls
new file mode 100644
index 0000000..e945f96
--- /dev/null
+++ b/pillar/id/philia_rigel_lysergic_dev.sls
@@ -0,0 +1 @@
+manage_sshd: False
diff --git a/salt/common/ssh.sls b/salt/common/ssh.sls
index 76033fd..f71e40d 100644
--- a/salt/common/ssh.sls
+++ b/salt/common/ssh.sls
@@ -1,5 +1,6 @@
include:
- openssh.banner
+{%- if salt['pillar.get']('manage_sshd', True) %}
- openssh.config
/etc/ssh/user_ca:
@@ -10,3 +11,4 @@ include:
{%- endfor -%}
- require:
- pkg: openssh
+{%- endif %}