recentpopularlog in

therobyouknow : issue   106

« earlier  
composer install error under CentOS 6 · Issue #2098 · puphpet/puphpet · GitHub
==> default: Error: curl -sS | php returned 255 instead of one of [0]
==> default: Error: /Stage[main]/Composer/Exec[download_composer]/returns: change from notrun to 0 failed: curl -sS | php returned 255 instead of one of [0]
==> default: Notice: /Stage[main]/Composer/File[/usr/local/bin/composer]: Dependency Exec[download_composer] has failures: true
==> default: Warning: /Stage[main]/Composer/File[/usr/local/bin/composer]: Skipping because of failed dependencies

Only for info. I had this puphpet issue, after vagrant provision, this contained the solution:
(2nd solution is what I am using, according to my beyond compare with my current setup vs the original zip I downloaded from puphpet. I used beyond compare to remind me as I had forgotten how I had fixed it)

'wget': {
- $download_command = "wget -O composer.phar"
+ $download_command = "wget -qO- | ${composer::php_bin}"

if defined(File["${target_dir}/${composer_file}"]) == false {
exec { 'download_composer':
command => $download_command,
cwd => $tmp_path,
require => $download_require,
creates => "${tmp_path}/composer.phar",
logoutput => $logoutput,
environment => "COMPOSER_HOME={$composer_home}",

This is in puphpet/puppet/modules/composer/manifests/init.pp
puphpet  error  vm  remedy  fix  issue  github  computing  dev  vagrant  virtualbox  virtualmachine  wget  curl  problem  solution 
january 2016 by therobyouknow
« earlier      
per page:    204080120160

Copy this bookmark:

to read