我试图避免使用以下语句备份我通过厨师下载的 remote_files:
remote_file "#{node[:logneo][:basedir]}/deployedWars/#{war}.war" do
backup "false"
source "#{artifactsRepositoryToDeployFrom}/moveit/#{artifactsNameToDeploy}/#{artifactsVersionToDeploy}/wars/#{war}.war"
owner "iappl"
group "users"
mode "0644"
end
我收到以下错误:
Chef::Exceptions::ValidationFailed: Option backup must be a kind of IntegerFalseClass! You passed "false".
有谁知道我能做些什么来解决这个问题?我的厨师版本可能有问题吗?