![[和訳] 「install.sh の Curl パイプ Bash」問題を解決する 5つの方法 #getchef - クリエーションライン株式会社](https://cdn-ak-scissors.b.st-hatena.com/image/square/3576b0b6208b91787eecff8e7914dcf893335a64/height=288;version=1;width=512/https%3A%2F%2Fwww.creationline.com%2Ftech-blog%2Fcms_x3GWkuX%2Fwp-content%2Fuploads%2F2013%2F01%2Fcl-logo.png)
前者は動くのに後者はなぜか動かず、瞬間で処理が終了してしまっていた。エラーも吐かず正常終了しているように見えるので、原因がわからなかったが、公式ドキュメントを読み原因がわかった。 https://docs.chef.io/resource_execute.html https://docs.chef.io/resource_bash.html executeのnameの説明 name is the name of the resource block; when the command attribute is not specified as part of a recipe, name is also the command to be executed bashのnameの説明 name is the name of the resource block; when the comm
chef-soloでplenvを使ってPerlをインストールしようとしたけどなかなかうまくいかなかった。 git node['perl']['plenv_dir'] do repository 'git://github.com/tokuhirom/plenv.git' user node['vagrant']['user'] group node['vagrant']['group'] reference 'master' action :sync end directory node['perl']['plenv_dir']+'/plugins' do owner node['vagrant']['user'] group node['vagrant']['group'] mode 0755 action :create end git node['perl']['plenv_dir'
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く