FreeBSD: support for php.ng.composer
added - php.ng.filter - php.ng.hash - php.ng.openssl - php.ng.phar
This commit is contained in:
parent
7f5c0aaea7
commit
eb32e3a095
@ -12,6 +12,14 @@
|
||||
|
||||
include:
|
||||
- php.ng
|
||||
{% if grains['os_family'] == 'FreeBSD' %}
|
||||
- php.ng.filter
|
||||
- php.ng.hash
|
||||
- php.ng.json
|
||||
- php.ng.mbstring
|
||||
- php.ng.openssl
|
||||
- php.ng.phar
|
||||
{% endif %}
|
||||
|
||||
get-composer:
|
||||
file.managed:
|
||||
|
2
php/ng/filter.sls
Normal file
2
php/ng/filter.sls
Normal file
@ -0,0 +1,2 @@
|
||||
{% set state = 'filter' %}
|
||||
{% include "php/ng/installed.jinja" %}
|
2
php/ng/hash.sls
Normal file
2
php/ng/hash.sls
Normal file
@ -0,0 +1,2 @@
|
||||
{% set state = 'hash' %}
|
||||
{% include "php/ng/installed.jinja" %}
|
@ -2398,8 +2398,16 @@
|
||||
},
|
||||
'pkgs': {
|
||||
'apache2': 'mod_php' + freebsd_phpng_version,
|
||||
'composer_bin': 'composer',
|
||||
'filter': 'php' + freebsd_phpng_version + '-filter',
|
||||
'hash': 'php' + freebsd_phpng_version + '-hash',
|
||||
'json': 'php' + freebsd_phpng_version + '-json',
|
||||
'local_bin': '/usr/local/bin',
|
||||
'mbstring': 'php' + freebsd_phpng_version + '-mbstring',
|
||||
'openssl': 'php' + freebsd_phpng_version + '-openssl',
|
||||
'php': 'php' + freebsd_phpng_version,
|
||||
'phar': 'php' + freebsd_phpng_version + '-phar',
|
||||
'temp_dir': '/tmp',
|
||||
},
|
||||
},
|
||||
}),
|
||||
|
2
php/ng/openssl.sls
Normal file
2
php/ng/openssl.sls
Normal file
@ -0,0 +1,2 @@
|
||||
{% set state = 'openssl' %}
|
||||
{% include "php/ng/installed.jinja" %}
|
2
php/ng/phar.sls
Normal file
2
php/ng/phar.sls
Normal file
@ -0,0 +1,2 @@
|
||||
{% set state = 'phar' %}
|
||||
{% include "php/ng/installed.jinja" %}
|
Loading…
Reference in New Issue
Block a user