docs(examples): better organization and naming
[arvados-formula.git] / test / salt / states / examples / single_host / static / git-logo.png
diff --git a/test/salt/states/example_single_host_host_entries/init.sls b/test/salt/states/example_single_host_host_entries/init.sls
deleted file mode 100644 (file)
index 6425448..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-{%- set curr_tpldir = tpldir %}
-{%- set tpldir = 'arvados' %}
-{%- from "arvados/map.jinja" import arvados with context %}
-{%- set tpldir = curr_tpldir %}
-
-arvados_hosts_entries:
-  host.present:
-    - ip: {{ grains.get('ipv4')[0] }}
-    - names:
-      - {{ arvados.cluster.name }}.{{ arvados.cluster.domain }}
-      # FIXME! This just works for our testings.
-      # Won't work if the cluster name != host name
-      {%- for entry in [
-          'api',
-          'collections',
-          'controller',
-          'download',
-          'keep',
-          'keep0',
-          'shell',
-          'workbench',
-          'workbench2',
-          'ws',
-        ]
-      %}
-      - {{ entry }}.internal
-      - {{ entry }}.{{ arvados.cluster.name }}.{{ arvados.cluster.domain }}
-      {%- endfor %}