diff --git a/postgres/macros.jinja b/postgres/macros.jinja index abd2c9c1..083ac5b9 100644 --- a/postgres/macros.jinja +++ b/postgres/macros.jinja @@ -26,7 +26,7 @@ {{ state }}-{{ name }}: {{ state }}.{{ ensure|default('present') }}: {{- format_kwargs(kwarg) }} - - onchanges: + - require: - test: postgres-reload-modules {%- endmacro %} diff --git a/postgres/manage.sls b/postgres/manage.sls index 38e815da..f2aaf7c8 100644 --- a/postgres/manage.sls +++ b/postgres/manage.sls @@ -20,6 +20,8 @@ include: postgres-reload-modules: test.succeed_with_changes: - reload_modules: True + - onchanges: + - pkg: postgresql-client-libs # User states