blob: 60f7d70af5f9929a48c596e6616ea28fd4b65562 [file] [log] [blame]
{% set client = salt['grains.filter_by']({
'Arch': {
'service': 'ntpd',
'mode7': False,
},
'Debian': {
'service': 'ntp',
'mode7': False,
},
'RedHat': {
'service': 'ntpd',
'mode7': False,
},
}, merge=salt['pillar.get']('ntp:client')) %}
{% set server = salt['grains.filter_by']({
'Arch': {
'service': 'ntpd',
'bind': {
'address': '0.0.0.0',
}
},
'Debian': {
'service': 'ntp',
'bind': {
'address': '0.0.0.0',
}
},
'RedHat': {
'service': 'ntpd',
'bind': {
'address': '0.0.0.0',
}
},
}, merge=salt['pillar.get']('ntp:server')) %}