Skip to content
This repository has been archived by the owner on Dec 2, 2020. It is now read-only.

Commit

Permalink
Merge pull request #38 from webbj74/composer-1.0.0-alpha8
Browse files Browse the repository at this point in the history
Composer 1.0.0 alpha8
  • Loading branch information
mattheath committed May 7, 2014
2 parents 5d55625 + 50f1f60 commit 3b3f541
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions manifests/composer.pp
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
require php

exec { 'download-php-composer':
command => "curl -sS -o ${php::config::root}/bin/composer http://getcomposer.org/download/1.0.0-alpha7/composer.phar",
unless => "[ -f ${php::config::root}/bin/composer ] && [ \"`md5 -q ${php::config::root}/bin/composer`\" = \"ef51599395560988ea3e16912bfd70f8\" ]",
command => "curl -sS -o ${php::config::root}/bin/composer https://getcomposer.org/download/1.0.0-alpha8/composer.phar",
unless => "[ -f ${php::config::root}/bin/composer ] && [ \"`md5 -q ${php::config::root}/bin/composer`\" = \"df1001975035f07d09307bf1f1e62584\" ]",
cwd => $php::config::root,
require => Exec['phpenv-setup-root-repo']
} ->
Expand Down
4 changes: 2 additions & 2 deletions spec/classes/php_composer_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
should include_class("php")

should contain_exec("download-php-composer").with({
:command => "curl -sS -o /test/boxen/phpenv/bin/composer http://getcomposer.org/download/1.0.0-alpha7/composer.phar",
:unless => "[ -f /test/boxen/phpenv/bin/composer ] && [ \"`md5 -q /test/boxen/phpenv/bin/composer`\" = \"ef51599395560988ea3e16912bfd70f8\" ]",
:command => "curl -sS -o /test/boxen/phpenv/bin/composer https://getcomposer.org/download/1.0.0-alpha8/composer.phar",
:unless => "[ -f /test/boxen/phpenv/bin/composer ] && [ \"`md5 -q /test/boxen/phpenv/bin/composer`\" = \"df1001975035f07d09307bf1f1e62584\" ]",
:cwd => "/test/boxen/phpenv",
:require => "Exec[phpenv-setup-root-repo]"
})
Expand Down

0 comments on commit 3b3f541

Please sign in to comment.