added chrony salt state

This commit is contained in:
Jonas Forsberg
2021-09-22 09:49:42 +02:00
parent 4020121517
commit cb7abf7c82
8 changed files with 61 additions and 0 deletions

6
salt/pillars/chrony.sls Normal file
View File

@@ -0,0 +1,6 @@
chrony:
pool:
- 0.se.pool.ntp.org
- 1.se.pool.ntp.org
- 2.se.pool.ntp.org
- 3.se.pool.ntp.org

8
salt/pillars/network.sls Normal file
View File

@@ -0,0 +1,8 @@
network:
domain: suse.lan
address: 192.168.0.0
netmask: 24
interface:
internal: eth0
external: eth0.1000

7
salt/pillars/top.sls Normal file
View File

@@ -0,0 +1,7 @@
base:
'*':
- network
- chrony
{% if salt['file.file_exists']('local.sls') %}
- local
{% endif %}