Commit Graph

235 Commits

Author SHA1 Message Date
sam
b702a35967 add minimum default to get fpm service works on FreeBSD 2019-03-05 10:19:33 +11:00
sam
8e1b990dd7 add minimum default to get fpm service works on FreeBSD 2019-03-05 10:08:43 +11:00
sam
2962d961c7 add minimum default to get fpm service works on FreeBSD 2019-03-05 09:08:55 +11:00
Alexander Weidinger
0ad616cf71 php.ng.fileinfo & php.ng.tokenizer 2019-01-15 09:21:22 +01:00
Andreas Thienemann
6405214d11 Handle different scl/legacy php naming for opcache.
When running on CentOS or RHEL the opcache package under php 5.4
us named php-pecl-zendopcache.
When using a newer PHP version like 5.6, 7.0 or 7.1 the package
is named slightly different though: php-opcache.

Take this into account.
2018-10-30 11:08:09 +01:00
Andreas Thienemann
d7dff5a882 Add missing SCL prefix for php-common 2018-10-23 10:35:52 +02:00
Niels Abspoel
b2c82fa3b1
Merge pull request #150 from Seldaek/patch-1
Remove sorting of php.ini files to support Python3
2018-10-21 22:03:52 +02: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
Niels Abspoel
5e933df525
Merge pull request #151 from bogdanr/master
Added support for Debian 9
2018-10-19 23:18:47 +02:00
Mark Gomersbach
d7e4d89d7c
Select stable instead of masked version of php 2018-10-11 08:21:37 +02:00
Mark Gomersbach
9ba295ad68
Leverage kindly provided specials/block syntax to fully support Gentoo. 2018-10-09 14:47:30 +02:00
Mark Gomersbach
19fb0d3f1d
Gentoo package names contain a category with a "/" delimitor.
This will make state names play nicely with gentoo.
2018-10-09 14:43:06 +02:00
Daniel Wallace
25c8d5c8ab
add support for 18.04 2018-08-01 10:22:27 -05:00
Daniel Wallace
6626b903d6
don't include include if it isn't going to include anything else 2018-07-31 14:34:13 -05:00
Bogdan Radulescu
1ea47c267e Added support for Debian 9 2018-06-26 15:32:55 +00:00
Jordi Boggiano
57d1ecd7cc
Remove sorting of php.ini files to support Python3 2018-05-07 09:06:42 +02:00
Kenneth Østrup
bb2cdc572f Added PHP Pear Mail support 2018-05-01 11:18:10 +02:00
Kenneth Østrup
a3b2dcafe1 Added support for PHP Pear Net-SMTP 2018-05-01 11:12:32 +02:00
Kenneth Østrup
175090537d Added PHP Pear Auth-SASL support 2018-05-01 11:12:20 +02:00
Alexander Weidinger
bad0f1b048 ng/map.jinja: FreeBSD cli pkg name 2018-03-19 13:46:17 +01:00
Alexander Weidinger
19e61f9dc3 Added php.ng.posix 2018-03-16 16:43:49 +01:00
Alexander Weidinger
eaa5401303 FreeBSD: corrected curl pkg name in map.jinja 2018-03-16 00:33:35 +01:00
Alexander Weidinger
d24a6e1d98 Added php.ng.session 2018-03-16 00:01:38 +01:00
Alexander Weidinger
c49da7e1f4 Added php.ng.ctype 2018-03-16 00:01:38 +01:00
Alexander Weidinger
4c6dcdfa22 FreeBSD: additional pkg names in map.jinja 2018-03-15 23:22:55 +01:00
Alexander Weidinger
4cffd9c9e1 composer update: date works differently on FreeBSD 2018-03-15 22:23:39 +01:00
Alexander Weidinger
fcb3d85f34 composer update: fixed unless cmd by using -gt instead of >
(Command was not working on Ubuntu 16.04.)
Both Ubuntu's and RedHat's man pages of test list -gt, but not >
as their 'greater than' operator.
2018-03-15 22:23:39 +01:00
Alexander Weidinger
4b6f0c689b Ubuntu: composer settings in map.jinja 2018-03-15 22:23:39 +01:00
Alexander Weidinger
9c5e042918 FreeBSD: support for php.ng.composer
added

  - php.ng.filter
  - php.ng.hash
  - php.ng.openssl
  - php.ng.phar
2018-03-15 22:23:39 +01:00
Alexander Weidinger
a12b0a1ba5 FreeBSD: PHP pkg (name + version) 2018-03-15 22:22:30 +01:00
Alexander Weidinger
7ea03f350f FreeBSD: support for php.composer 2018-03-15 22:22:30 +01:00
Alexander Weidinger
3a1e7ffa0c FreeBSD: local bin path 2018-03-15 22:22:30 +01:00
Alexander Weidinger
db45454657 FreeBSD: set ini file paths 2018-03-15 22:22:30 +01:00
Alexander Weidinger
d18c93563d php.ng.apache2: FreeBSD support 2018-03-15 22:22:30 +01:00
Niels Abspoel
5a3f40c7e1 fix iteritems for python3 2018-03-10 17:06:25 +01:00
Mario Fritschen
ffa1796722 Changed method to detect if composer self-update is needed. 2018-01-02 22:02:17 +01:00
Niels Abspoel
f08552cd53
Merge pull request #140 from tsia/patch-1
fixed copy/paste error
2017-11-14 20:09:45 +01:00
tsia
075207bea9
Update map.jinja 2017-11-08 12:53:50 +01:00
tsia
7bdc6a05c4
fixed typo 2017-11-07 11:31:07 +01:00
tsia
695b66c338
added support for ubuntu 17.10 / php7.1 2017-11-07 11:28:50 +01:00
tsia
913efbb0df
fixed copy/paste error
variable `phpng_version` was used here instead of `php_version`
2017-11-07 11:20:36 +01:00
Nicolas Rodriguez
9a015212fb Add readline package 2017-10-18 15:53:40 +02:00
Niels Abspoel
49c298f488 Merge pull request #135 from aboe76/debian_sury_repo
add sury repo for debian machines
2017-10-17 13:08:05 +02: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
Niels Abspoel
e72351a00f add sury repo for debian machines 2017-09-01 23:59:43 +02:00
Niels Abspoel
bb1be9cefd Merge pull request #134 from dseira/master
Fix to be able to create the pools folder in the fpm
2017-08-31 10:03:57 +02:00
Niels Abspoel
75a8eb8c0c Merge pull request #127 from M2Mobi/http
Add state file for installing the pecl_http extension.
2017-08-31 10:03:01 +02:00
David Seira
177ac39956 Fix to be able to create the pools folder in the fpm. Remi repository in CentOS doesn't create it by default. 2017-08-29 19:54:48 +02:00
Javier Bértoli
5d4a8201de Add Sybase/MS-SQL extension 2017-06-28 15:32:43 -03:00
Heinz Wiesinger
b9e9a614e2 Add state file for installing the uuid extension. 2017-06-27 15:22:27 +02:00
Heinz Wiesinger
b68efa029a Add state file for installing the pecl_http extension. 2017-04-26 11:24:58 +02:00
Wolodja Wentland
58c73054ea Do not include php state in php.fpm
Including php in php.fpm makes it hard to use php fpm with webservers such as
nginx or lighttpd on, at least, Debian and derivatives.

This fixes #124.
2017-03-08 16:06:57 +00:00
Vitali Quiering
51984f06de Make php.ng.maps.jinja work for php5 on Debian. Fixed config dir. 2017-02-16 10:42:15 +01:00
Vitali Quiering
6b74439a81 Changed php-redis pkg name in map.jinja for php.ng 2017-01-30 15:39:40 +01:00
Vitali Quiering
980a5f50e7 Add elif statement in ng/maps.jinja to ensure packages for Debian 2017-01-30 12:31:28 +01: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
Aidan Harris
aba45febe0 Add xdebug package for RedHat family operating systems in map.jina 2016-12-10 22:02:50 +00:00
Alexey Genus
cb4515b467 Add php-mongodb and php-mongo plugins support 2016-12-08 00:10:19 +03:00
Christian McHugh
a1f445d99f add php-bcmath 2016-10-22 20:25:51 +01:00
Christoffer Stokbaek
d987669080 Added net-ipv4/6 and pear to map.jinja 2016-09-16 15:56:43 +02:00
Niels Abspoel
e890b2aba9 Merge pull request #107 from stokbaek/master
Added missing settings for ubuntu.
2016-08-29 19:35:24 +02:00
Wolodja Wentland
8e9e51d692 Remove dotdeb from php state
The included state was never submitted in
https://github.com/saltstack-formulas/php-formula/pull/77 and we
therefore remove inclusion here to allow users to use the php state
again.
2016-08-25 16:50:19 +02:00
Christoffer Stokbaek
3848f30d75 Added missing settings for ubuntu. 2016-07-25 16:20:26 +02:00
Wolodja Wentland
41f417be16 Remove duplicate dev_pkg entries.
This was introduced in #86 and really should have never been released.
2016-07-25 14:50:56 +02:00
Niels Abspoel
9ff852b4b0 add missing sls files and readme 2016-07-13 09:59:30 +02: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
Niels Abspoel
fd1612bf2d add more missing modules 2016-07-12 15:05:29 +02:00
Niels Abspoel
d7331e5f78 add some missing modules for debian and ubuntu 2016-07-11 13:27:55 +02:00
Niels Abspoel
e27f49f136 update map.jinja with removed archlinux and fpm support 2016-07-09 21:45:42 +02:00
Forrest
df5e84087a Merge pull request #100 from genuss/fix_map.jinja
Add intl package name for php7.0
2016-07-08 09:25:46 -07:00
a.genus
1dca17acfa Add intl package name for php7.0 2016-07-08 12:25:07 +03:00
Aline Freitas
8aaff98176 Add support for Ubuntu Xenial Xerus (16.04). 2016-07-07 20:14:32 -03:00
a.genus
4cfc5ba013 Add php-gearman support 2016-07-06 12:31:15 +03:00
Ryan Hayle
a01466d076 Add missing default package names for Debian/php7.
This was causing an error with the php.ng.redis and php.ng.xdebug states.
2016-07-01 14:33:45 -05:00
Kenneth Oestrup
d5fb8d3128 Added SNMP module for PHP NG 2016-06-28 11:48:37 +02:00
Alex Powell
de96c787d5 Fixing composer with php7.
Fixing php7 pgsql package definition.
Adding mbstring and sqlite package definitions for php7.
2016-06-01 19:03:31 +01:00
John Carlyle-Clarke
65e7971a44 Fix for broken test statement that prevents PPA workaround ever executing 2016-05-25 14:50:21 +00:00
Tadas Barzdzius
04fe02d431 Add composer package 2016-05-04 12:49:29 +03:00
Niels Abspoel
33ea716515 add php-zip 2016-05-02 21:58:00 +02:00
Niels Abspoel
bbd7161292 add php-apcu for debian stretch (7.0) 2016-05-02 21:22:29 +02:00
Roman Pertl
3715bfd9ac adding missing geoip module support with arch linux 2016-05-02 18:42:56 +00:00
Roman Pertl
3183009339 adding support for php tidy module (currently arch only tested) 2016-05-02 18:42:29 +00:00
Wolodja Wentland
c780e165e5 Do not hardcode composer checksum
This allows composer installs to function even if the installer checksum
changes, and doesn't force us to update the formula whenever their
installer changes.

