verbose: False
{%- endif %}
-networking:
-{%- if salt['grains.get']('fqdn') == 'ns3.uhu-banane.de' %}
- has_public_ipv6: True
-{%- elif salt['grains.get']('fqdn') in ('liz.nexunus.net', ) %}
- has_public_ipv6: True
-{%- else %}
- has_public_ipv6: False
-{%- endif %}
-
-location:
-{%- if salt['grains.get']('fqdn') == 'ns3.uhu-banane.de' %}
- provider: gridscale
-{%- elif salt['grains.get']('fqdn') in ('liz.nexunus.net', ) %}
- provider: hetzner
-{%- else %}
- provider: profitbricks
-{%- endif %}
-{%- if salt['grains.get']('fqdn') == 'ns2.uhu-banane.de' %}
- country: us
-{%- else %}
- country: de
-{%- endif %}
-{%- if salt['grains.get']('fqdn') == 'ns2.uhu-banane.de' %}
- dc: pb-las
-{%- elif salt['grains.get']('fqdn') == 'ns1.uhu-banane.de' %}
- dc: pb-fra
-{%- else %}
- dc: unknown
-{%- endif %}
-
git:
deploy:
pub-key-type: ssh-rsa
base:
- 'ns1.uhu-banane.de':
+ '*':
- common
+ - location.default
+ - networking.no_public_v6
+
+ 'ns1.uhu-banane.de':
+ - location.pb-fra
- postfix.satellite
- debian.openssh
- resolver.common
- bind.secondary
'ns2.uhu-banane.de':
- - common
+ - location.pb-las
- postfix.satellite
- debian.openssh
- resolver.common
- bind.secondary
'ns3.uhu-banane.de':
- - common
+ - location.gridscale
+ - networking.has_public_v6
- postfix.satellite
- debian.openssh
- resolver.common
- bind.primary
'liz.nexunus.net':
- - common
+ - location.hetzner
+ - networking.has_public_v6
+ - resolver.nexunus
+
+ 'be.nexunus.net':
+ - location.hetzner
- resolver.nexunus