我得到裏面的配方這種方法 script "bashbashed" do
interpreter "bash"
user "root"
code <<-EOH
cd /my/path
ant clean
ant build
ant deploy
EOH
end
回報 localhost STDERR: /tmp/
我必須運行一個自定義的廚師食譜來創建一個目錄在/ ops下,但我不想爲此使用root用戶。我有誰擁有sudo的特權時用戶創建一個目錄手動 sudo mkdir /ops/usr/apps is working fine manually.
我有我的配方來創建一個目錄,因爲這: directory "#{node[:workspace]}" do
owner "#{node[:user
Python for Android支持lxml。但是我怎樣才能導入它?在Google網站上,recipe.sh文件中有一個模塊。但我無法在那裏運行它。我得到了一些錯誤: [email protected]:/mnt/sdcard $ sh recipe.sh
: nor found]
recipe.sh[6]: get_directory: not found
: not found]