Commit Graph

417 Commits

Author SHA1 Message Date
semantic-release-bot
a2846eded0 chore(release): 1.1.1 [skip ci]
## [1.1.1](https://github.com/saltstack-formulas/php-formula/compare/v1.1.0...v1.1.1) (2019-09-05)

### Continuous Integration

* **kitchen+travis:** replace EOL pre-salted images ([c9eea17](https://github.com/saltstack-formulas/php-formula/commit/c9eea17))

### Tests

* **suse:** update version to `7.0` for `opensuse-leap-15` ([fd67570](https://github.com/saltstack-formulas/php-formula/commit/fd67570))
2019-09-05 21:54:14 +00:00
Imran Iqbal
4b869ed5b6
Merge pull request #195 from myii/chore/standardise-structure
ci(kitchen+travis): replace EOL pre-salted images
2019-09-05 22:40:50 +01:00
Imran Iqbal
fd675701a5
test(suse): update version to 7.0 for opensuse-leap-15 2019-09-05 22:17:15 +01:00
Imran Iqbal
c9eea172a4
ci(kitchen+travis): replace EOL pre-salted images
* Automated using https://github.com/myii/ssf-formula/pull/16
2019-09-05 21:11:35 +01:00
semantic-release-bot
a5515bcea6 chore(release): 1.1.0 [skip ci]
# [1.1.0](https://github.com/saltstack-formulas/php-formula/compare/v1.0.1...v1.1.0) (2019-09-05)

### Bug Fixes

* **fpm:** be sure to restart all Php instances in case of multi-versions ([d4772f9](https://github.com/saltstack-formulas/php-formula/commit/d4772f9))
* **tests:** don't test services on Suse and RedHat ([23214bf](https://github.com/saltstack-formulas/php-formula/commit/23214bf))
* **xdebug:** fix xdebug package name ([496ec28](https://github.com/saltstack-formulas/php-formula/commit/496ec28))
* **yamllint:** use separate suite for `ubuntu` ([6cba4af](https://github.com/saltstack-formulas/php-formula/commit/6cba4af)), closes [#174](https://github.com/saltstack-formulas/php-formula/issues/174)

### Code Refactoring

* **macro:** extract file_requisites macro ([d26c4f8](https://github.com/saltstack-formulas/php-formula/commit/d26c4f8))

### Continuous Integration

* **kitchen:** add test pillars for Debian and call some states ([d4fc842](https://github.com/saltstack-formulas/php-formula/commit/d4fc842))

### Features

* **repo:** add repo pattern so we can set distro repo during tests ([3c9efc7](https://github.com/saltstack-formulas/php-formula/commit/3c9efc7))

### Styles

* **spec:** remove empty lines ([dc12a0b](https://github.com/saltstack-formulas/php-formula/commit/dc12a0b))

### Tests

* **config:** add tests on Php config ([6555cf0](https://github.com/saltstack-formulas/php-formula/commit/6555cf0))
* **package:** fix package spec in case of multi Php versions ([59f648c](https://github.com/saltstack-formulas/php-formula/commit/59f648c))
* **service:** add tests on Php services ([baeac04](https://github.com/saltstack-formulas/php-formula/commit/baeac04))
* **ubuntu:** fix tests on Ubuntu distro ([b13bed2](https://github.com/saltstack-formulas/php-formula/commit/b13bed2))
2019-09-05 16:12:28 +00:00
Imran Iqbal
c40b983a42
Merge pull request #197 from n-rodriguez/wip/tests
Add tests
2019-09-05 16:58:56 +01:00
Imran Iqbal
6cba4af4f7
fix(yamllint): use separate suite for ubuntu
* Semi-automated using https://github.com/myii/ssf-formula/pull/18
* Close #174
2019-09-04 22:23:23 +01:00
Nicolas Rodriguez
496ec28dae fix(xdebug): fix xdebug package name 2019-09-04 22:46:11 +02:00
Nicolas Rodriguez
b13bed2a48 test(ubuntu): fix tests on Ubuntu distro 2019-09-04 02:58:06 +02:00
Nicolas Rodriguez
23214bfa78 fix(tests): don't test services on Suse and RedHat 2019-09-04 01:40:02 +02:00
Nicolas Rodriguez
6555cf0432 test(config): add tests on Php config 2019-09-04 01:33:06 +02:00
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