saltstack-formulas / php-formula

http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html
Other
57 stars 232 forks source link

Restart php-fpm if it was running before and an extension install happened #225

Open pprkut opened 3 years ago

pprkut commented 3 years ago

PR progress checklist (to be filled in by reviewers)


What type of PR is this?

Primary type

Secondary type

Does this PR introduce a BREAKING CHANGE?

No.

Related issues and/or pull requests

Describe the changes you're proposing

When installing a new php extension, you have to restart php-fpm before it's actually active. This change would do this automatically, if the service is actually running on the server the extension was installed on.

Pillar / config required to test the proposed changes

Debug log showing how the proposed changes work

Documentation checklist

Testing checklist

Additional context