我得到里面的配方这种方法 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]