Commit Graph

28 Commits

Author SHA1 Message Date
Yoda-BZH
53068f73b0
docs: add example to use a specific php version when using multiple ones
Co-authored-by: Tristan Charbonneau <tcharbonneau@oceanet-technology.com>
2020-04-20 09:50:35 +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
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
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
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
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
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
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
Arthur Lutz
a98aa7e81a docs(pillar.example): example of versions 2019-07-10 16:52:15 +02:00
Adrien "ze" Urban
2d1d8f23ad php.ng.modules: documentation 2019-04-03 14:31:33 +02:00
Paweł Rosada
1b25ed631e
Add documentation 2019-03-26 18:53:35 +01:00
Andreas Thienemann
956cee6f69 Enable Softwarecollections on RHEL and CentOS
As RHEL and CentOS are both longer-lived enterprise-class operating
systems the software versions are usually lagging a bit behind.

In case one wants the longevity of an Enterprise Linux together with
more modern software the Softwarecollections project exists which
offers amongst others more modern PHP releases.

This commit adds a pillar toggle to use the SCL repo and the ability
to select which php version to install.
2018-10-21 01:02:27 +02:00
Alexander Weidinger
d18c93563d php.ng.apache2: FreeBSD support 2018-03-15 22:22:30 +01:00
Niels Abspoel
6fad18a5a1 Merge pull request #123 from vquiering/master
Make php.ng.maps.jinja work for php5 on Debian
2017-10-17 13:07:38 +02:00
Mario Fritschen
75bbecaf28 Add possibility to define default values for php-fpm pools 2017-10-17 10:49:42 +02:00
Ryan Hayle
76d8758b8a Update pillar.example to reflect new structure
I had to dig through the source to figure this out.  Will need to be updated again once #116 is merged.
2017-01-09 15:13:43 -06:00
sc250024
1e3e3032f3 New structure for new Ubuntu PPA and other fixes (#113)
* Initial commit for new branch

* Quick change to base test files

* Updated map.jinja, added `php` dependency for all subformulas

* Fixing mongo module and map.jinja needed OpenSSL dev libraries

* Should be final changes needed for Mongo module

* Updating Suhosin package since many distros don't have package in their
repos anymore

* Generalizing suhosin module, and updating pillar.example for new PPA

* Adding addtional logic for RedHat based families to Suhosin

* Initial commit of NG refactored map.jinja file

* Deleting FFMpeg state file since the module is quite old, and has been
replaced by using a Composer library. See
https://github.com/PHP-FFMpeg/PHP-FFMpeg for details

* Updating NG formulas for new definitions

* Removing 'twig' as a state since it can be installed via Composer

* Changes to installed.jinja to set correct PHP path based on version

* NG Composer and NG Suhosin changes

* Version bump and deleting README for deleted states

* Finished refactor of NG map.jinja file

* Adding trailing commas (forgot them earler)

* Adding changes list, and modifying map file for missing definitions when
using Ubuntu 16.04 and NOT using a PPA

* Changes needed after performing testing on RHEL 7

* Changes needed for Ubuntu Trusty without using PPA

* Removing testing files; keep on local

* Map changes needed after testing Debian Jessie

* Changed needed for Debian Wheezy

* Adding more pkgs for Arch Linux support

* More ArchLinux support

* Stupid tabs

* Removing extra line breaks, and using the general "use_external_repo" in
the future if DotDeb (Debian) or Webtactic (RedHat)

* Accoutning for Precise `phpenmod` and others
2016-12-13 13:37:53 -08:00
Rene Jochum
ce9ce324ce Allow overwriting the fpm pools config name via 'filename'.
Signed-off-by: Rene Jochum <rene@jochums.at>
2016-07-12 19:20:16 +02:00
Daniel Oetken
767d94c40d pillar example for xcache.ini 2015-10-24 00:34:18 +02:00
Imran Haider
b7dd176c84 Allow pillars to specify a list of extensions 2015-06-20 14:35:21 -04:00
Marc Schiffbauer
7685f9a800 fix comment typo 2015-01-15 17:39:52 +01:00
Walter Dal Mut
6ebf75fbb5 Add example information 2014-08-22 09:38:56 +02:00
Chad Heuschober
7f90be9f9f Finishes first-pass documentation and fixes minor niggle in pools_config. 2014-06-06 15:06:49 -04:00
Chad Heuschober
ef19addb98 Cleaned up pools. 2014-06-06 14:53:36 -04:00
Chad Heuschober
116f3fae70 Rewrote ini and cli.ini handling 2014-06-06 13:14:44 -04:00
Michael Grosser
2a2f921204 Add pillar.example 2013-07-27 20:38:33 +02:00