Skip to content

Add example to use a specific php version when using multiple ones #212

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 20, 2020

Conversation

Yoda-BZH
Copy link
Contributor

PR progress checklist (to be filled in by reviewers)

  • Changes to documentation are appropriate (or tick if not required)
  • Changes to tests are appropriate (or tick if not required)
  • Reviews completed

What type of PR is this?

Primary type

  • [build] Changes related to the build system
  • [chore] Changes to the build process or auxiliary tools and libraries such as documentation generation
  • [ci] Changes to the continuous integration configuration
  • [feat] A new feature
  • [fix] A bug fix
  • [perf] A code change that improves performance
  • [refactor] A code change that neither fixes a bug nor adds a feature
  • [revert] A change used to revert a previous commit
  • [style] Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc.)

Secondary type

  • [docs] Documentation changes
  • [test] Adding missing or correcting existing tests

Does this PR introduce a BREAKING CHANGE?

No.

Related issues and/or pull requests

Related to #167 ( [php/ng] support the use of a list of php versions)

Describe the changes you're proposing

Add an example on how to use a specific php version in a fpm pool when using multiple versions

Pillar / config required to test the proposed changes

None.

Debug log showing how the proposed changes work

Documentation checklist

  • Updated the README (e.g. Available states).
  • Updated pillar.example.

Testing checklist

  • Included in Kitchen (i.e. under state_top).
  • Covered by new/existing tests (e.g. InSpec, Serverspec, etc.).
  • Updated the relevant test pillar.

Additional context

@myii
Copy link
Contributor

myii commented Apr 18, 2020

@Yoda-BZH Thanks for the contribution.

@arthurlogilab Can you confirm that this is how phpversion should be set in the pillar, after your PR (#167)?

@myii
Copy link
Contributor

myii commented Apr 18, 2020

@Yoda-BZH It would be helpful if you can modify your commit message according the contributing guidelines. Please amend the commit and then force push it.

If it's too much trouble, the commit message can be fixed during the merge.

@arthurzenika
Copy link
Contributor

@myii the contribution by @Yoda-BZH is to signify that the phpversion can also be specified for a given php-fpm pool. A quick look at the code makes me think this should work, I wouldn't be so sure with a list there. I don't think there's a need to though.

@myii myii merged commit 53068f7 into saltstack-formulas:master Apr 20, 2020
@myii
Copy link
Contributor

myii commented Apr 20, 2020

@Yoda-BZH Merged, thanks again for the clarification. I've modified the commit message upon merge.

Appreciate the review, @arthurlogilab.

@saltstack-formulas-travis

🎉 This PR is included in version 1.3.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@Yoda-BZH
Copy link
Contributor Author

Ho, I planned on modifying the commit message today, sorry for the delay.

Thank you for the merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants