Blame pillar/salt_cluster/opensuse.sls
|
Theo Chatzimichos |
da9a25 |
{% set subrole_ntp = salt['grains.get']('subrole_ntp', '') %}
|
|
Theo Chatzimichos |
da9a25 |
|
|
Theo Chatzimichos |
da9a25 |
chrony:
|
|
Theo Chatzimichos |
da9a25 |
ntpservers:
|
|
Theo Chatzimichos |
da9a25 |
{% for n in range(3) %}
|
|
Theo Chatzimichos |
da9a25 |
{% if subrole_ntp != 'ntp{0}'.format(n+1) %}
|
|
Theo Chatzimichos |
da9a25 |
- ntp{{ n+1 }}.infra.opensuse.org
|
|
Theo Chatzimichos |
da9a25 |
{% endif %}
|
|
Theo Chatzimichos |
da9a25 |
{% endfor %}
|
|
Theo Chatzimichos |
c35d26 |
{% if 'ntp' not in salt['grains.get']('roles' ,[]) %}
|
|
Theo Chatzimichos |
c35d26 |
ntp:
|
|
Theo Chatzimichos |
c35d26 |
ng:
|
|
Theo Chatzimichos |
c35d26 |
settings:
|
|
Theo Chatzimichos |
c35d26 |
ntp_conf:
|
|
Theo Chatzimichos |
c35d26 |
server:
|
|
Theo Chatzimichos |
c35d26 |
- ntp1.infra.opensuse.org iburst
|
|
Theo Chatzimichos |
c35d26 |
- ntp2.infra.opensuse.org iburst
|
|
Theo Chatzimichos |
c35d26 |
- ntp3.infra.opensuse.org iburst
|
|
Theo Chatzimichos |
c35d26 |
{% endif %}
|
|
Theo Chatzimichos |
f46ac3 |
profile:
|
|
Theo Chatzimichos |
f46ac3 |
log:
|
|
Theo Chatzimichos |
f46ac3 |
rsyslog_host: 192.168.47.7
|
|
Theo Chatzimichos |
627070 |
salt:
|
|
Theo Chatzimichos |
627070 |
minion:
|
|
Theo Chatzimichos |
6c69f4 |
master: minnie.infra.opensuse.org
|