You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a setting I'm missing that will already allow this? For instance when I add php.ng.mysql. I have to manually reload apache. I know people run different web servers, but maybe that information could be passed as pillar data so it knows which service to reload.
The text was updated successfully, but these errors were encountered:
@getSurreal this is a difficult thing to accomplish,
You need to know if the webserver is managed by a salt-formula to use
if it is apache-formula just require_in apache-reload
if it is nginx-formula you need to know if nginx or nginx:ng.
both have different extends...to reload the service.
I would opt for the simpler solution:
get a dict from pillar: which webserver with which command.
and then create a saltstack state based on the two values.
Is there a setting I'm missing that will already allow this? For instance when I add php.ng.mysql. I have to manually reload apache. I know people run different web servers, but maybe that information could be passed as pillar data so it knows which service to reload.
The text was updated successfully, but these errors were encountered: