Compare commits
2 Commits
fefe2e25f3
...
8d511f9cc4
| Author | SHA1 | Date | |
|---|---|---|---|
| 8d511f9cc4 | |||
| eec448bfe8 |
@@ -1,5 +1,7 @@
|
|||||||
|
|
||||||
{% set canonical_name = salt['grains.get']('host') | regex_replace('[0-9]', '', ignorecase=True) -%}
|
{% if salt['grains.get']('host') | regex_match('.*[0-9][0-9]') %}
|
||||||
{% include './' + canonical_name + '.sls' ignore missing %}
|
{% set canonical_name = salt['grains.get']('host') | regex_replace('[0-9]', '', ignorecase=True) %}
|
||||||
|
{% include './' + canonical_name + '.sls' ignore missing %}
|
||||||
|
{% endif %}
|
||||||
{% include './' + salt['grains.get']('host') + '.sls' ignore missing %}
|
{% include './' + salt['grains.get']('host') + '.sls' ignore missing %}
|
||||||
|
|
||||||
|
|||||||
@@ -75,10 +75,9 @@ haproxy:
|
|||||||
name: www-http
|
name: www-http
|
||||||
bind:
|
bind:
|
||||||
- "*:80"
|
- "*:80"
|
||||||
- "*:443 ssl crt /etc/pki/chain ca-file /etc/pki/intca.crt"
|
default_backend: rompr
|
||||||
default_backend: auto
|
|
||||||
acls:
|
acls:
|
||||||
- host_rompr hdr_beg(host) -i truhe.
|
- host_truhe hdr_beg(host) -i truhe.
|
||||||
use_backends:
|
use_backends:
|
||||||
- rompr if host_truhe
|
- rompr if host_truhe
|
||||||
backends:
|
backends:
|
||||||
|
|||||||
@@ -8,4 +8,4 @@ include:
|
|||||||
- .hostconfig
|
- .hostconfig
|
||||||
- .sysctl
|
- .sysctl
|
||||||
- saltmine
|
- saltmine
|
||||||
- prometheus.node_exporter
|
#- prometheus.node_exporter
|
||||||
|
|||||||
Reference in New Issue
Block a user