Open
Description
Hello,
we are using the nginx.ng part of this formula on Debian 9 with Salt 2018.3.1. We use a wrapper that include the following states
include:
- nginx.ng.pkg
- nginx.ng.config
- nginx.ng.servers_config
- nginx.ng.servers
- nginx.ng.certificates
- nginx.ng.service
I recently added nginx.ng.servers
which seems to handle service reload when configuration change (and pillar service.enable
is not set to False).
I think it does not work as expected because I don't see any reload of service when I change config, and running salt returns
ID: nginx_service_reload
Function: service.running
Name: nginx
Result: True
Comment: The service nginx is already running
Started: 10:04:19.463741
Duration: 40.412 ms
Changes:
This part of the code https://github.com/saltstack-formulas/nginx-formula/blob/master/nginx/ng/servers.sls#L23 uses reload: True
in state service.running
but it seems that this parameter does not exist https://docs.saltstack.com/en/latest/ref/states/all/salt.states.service.html#salt.states.service.running on 2018.3 or 2017.7.
Metadata
Metadata
Assignees
Labels
No labels