Compare commits

...

3 commits

Author SHA1 Message Date
Actaeus Curabitur
da771d516d fixed chrony issue 2022-11-15 15:54:54 -06:00
Actaeus Curabitur
2ee1214d7c Added time sync 2022-11-15 15:45:41 -06:00
Actaeus Curabitur
c541738372 don't overwrite nextcloud config - prevents constant update attempts due to incorrect version number. Might need different fix down the road 2022-11-08 09:32:52 -06:00
4 changed files with 26 additions and 0 deletions

View file

@ -66,6 +66,7 @@ nginx-service:
- user: nextcloud - user: nextcloud
- group: nextcloud - group: nextcloud
- mode: 644 - mode: 644
- replace: false
- template: jinja - template: jinja
/etc/pacman.d/hooks/nextcloud.hook: /etc/pacman.d/hooks/nextcloud.hook:

View file

@ -0,0 +1,10 @@
server 0.us.pool.ntp.org iburst
server 1.us.pool.ntp.org iburst
server 2.us.pool.ntp.org iburst
server 3.us.pool.ntp.org iburst
driftfile /var/lib/chrony.drift
leapsectz right/UTC
makestep 1.0 3
rtconutc
rtcsync

View file

@ -0,0 +1,14 @@
chrony_pkg:
pkg.installed:
- name: chrony
/etc/chrony.conf:
file.managed:
- source: salt://systems/core/time/chrony.conf
- user: root
- group: root
- mode: 644
chronyd:
service.running:
- enable: true

View file

@ -27,6 +27,7 @@
- systems.core.mount - systems.core.mount
- systems.core.git - systems.core.git
- systems.core.backup - systems.core.backup
- systems.core.time
{%- if pillar['roles'] is defined -%} {%- if pillar['roles'] is defined -%}
{%- if pillar['roles'] is not none -%} {%- if pillar['roles'] is not none -%}
{%- for role in pillar['roles'] %} {%- for role in pillar['roles'] %}