Run composer installer with PHP

The composer installer has to be executed with PHP itself as detailed on
https://getcomposer.org/download/.
This commit is contained in:
Wolodja Wentland 2016-02-29 18:08:55 +01:00
parent 85701355bd
commit 70b995041d

View File

@ -16,7 +16,7 @@ get-composer:
install-composer:
cmd.run:
- name: {{ php.temp_dir }}/installer --filename={{ php.composer_bin }} --install-dir={{ php.local_bin }}
- name: php {{ php.temp_dir }}/installer --filename={{ php.composer_bin }} --install-dir={{ php.local_bin }}
- unless: test -f {{ install_file }}
- require:
- file: get-composer