summaryrefslogtreecommitdiffstats
path: root/salt
diff options
context:
space:
mode:
Diffstat (limited to 'salt')
-rw-r--r--salt/common/hosts.sls9
-rw-r--r--salt/common/init.sls1
2 files changed, 10 insertions, 0 deletions
diff --git a/salt/common/hosts.sls b/salt/common/hosts.sls
new file mode 100644
index 0000000..0a37f2c
--- /dev/null
+++ b/salt/common/hosts.sls
@@ -0,0 +1,9 @@
+# this is a hack because we currently only allow email relaying using the split-horizon zz0.email
+selene-hosts:
+ host.present:
+ - comment: Needed for email
+ - ip: 192.168.0.120
+ - names:
+ - selene.psyched.dev
+ - selene
+ - zz0.email
diff --git a/salt/common/init.sls b/salt/common/init.sls
index 52ac5a5..01229be 100644
--- a/salt/common/init.sls
+++ b/salt/common/init.sls
@@ -1,3 +1,4 @@
include:
- role.salt.minion
+ - .hosts
- common.{{ grains['os'] | lower }}