【发布时间】:2021-07-14 22:50:48
【问题描述】:
这是我的厨师代码
git "/usr/local" do
repository "https://github.internal.com/TOTC/maven-install.git"
revision 'master'
action :sync
#notifies :run, "execute[unpack_maven]"
end
git "/opt/chef/cache" do
repository "https://github.kdc.internal.com/TOTC/Python_Install.git"
revision 'master'
action :sync
#notifies :run, "execute[unpack_python]"
end
当其中任何一个运行时,它都会显示..,
git[/opt/chef/cache] action checkout (up to date)
execute[unpack_python] action runsh: line 0: cd: /opt/chef/cache/Python_Install/: No such file or directory
它似乎认为它是最新的并与主存储库同步,但是当我查找该文件夹时它不存在。
有人见过这种行为吗?
【问题讨论】:
标签: git chef-infra