前者は動くのに後者はなぜか動かず、瞬間で処理が終了してしまっていた。エラーも吐かず正常終了しているように見えるので、原因がわからなかったが、公式ドキュメントを読み原因がわかった。 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ページを開く