Nicolas Rodriguez
d4772f92fa
fix(fpm): be sure to restart all Php instances in case of multi-versions
5 years ago
Nicolas Rodriguez
d4fc842a62
ci(kitchen): add test pillars for Debian and call some states
5 years ago
Nicolas Rodriguez
3c9efc713d
feat(repo): add repo pattern so we can set distro repo during tests
5 years ago
Nicolas Rodriguez
d26c4f8057
refactor(macro): extract file_requisites macro
5 years ago
semantic-release-bot
a2d094c947
chore(release): 1.0.1 [skip ci]
## [1.0.1](https://github.com/saltstack-formulas/php-formula/compare/v1.0.0...v1.0.1 ) (2019-08-26)
### Bug Fixes
* **pillar:** fix pillar.get still looking under 'ng' namespace ([378b5b1
](https://github.com/saltstack-formulas/php-formula/commit/378b5b1 ))
5 years ago
Imran Iqbal
a8c3603c1f
Merge pull request #194 from n-rodriguez/wip/fix_fpm_pools
fix(pillar): fix pillar.get still looking under 'ng' namespace
5 years ago
Nicolas Rodriguez
378b5b1d37
fix(pillar): fix pillar.get still looking under 'ng' namespace
5 years ago
semantic-release-bot
2a353df5d9
chore(release): 1.0.0 [skip ci]
# [1.0.0](https://github.com/saltstack-formulas/php-formula/compare/v0.41.1...v1.0.0 ) (2019-08-26)
### Features
* **ng:** promote NG formula ([57b37dd
](https://github.com/saltstack-formulas/php-formula/commit/57b37dd )), closes [#183 ](https://github.com/saltstack-formulas/php-formula/issues/183 )
### BREAKING CHANGES
* **ng:** all previous `php` based configurations must be reviewed;
`php.ng` usage must be promoted to `php` and any uses of the original
`php` will have to be converted.
5 years ago
Imran Iqbal
57b37dd32b
feat(ng): promote NG formula
* Trigger `v1.0.0` to complete #183
BREAKING CHANGE: all previous `php` based configurations must be reviewed;
`php.ng` usage must be promoted to `php` and any uses of the original
`php` will have to be converted.
5 years ago
semantic-release-bot
404873754d
chore(release): 0.41.1 [skip ci]
## [0.41.1](https://github.com/saltstack-formulas/php-formula/compare/v0.41.0...v0.41.1 ) (2019-08-26)
### Documentation
* **readme:** remove duplicate contents (local) ([f16796a
](https://github.com/saltstack-formulas/php-formula/commit/f16796a ))
5 years ago
Imran Iqbal
f16796ab89
docs(readme): remove duplicate contents (local)
5 years ago
semantic-release-bot
a089fe11bf
chore(release): 0.41.0 [skip ci]
# [0.41.0](https://github.com/saltstack-formulas/php-formula/compare/v0.40.1...v0.41.0 ) (2019-08-26)
### Features
* **ng:** promote NG formula ([f1b71d0
](https://github.com/saltstack-formulas/php-formula/commit/f1b71d0 ))
5 years ago
Imran Iqbal
de91f7f50a
Merge pull request #183 from sticky-note/feat/ng
feat(ng): promote NG formula
5 years ago
sticky-note
f1b71d00ae
feat(ng): promote NG formula
BREAKING CHANGES: users must adapt their pillar. See `docs.REAME.rst`
5 years ago
semantic-release-bot
ea39203a4c
chore(release): 0.40.1 [skip ci]
## [0.40.1](https://github.com/saltstack-formulas/php-formula/compare/v0.40.0...v0.40.1 ) (2019-08-17)
### Bug Fixes
* **map:** fix missing value for php.lookup.fpm.user in multi-php mode ([f91d942
](https://github.com/saltstack-formulas/php-formula/commit/f91d942 ))
5 years ago
Imran Iqbal
313722b264
Merge pull request #191 from philpep/fix-multiphp-rendering
Fix missing value for php.lookup.fpm.user in multi-php mode
5 years ago
semantic-release-bot
a9c7fb5c3f
chore(release): 0.40.0 [skip ci]
# [0.40.0](https://github.com/saltstack-formulas/php-formula/compare/v0.39.2...v0.40.0 ) (2019-08-17)
### Features
* **yamllint:** include for this repo and apply rules throughout ([571cc4b
](https://github.com/saltstack-formulas/php-formula/commit/571cc4b ))
5 years ago
Niels Abspoel
ffc46b51ad
Merge pull request #192 from myii/chore/standardise-structure
feat(yamllint): include for this repo and apply rules throughout
5 years ago
Imran Iqbal
571cc4b46c
feat(yamllint): include for this repo and apply rules throughout
* Semi-automated using `ssf-formula` (v0.5.0)
* Fix errors shown below:
```bash
php-formula$ $(grep "\- yamllint" .travis.yml | sed -e "s:^\s\+-\s\(.*\):\1:")
./test/integration/default/inspec.yml
1:1 warning missing document start "---" (document-start)
pillar.example
3:1 warning missing document start "---" (document-start)
7:22 warning truthy value should be one of [false, true] (truthy)
8:22 warning truthy value should be one of [false, true] (truthy)
10:22 warning truthy value should be one of [false, true] (truthy)
16:17 warning truthy value should be one of [false, true] (truthy)
41:12 error wrong indentation: expected 10 but found 11 (indentation)
46:27 warning truthy value should be one of [false, true] (truthy)
70:18 warning truthy value should be one of [false, true] (truthy)
74:19 warning truthy value should be one of [false, true] (truthy)
83:22 warning truthy value should be one of [false, true] (truthy)
97:22 warning truthy value should be one of [false, true] (truthy)
107:89 error line too long (93 > 88 characters) (line-length)
118:20 warning truthy value should be one of [false, true] (truthy)
126:14 error wrong indentation: expected 12 but found 13 (indentation)
126:23 warning truthy value should be one of [false, true] (truthy)
151:20 warning truthy value should be one of [false, true] (truthy)
177:19 warning truthy value should be one of [false, true] (truthy)
197:25 warning truthy value should be one of [false, true] (truthy)
```
5 years ago
Philippe Pepiot
f91d942cfb
fix(map): fix missing value for php.lookup.fpm.user in multi-php mode
This fixes the rendering issue:
[CRITICAL] Rendering SLS 'base:php.ng.fpm.config' failed: Jinja variable 'dict object' has no attribute 'user'
When using multiple php versions, this is issued by "{{ php.lookup.fpm.user }}" from php/ng/fpm/config.sls
Add default users in group in the relevant 'fpm' dict from map.jinja
(this is to set owner and group to 'pool.d' directory).
5 years ago
semantic-release-bot
83ff9d966c
chore(release): 0.39.2 [skip ci]
## [0.39.2](https://github.com/saltstack-formulas/php-formula/compare/v0.39.1...v0.39.2 ) (2019-08-13)
### Bug Fixes
* **tests:** fix package name for debian ([4f75eac
](https://github.com/saltstack-formulas/php-formula/commit/4f75eac ))
5 years ago
Nicolas Rodriguez
0eef64306b
Merge pull request #190 from sticky-note/fix/tests
fix(tests): fix package name for debian
5 years ago
sticky-note
4f75eac5fe
fix(tests): fix package name for debian
5 years ago
semantic-release-bot
7e30f926b5
chore(release): 0.39.1 [skip ci]
## [0.39.1](https://github.com/saltstack-formulas/php-formula/compare/v0.39.0...v0.39.1 ) (2019-08-12)
### Bug Fixes
* **installed.jinja:** remove `include` to prevent conflicting IDs ([cb11784
](https://github.com/saltstack-formulas/php-formula/commit/cb11784 )), closes [#188 ](https://github.com/saltstack-formulas/php-formula/issues/188 )
5 years ago
Imran Iqbal
f175a3498b
Merge pull request #189 from myii/fix/188-conflicting-ids
fix(installed.jinja): remove `include` to prevent conflicting IDs
5 years ago
Imran Iqbal
cb11784768
fix(installed.jinja): remove `include` to prevent conflicting IDs
* Ends up with two `include:` lists when rendered
* Close #188
5 years ago
semantic-release-bot
39b4584d66
chore(release): 0.39.0 [skip ci]
# [0.39.0](https://github.com/saltstack-formulas/php-formula/compare/v0.38.1...v0.39.0 ) (2019-08-07)
### Bug Fixes
* **php/ng:** don't iterate on string, make sure list is not string ([dbb542c
](https://github.com/saltstack-formulas/php-formula/commit/dbb542c ))
### Documentation
* **pillar.example:** add example for alternatives with multiversion ([23a6ec1
](https://github.com/saltstack-formulas/php-formula/commit/23a6ec1 ))
* **pillar.example:** example of versions ([a98aa7e
](https://github.com/saltstack-formulas/php-formula/commit/a98aa7e ))
### Features
* **php/ng:** support for php cli multiversion ([bb4a077
](https://github.com/saltstack-formulas/php-formula/commit/bb4a077 ))
* **php/ng:** support the use of a list of php versions ([b303239
](https://github.com/saltstack-formulas/php-formula/commit/b303239 )), closes [#138 ](https://github.com/saltstack-formulas/php-formula/issues/138 )
### Styles
* **pillar.example:** add line break ([38fe58f
](https://github.com/saltstack-formulas/php-formula/commit/38fe58f ))
5 years ago
Imran Iqbal
ef25eb93ca
Merge pull request #167 from arthurlogilab/multiphp
[php/ng] support the use of a list of php versions
5 years ago
semantic-release-bot
d530e817d1
chore(release): 0.38.1 [skip ci]
## [0.38.1](https://github.com/saltstack-formulas/php-formula/compare/v0.38.0...v0.38.1 ) (2019-08-03)
### Bug Fixes
* update deprecation version number in `semantic-release` run ([a87fb91
](https://github.com/saltstack-formulas/php-formula/commit/a87fb91 )), closes [/github.com/saltstack-formulas/php-formula/pull/175#issuecomment-517492613](https://github.com//github.com/saltstack-formulas/php-formula/pull/175/issues/issuecomment-517492613 ) [/github.com/saltstack-formulas/php-formula/pull/185#issuecomment-517603898](https://github.com//github.com/saltstack-formulas/php-formula/pull/185/issues/issuecomment-517603898 )
5 years ago
Imran Iqbal
8902d8b8ff
Merge pull request #187 from myii/chore/standardise-structure
fix: update deprecation version number in `semantic-release` run
5 years ago
Imran Iqbal
a87fb913ba
fix: update deprecation version number in `semantic-release` run
* Semi-automated using `ssf-formula` (v0.2.0)
* References:
- https://github.com/saltstack-formulas/php-formula/pull/175#issuecomment-517492613
- https://github.com/saltstack-formulas/php-formula/pull/185#issuecomment-517603898
* Ensure this only runs until `v1.0.0` (done in the script)
5 years ago
Niels Abspoel
1e74ed6133
Merge pull request #186 from myii/chore/standardise-structure
chore: use `semantic-release` cross-formula standard structure
5 years ago
Imran Iqbal
a58fd4216f
chore: use `semantic-release` cross-formula standard structure
* Automated using `ssf-formula` (v0.1.0-rc.5)
5 years ago
semantic-release-bot
126f91fe7c
chore(release): 0.38.0 [skip ci]
# [0.38.0](https://github.com/saltstack-formulas/php-formula/compare/v0.37.1...v0.38.0 ) (2019-08-01)
### Features
* **map:** add xmlrpc package for xml module, as it was done for SUSE ([a09ef92
](https://github.com/saltstack-formulas/php-formula/commit/a09ef92 ))
5 years ago
Sergio Cambra
a09ef9270e
feat(map): add xmlrpc package for xml module, as it was done for SUSE
5 years ago
semantic-release-bot
be0143365e
chore(release): 0.37.1 [skip ci]
## [0.37.1](https://github.com/saltstack-formulas/php-formula/compare/v0.37.0...v0.37.1 ) (2019-08-01)
### Bug Fixes
* add warning message for ng states ([d45bae8
](https://github.com/saltstack-formulas/php-formula/commit/d45bae8 ))
* allow muting deprecation warning via. pillar/config entry ([8e7471e
](https://github.com/saltstack-formulas/php-formula/commit/8e7471e ))
* change message to warn about upcoming deprecation ([e97eeae
](https://github.com/saltstack-formulas/php-formula/commit/e97eeae ))
* warn formula users ng states will be promoted in `v1.0.0` ([d033381
](https://github.com/saltstack-formulas/php-formula/commit/d033381 ))
* **pillar_from_files:** use `{}` pillar files to ensure tests pass ([1a5d734
](https://github.com/saltstack-formulas/php-formula/commit/1a5d734 ))
* **readme:** add warning in docs/README.rst ([3ac59e4
](https://github.com/saltstack-formulas/php-formula/commit/3ac59e4 ))
5 years ago
Imran Iqbal
bc0719a5aa
Merge pull request #185 from sticky-note/fix/non-ng-deprecation
fix: warn formula users ng states will be promoted in `v1.0.0`
5 years ago
nb
3ac59e4424
fix(readme): add warning in docs/README.rst
5 years ago
Imran Iqbal
1a5d73486e
fix(pillar_from_files): use `{}` pillar files to ensure tests pass
5 years ago
nb
d45bae83d8
fix: add warning message for ng states
5 years ago
Imran Iqbal
8e7471e837
fix: allow muting deprecation warning via. pillar/config entry
5 years ago
Imran Iqbal
e97eeae766
fix: change message to warn about upcoming deprecation
5 years ago
nb
d03338176c
fix: warn formula users ng states will be promoted in `v1.0.0`
5 years ago
Niels Abspoel
08cd5635bb
Merge pull request #184 from myii/ci/standardise-structure
chore: use `semantic-release` cross-formula standard structure
5 years ago
Imran Iqbal
45f9a75961
chore: use `semantic-release` cross-formula standard structure
* Automated using `ssf-formula` (v0.1.0-rc.1)
5 years ago
Simon Schneider
38fe58f150
style(pillar.example): add line break
5 years ago
Simon Schneider
23a6ec1001
docs(pillar.example): add example for alternatives with multiversion
5 years ago
Simon Schneider
bb4a077d84
feat(php/ng): support for php cli multiversion
5 years ago
Arthur Lutz
dbb542c4fb
fix(php/ng): don't iterate on string, make sure list is not string
5 years ago
Arthur Lutz
a98aa7e81a
docs(pillar.example): example of versions
5 years ago