Commit Graph

639 Commits

Author SHA1 Message Date
Imran Iqbal
01f5ede277
fix(map.jinja): fix salt-lint errors
```bash
Examining php/map.jinja of type state
[204] Lines should be no longer that 160 chars
php/map.jinja:25
                            'build_pkgs': ['libssl-dev', 'libcurl4-openssl-dev', 'pkg-config', 'libsslcommon2-dev', 'gcc', 'make', 'autoconf', 'libc-dev', 'pkg-config'],

[204] Lines should be no longer that 160 chars
php/map.jinja:191
                            'disable_functions': ['pcntl_alarm','pcntl_fork','pcntl_waitpid','pcntl_wait','pcntl_wifexited','pcntl_wifstopped','pcntl_wifsignaled',

[204] Lines should be no longer that 160 chars
php/map.jinja:192
                                'pcntl_wexitstatus','pcntl_wtermsig','pcntl_wstopsig','pcntl_signal','pcntl_signal_dispatch','pcntl_get_last_error','pcntl_strerror',

[204] Lines should be no longer that 160 chars
php/map.jinja:520
                            'disable_functions': ['pcntl_alarm','pcntl_fork','pcntl_waitpid','pcntl_wait','pcntl_wifexited','pcntl_wifstopped','pcntl_wifsignaled',

[204] Lines should be no longer that 160 chars
php/map.jinja:521
                                'pcntl_wexitstatus','pcntl_wtermsig','pcntl_wstopsig','pcntl_signal','pcntl_signal_dispatch','pcntl_get_last_error','pcntl_strerror',

[204] Lines should be no longer that 160 chars
php/map.jinja:896
                            'disable_functions': ['pcntl_alarm','pcntl_fork','pcntl_waitpid','pcntl_wait','pcntl_wifexited','pcntl_wifstopped','pcntl_wifsignaled',

[204] Lines should be no longer that 160 chars
php/map.jinja:897
                                'pcntl_wexitstatus','pcntl_wtermsig','pcntl_wstopsig','pcntl_signal','pcntl_signal_dispatch','pcntl_get_last_error','pcntl_strerror',

[204] Lines should be no longer that 160 chars
php/map.jinja:1270
                            'disable_functions': ['pcntl_alarm','pcntl_fork','pcntl_waitpid','pcntl_wait','pcntl_wifexited','pcntl_wifstopped','pcntl_wifsignaled',

[204] Lines should be no longer that 160 chars
php/map.jinja:1271
                                'pcntl_wexitstatus','pcntl_wtermsig','pcntl_wstopsig','pcntl_signal','pcntl_signal_dispatch','pcntl_get_last_error','pcntl_strerror',

[204] Lines should be no longer that 160 chars
php/map.jinja:1644
                            'disable_functions': ['pcntl_alarm','pcntl_fork','pcntl_waitpid','pcntl_wait','pcntl_wifexited','pcntl_wifstopped','pcntl_wifsignaled',

[204] Lines should be no longer that 160 chars
php/map.jinja:1645
                                'pcntl_wexitstatus','pcntl_wtermsig','pcntl_wstopsig','pcntl_signal','pcntl_signal_dispatch','pcntl_get_last_error','pcntl_strerror',

[204] Lines should be no longer that 160 chars
php/map.jinja:2035
                            'disable_functions': ['pcntl_alarm','pcntl_fork','pcntl_waitpid','pcntl_wait','pcntl_wifexited','pcntl_wifstopped','pcntl_wifsignaled',

[204] Lines should be no longer that 160 chars
php/map.jinja:2036
                                'pcntl_wexitstatus','pcntl_wtermsig','pcntl_wstopsig','pcntl_signal','pcntl_signal_dispatch','pcntl_get_last_error','pcntl_strerror',

[204] Lines should be no longer that 160 chars
php/map.jinja:2206
                            'build_pkgs': ['libssl-dev', 'libcurl4-openssl-dev', 'pkg-config', 'libsslcommon2-dev', 'gcc', 'make', 'autoconf', 'libc-dev', 'pkg-config'],

[204] Lines should be no longer that 160 chars
php/map.jinja:2375
                            'disable_functions': ['pcntl_alarm','pcntl_fork','pcntl_waitpid','pcntl_wait','pcntl_wifexited','pcntl_wifstopped','pcntl_wifsignaled',

[204] Lines should be no longer that 160 chars
php/map.jinja:2376
                                'pcntl_wexitstatus','pcntl_wtermsig','pcntl_wstopsig','pcntl_signal','pcntl_signal_dispatch','pcntl_get_last_error','pcntl_strerror',
```
2019-10-09 16:07:50 +01:00
Imran Iqbal
b4d994cc09
fix(repo.sls): fix salt-lint errors
```bash
Examining php/hhvm/repo.sls of type state
[206] Jinja variables should have spaces before and after: {{ var_name }}
php/hhvm/repo.sls:12
    - name: deb http://dl.hhvm.com/{{ salt['grains.get']('os')|lower }} {{ salt['grains.get']('oscodename')}} main
```
2019-10-09 16:07:50 +01:00
Imran Iqbal
4e48a7adbb
fix(composer.sls): fix salt-lint errors
```bash
Examining php/composer.sls of type state
[210] Numbers that start with `0` should always be encapsulated in quotation marks
php/composer.sls:27
    - mode: 0755
```
2019-10-09 16:07:49 +01:00
Imran Iqbal
75f8d4dcb8 ci: merge travis matrix, add salt-lint & rubocop to lint job
* Automated using https://github.com/myii/ssf-formula/pull/60
2019-10-08 16:37:27 +01:00
semantic-release-bot
9c5fe287c3 chore(release): 1.2.1 [skip ci]
## [1.2.1](https://github.com/saltstack-formulas/php-formula/compare/v1.2.0...v1.2.1) (2019-10-07)

