Commit Graph

406 Commits

Author SHA1 Message Date
Nicolas Rodriguez
dc12a0bbf2 style(spec): remove empty lines 2019-09-04 01:13:22 +02:00
Nicolas Rodriguez
baeac04bd9 test(service): add tests on Php services 2019-09-04 01:12:38 +02:00
Nicolas Rodriguez
59f648c067 test(package): fix package spec in case of multi Php versions 2019-09-04 01:12:28 +02:00
Nicolas Rodriguez
d4772f92fa fix(fpm): be sure to restart all Php instances in case of multi-versions 2019-09-04 01:08:56 +02:00
Nicolas Rodriguez
d4fc842a62 ci(kitchen): add test pillars for Debian and call some states 2019-09-04 01:06:31 +02:00
Nicolas Rodriguez
3c9efc713d feat(repo): add repo pattern so we can set distro repo during tests 2019-09-04 01:04:43 +02:00
Nicolas Rodriguez
d26c4f8057 refactor(macro): extract file_requisites macro 2019-09-04 00:35:10 +02:00
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))
2019-08-26 22:59:39 +00:00
Imran Iqbal
a8c3603c1f
Merge pull request #194 from n-rodriguez/wip/fix_fpm_pools
fix(pillar): fix pillar.get still looking under 'ng' namespace
2019-08-26 23:50:18 +01:00
Nicolas Rodriguez
378b5b1d37 fix(pillar): fix pillar.get still looking under 'ng' namespace 2019-08-27 00:05:26 +02:00
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.
2019-08-26 16:24:43 +00:00
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.
2019-08-26 17:13:06 +01:00
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))
2019-08-26 15:55:49 +00:00
Imran Iqbal
f16796ab89
docs(readme): remove duplicate contents (local) 2019-08-26 16:46:03 +01:00
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))
2019-08-26 15:43:33 +00:00
Imran Iqbal
de91f7f50a
Merge pull request #183 from sticky-note/feat/ng
feat(ng): promote NG formula
2019-08-26 16:34:34 +01:00
sticky-note
f1b71d00ae feat(ng): promote NG formula
BREAKING CHANGES: users must adapt their pillar. See `docs.REAME.rst`
2019-08-20 13:01:49 +11:00
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))
2019-08-17 10:36:02 +00:00
Imran Iqbal
313722b264
Merge pull request #191 from philpep/fix-multiphp-rendering
Fix missing value for php.lookup.fpm.user in multi-php mode
2019-08-17 11:26:54 +01:00
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))
2019-08-17 09:11:15 +00:00
Niels Abspoel
ffc46b51ad
Merge pull request #192 from myii/chore/standardise-structure
feat(yamllint): include for this repo and apply rules throughout
2019-08-17 09:51:13 +02:00
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)
```
2019-08-14 23:24:41 +01:00
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).
2019-08-14 15:53:23 +02:00
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))
2019-08-13 22:40:56 +00:00
Nicolas Rodriguez
0eef64306b
Merge pull request #190 from sticky-note/fix/tests
fix(tests): fix package name for debian
2019-08-14 00:30:29 +02:00
sticky-note
4f75eac5fe fix(tests): fix package name for debian 2019-08-14 02:00:08 +11:00
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)
2019-08-12 12:28:13 +00:00
Imran Iqbal
f175a3498b
Merge pull request #189 from myii/fix/188-conflicting-ids
fix(installed.jinja): remove `include` to prevent conflicting IDs
2019-08-12 13:19:02 +01:00
Imran Iqbal
cb11784768
fix(installed.jinja): remove include to prevent conflicting IDs
* Ends up with two `include:` lists when rendered
* Close #188
2019-08-09 19:07:10 +01:00
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))
2019-08-07 09:46:53 +00:00
Imran Iqbal
ef25eb93ca
Merge pull request #167 from arthurlogilab/multiphp
[php/ng] support the use of a list of php versions
2019-08-07 10:20:29 +01:00
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)
2019-08-03 20:35:57 +00:00
Imran Iqbal
8902d8b8ff
Merge pull request #187 from myii/chore/standardise-structure
fix: update deprecation version number in `semantic-release` run
2019-08-03 21:25:15 +01:00
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)
2019-08-03 21:14:40 +01:00
Niels Abspoel
1e74ed6133
Merge pull request #186 from myii/chore/standardise-structure
chore: use `semantic-release` cross-formula standard structure
2019-08-02 19:27:23 +02:00
Imran Iqbal
a58fd4216f chore: use semantic-release cross-formula standard structure
* Automated using `ssf-formula` (v0.1.0-rc.5)
2019-08-02 05:28:42 +01:00
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))
2019-08-01 23:13:45 +00:00
Sergio Cambra
a09ef9270e feat(map): add xmlrpc package for xml module, as it was done for SUSE 2019-08-02 00:04:30 +01:00
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))
2019-08-01 22:35:11 +00:00
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`
2019-08-01 23:24:44 +01:00
nb
3ac59e4424 fix(readme): add warning in docs/README.rst 2019-08-01 09:21:15 +11:00
Imran Iqbal
1a5d73486e
fix(pillar_from_files): use {} pillar files to ensure tests pass 2019-07-28 11:16:39 +01:00
nb
d45bae83d8 fix: add warning message for ng states 2019-07-28 17:45:40 +11:00
Imran Iqbal
8e7471e837
fix: allow muting deprecation warning via. pillar/config entry 2019-07-25 22:27:36 +01:00
Imran Iqbal
e97eeae766
fix: change message to warn about upcoming deprecation 2019-07-25 12:28:29 +01:00
nb
d03338176c fix: warn formula users ng states will be promoted in v1.0.0 2019-07-24 15:15:33 +11:00
Niels Abspoel
08cd5635bb
Merge pull request #184 from myii/ci/standardise-structure
chore: use `semantic-release` cross-formula standard structure
2019-07-23 21:05:39 +02:00
Imran Iqbal
45f9a75961 chore: use semantic-release cross-formula standard structure
* Automated using `ssf-formula` (v0.1.0-rc.1)
2019-07-19 17:16:12 +01:00
Simon Schneider
38fe58f150 style(pillar.example): add line break 2019-07-10 16:52:49 +02:00
Simon Schneider
23a6ec1001 docs(pillar.example): add example for alternatives with multiversion 2019-07-10 16:52:43 +02:00