From 70b995041d425349524a0fef2e4c87172b71440b Mon Sep 17 00:00:00 2001 From: Wolodja Wentland Date: Mon, 29 Feb 2016 18:08:55 +0100 Subject: [PATCH] Run composer installer with PHP The composer installer has to be executed with PHP itself as detailed on https://getcomposer.org/download/. --- php/composer.sls | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php/composer.sls b/php/composer.sls index 374b36f..37a0827 100644 --- a/php/composer.sls +++ b/php/composer.sls @@ -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