require packages curl and cli. This also prevents the installing of apache on apt-get-systems

This commit is contained in:
Kurt Bendlin 2015-05-21 11:26:30 +02:00
parent 05580656db
commit d723b7b87c

View File

@ -2,7 +2,8 @@
{% set install_file = php.local_bin + '/composer' %} {% set install_file = php.local_bin + '/composer' %}
include: include:
- php - php.cli
- php.ng.curl
get-composer: get-composer:
cmd.run: cmd.run:
@ -10,7 +11,8 @@ get-composer:
- unless: test -f {{ install_file }} - unless: test -f {{ install_file }}
- cwd: {{ php.temp_dir }} - cwd: {{ php.temp_dir }}
- require: - require:
- pkg: php - pkg: {{ php.cli_pkg }}
- pkg: {{ php.curl_pkg }}
install-composer: install-composer:
cmd.wait: cmd.wait: