私はphpunitをインストールするためのレグメントを作成しましたが、シェフのレシピが既に完了してから実行を停止する方法
execute "discover phpunit" do
command "pear channel-discover pear.phpunit.de"
action :run
end
execute "config phpunit" do
command "pear config-set auto_discover 1"
action :run
end
execute "install phpunit" do
command "pear install pear.phpunit.de/PHPUnit"
action :run
end
は私が取得:何が起こっているかのように見えます
[default] [Thu, 29 Mar 2012 14:39:57 -0700] ERROR: execute[discover phpunit] (phpunit::default line 39) has had an error
[Thu, 29 Mar 2012 14:39:57 -0700] ERROR: execute[discover phpunit] (/tmp/vagrant-chef-1/chef-solo-1/phpunit/recipes/default.rb:39:in `from_file') had an error:
execute[discover phpunit] (phpunit::default line 39) had an error: Chef::Exceptions::ShellCommandFailed: Expected process to exit with [0], but received '1'
---- Begin output of pear channel-discover pear.phpunit.de ----
STDOUT: Channel "pear.phpunit.de" is already initialized
あなたはどのバージョンのお粥をお使いですか? –
@MichaelIrey version 0.8.7 – NathanBrakk