Remove inotify beacon due to it not functioning as documented; Add back so-user changes to sync upon so-user changes

This commit is contained in:
Jason Ertel
2021-06-03 15:15:35 -04:00
parent 58ae3479dc
commit 316035910f
3 changed files with 5 additions and 14 deletions
-7
View File
@@ -1,7 +0,0 @@
beacons:
watch_sqlite_db:
- files:
/opt/so/conf/kratos/db/db.sqlite:
mask:
- modify
- beacon_module: inotify
-7
View File
@@ -123,13 +123,6 @@ syncesusers:
- /opt/so/saltstack/local/salt/elasticsearch/files/users
- /opt/so/saltstack/local/salt/elasticsearch/files/users_roles
beacons_config:
file.managed:
- name: /etc/salt/minion.d/beacons.conf
- source: salt://manager/files/beacons.conf
- onchanges_in:
- service: salt_minion_service
{% else %}
{{sls}}_state_not_allowed: