add composer bin and hash variables so it could be overridden in pillar if needed.

This commit is contained in:
Hayden King 2015-07-19 18:01:34 -05:00
parent f3e4197fcb
commit 77c6e9b2c0

View File

@ -36,6 +36,8 @@
'ext_conf_path': '/etc/php5/mods-available', 'ext_conf_path': '/etc/php5/mods-available',
'local_bin': '/usr/local/bin', 'local_bin': '/usr/local/bin',
'temp_dir': '/tmp', 'temp_dir': '/tmp',
'composer_bin': 'composer',
'composer_hash': 'sha256=6a1ba6495f0bdb8e7735a7a76948b61c54b4a57b56837a9e9f93b4a0ac1f83a5',
}, },
'RedHat': { 'RedHat': {
'php_pkg': 'php', 'php_pkg': 'php',
@ -74,6 +76,8 @@
'ext_conf_path': '/etc/php5/conf.d', 'ext_conf_path': '/etc/php5/conf.d',
'local_bin': '/usr/local/bin', 'local_bin': '/usr/local/bin',
'temp_dir': '/tmp', 'temp_dir': '/tmp',
'composer_bin': 'composer',
'composer_hash': 'sha256=6a1ba6495f0bdb8e7735a7a76948b61c54b4a57b56837a9e9f93b4a0ac1f83a5',
}, },
'Suse': { 'Suse': {
'php_pkg': 'php5', 'php_pkg': 'php5',
@ -103,5 +107,7 @@
'ext_conf_path': '/etc/php5/conf.d', 'ext_conf_path': '/etc/php5/conf.d',
'local_bin': '/usr/local/bin', 'local_bin': '/usr/local/bin',
'temp_dir': '/tmp', 'temp_dir': '/tmp',
'composer_bin': 'composer',
'composer_hash': 'sha256=6a1ba6495f0bdb8e7735a7a76948b61c54b4a57b56837a9e9f93b4a0ac1f83a5',
}, },
}, merge=salt['pillar.get']('php:lookup')) %} }, merge=salt['pillar.get']('php:lookup')) %}