Alexander Weidinger
4 år sedan
förälder
incheckning
d727b15557
Inget konto är kopplat till bidragsgivarens mejladress
3 ändrade filer med
22 tillägg och
8 borttagningar
-
php/composer.sls
-
php/map.jinja
-
pillar.example
|
|
@@ -12,14 +12,9 @@ |
|
|
|
|
|
|
|
include: |
|
|
|
- php |
|
|
|
{% if grains['os_family'] == 'FreeBSD' %} |
|
|
|
- php.filter |
|
|
|
- php.hash |
|
|
|
- php.json |
|
|
|
- php.mbstring |
|
|
|
- php.openssl |
|
|
|
- php.phar |
|
|
|
{% endif %} |
|
|
|
{%- for module in php.lookup.get('composer', {}).get('required_modules', []) %} |
|
|
|
- php.{{ module }} |
|
|
|
{%- endfor %} |
|
|
|
|
|
|
|
get-composer: |
|
|
|
file.managed: |
|
|
@@ -3102,6 +3102,15 @@ |
|
|
|
'cli': { |
|
|
|
'ini': '/usr/local/etc/php.ini' |
|
|
|
}, |
|
|
|
'composer': { |
|
|
|
'required_modules': [ |
|
|
|
'filter', |
|
|
|
'json', |
|
|
|
'mbstring', |
|
|
|
'openssl', |
|
|
|
'phar', |
|
|
|
], |
|
|
|
}, |
|
|
|
'pkgs': { |
|
|
|
'apache2': 'mod_php' + freebsd_php_version, |
|
|
|
'composer_bin': 'composer', |
|
|
@@ -74,6 +74,16 @@ php: |
|
|
|
cli: |
|
|
|
ini: /location/of/php-cli/php.ini |
|
|
|
|
|
|
|
# php.composer |
|
|
|
# Some OS need modules to be installed |
|
|
|
composer: |
|
|
|
required_modules: |
|
|
|
- filter |
|
|
|
- json |
|
|
|
- mbstring |
|
|
|
- openssl |
|
|
|
- phar |
|
|
|
|
|
|
|
# php-fpm settings |
|
|
|
fpm: |
|
|
|
|