We can do this now as composer upstream provides the checksum on
https://composer.github.io/installer.sig since 2016-04-28.
2016-04-29 10:53:57 +02:00
Forrest
61fa912834 Merge pull request #80 from aboe76/debian_php7
Update php ng map with debian php 7.0
2016-04-27 17:33:15 -07:00
Forrest
328224a63e Merge pull request #81 from babilen/set-composer-home
Explicitly set HOME when running composer install.
2016-04-27 17:31:53 -07:00
Tadas Barzdzius
80f6a98b29 Add default pools settings to fix issue #47 2016-04-27 19:03:08 +03:00
Wolodja Wentland
e9b1c4ce07 Explicitly set HOME when running composer install.
Without this installation fails with:

  The HOME or COMPOSER_HOME environment variable must be set for
  composer to install correctly
2016-04-27 15:43:44 +02:00
Niels Abspoel
fdcdb2de97 Update php ng map with debian php 7.0
minor improvements to archlinux php cli.
2016-04-27 14:16:14 +02:00
Tadas Barzdzius
4f16779ffb Add opcache package 2016-04-16 17:25:27 +03:00
Wolodja Wentland
f1aa592207 Update composer installer sha256 hash 2016-04-14 13:30:14 +02:00
Bogdan Radulescu
6e87843aa9 Added a bunch of new PHP7 packages and fixed fpm_service for PHP5 2016-03-30 04:42:06 -07:00
Bogdan Radulescu
8fc048a4b5 Added the readline PHP package and support for PHP7 in Debian. 2016-03-29 07:48:03 -07:00
Wolodja Wentland
70b995041d Run composer installer with PHP
The composer installer has to be executed with PHP itself as detailed on
https://getcomposer.org/download/.
2016-02-29 18:08:55 +01:00
Zachary Softich
0aa92cbcc9 Only add ppa if it doesn't exist.
This comit is in addition to pull request #70. The add-apt-repository command
will only be run when the ppa has not yet been added.
2015-12-23 09:57:06 -06:00
Bogdan Radulescu
7c2bd44ae9 Added the php-mail package for Debian 2015-12-16 13:24:03 +00:00
Ryan Hayle
1016376bcf Add repo manually (work-around for saltstack/salt#23543) 2015-12-10 20:54:17 -06:00
Rowcliffe Browne
b19c59c2a9 changed hhvm PID filepath to match default /etc/init.d/hhvm PID filepath 2015-10-28 16:12:15 +08:00
Forrest
256145736a Merge pull request #64 from danoe/dev
manage xcache.ini in pillar
2015-10-23 15:36:52 -07:00
Daniel Oetken
861ddd2db4 manage xcache.ini in pillar 2015-10-24 00:19:23 +02:00