### Bug Fixes

* **pillar.example:** fix `yamllint` error ([1b1747a](https://github.com/saltstack-formulas/php-formula/commit/1b1747a)), closes [/travis-ci.org/myii/php-formula/builds/594703019#L208-L210](https://github.com//travis-ci.org/myii/php-formula/builds/594703019/issues/L208-L210)

### Continuous Integration

* **kitchen:** change `log_level` to `debug` instead of `info` ([b86237e](https://github.com/saltstack-formulas/php-formula/commit/b86237e))
* **kitchen:** install required packages to bootstrapped `opensuse` [skip ci] ([20be85a](https://github.com/saltstack-formulas/php-formula/commit/20be85a))
* **kitchen:** use bootstrapped `opensuse` images until `2019.2.2` [skip ci] ([f70ebd2](https://github.com/saltstack-formulas/php-formula/commit/f70ebd2))
* **platform:** add `arch-base-latest` (commented out for now) [skip ci] ([55d5df1](https://github.com/saltstack-formulas/php-formula/commit/55d5df1))
2019-10-07 19:01:04 +00:00
Imran Iqbal
5b19f603c1
Merge pull request #203 from myii/chore/update-yamllint-config
fix(pillar.example): fix `octal-values` violation
2019-10-07 19:36:37 +01:00
Imran Iqbal
1b1747a003
fix(pillar.example): fix yamllint error
* https://travis-ci.org/myii/php-formula/builds/594703019#L208-L210

```bash
$ yamllint -s .
./pillar.example
  151:30    error    forbidden implicit octal value "0660"  (octal-values)
```
2019-10-07 19:15:57 +01:00
Imran Iqbal
e0aa56f4e1
chore(yamllint): update ignored paths and add octal-values
* Automated using https://github.com/myii/ssf-formula/pull/59
2019-10-07 19:14:12 +01:00
Imran Iqbal
e34de1f319 chore(issues): update Bug report & Feature request templates [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/58
2019-10-07 15:26:27 +01:00
Imran Iqbal
20be85af76 ci(kitchen): install required packages to bootstrapped opensuse [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/53
2019-10-02 00:07:51 +01:00
Imran Iqbal
f70ebd21e0 ci(kitchen): use bootstrapped opensuse images until 2019.2.2 [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/52
2019-10-01 21:34:16 +01:00
Imran Iqbal
55d5df17d4 ci(platform): add arch-base-latest (commented out for now) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/50
2019-10-01 16:20:45 +01:00
Imran Iqbal
c31af3a8d2 chore(issues): provide Bug report & Feature request templates [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/48
2019-09-30 15:58:36 +01:00
Imran Iqbal
b86237ee60 ci(kitchen): change log_level to debug instead of info
* Automated using https://github.com/myii/ssf-formula/pull/41
2019-09-23 17:00:10 +01:00
semantic-release-bot
bd10230def chore(release): 1.2.0 [skip ci]
# [1.2.0](https://github.com/saltstack-formulas/php-formula/compare/v1.1.1...v1.2.0) (2019-09-13)

### Continuous Integration

* use `dist: bionic` & apply `opensuse-leap-15` SCP error workaround ([76a2f76](https://github.com/saltstack-formulas/php-formula/commit/76a2f76))
* **yamllint:** add rule `empty-values` & use new `yaml-files` setting ([6f6d4bc](https://github.com/saltstack-formulas/php-formula/commit/6f6d4bc))

### Features

* **tofs:** implementation for all file.managed ([8e79a35](https://github.com/saltstack-formulas/php-formula/commit/8e79a35))
2019-09-13 10:31:34 +00:00
Imran Iqbal
1802ac5182
Merge pull request #178 from sticky-note/feat/tofs
feat(tofs): implementation for all file.managed
2019-09-13 11:16:05 +01:00
sticky-note
8e79a3595c
feat(tofs): implementation for all file.managed
- Implementation of libtofs on ini macro, pools_config and apache2 mod_php.conf
+ Introduction of tplroot on modified files
+ `{%-` consistency when possible
2019-09-13 10:59:05 +01:00
Niels Abspoel
276d8f065c
Merge pull request #199 from myii/chore/standardise-structure
ci(yamllint): add rule `empty-values` & use new `yaml-files` setting
2019-09-12 18:11:07 +02:00
Imran Iqbal
6f6d4bcdbf ci(yamllint): add rule empty-values & use new yaml-files setting
* Automated using https://github.com/myii/ssf-formula/pull/27
2019-09-10 05:54:05 +01:00
Niels Abspoel
bb199b1517
Merge pull request #198 from myii/chore/standardise-structure
ci: use `dist: bionic` & apply `opensuse-leap-15` SCP error workaround
2019-09-08 21:47:27 +02:00
Imran Iqbal
13e4e58789
chore: use semantic-release cross-formula standard structure
* Automated using https://github.com/myii/ssf-formula/pull/24
2019-09-08 00:53:43 +01:00
Imran Iqbal
76a2f76295 ci: use dist: bionic & apply opensuse-leap-15 SCP error workaround
* Automated using https://github.com/myii/ssf-formula/pull/22
2019-09-07 03:36:54 +01:00
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