From d723b7b87cb07aa5204e228618d9698a3e89fabc Mon Sep 17 00:00:00 2001 From: Kurt Bendlin Date: Thu, 21 May 2015 11:26:30 +0200 Subject: [PATCH] require packages curl and cli. This also prevents the installing of apache on apt-get-systems --- php/composer.sls | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/php/composer.sls b/php/composer.sls index 530c723..b3bd307 100644 --- a/php/composer.sls +++ b/php/composer.sls @@ -2,7 +2,8 @@ {% set install_file = php.local_bin + '/composer' %} include: - - php + - php.cli + - php.ng.curl get-composer: cmd.run: @@ -10,7 +11,8 @@ get-composer: - unless: test -f {{ install_file }} - cwd: {{ php.temp_dir }} - require: - - pkg: php + - pkg: {{ php.cli_pkg }} + - pkg: {{ php.curl_pkg }} install-composer: cmd.wait: