Open jessereynolds opened 6 years ago
@jessereynolds If you just run r10k deploy puppetfile
does it show the same behaviour? Smells like an r10k bug to me, unless there's something onceover can do to detect this, or if it's a problem with onceover's caching
It seems that sometimes onceover is unable to pull the latest tags for a cached module that has a git url in the Puppetfile
Today I updated the
vra_puppet_plugin_prep
module and tagged it with0.1.7
. After bumping the tag in Puppetfile and re-running onceover it hit this issue.The
git checkout
command errors out with:fatal: empty string is not a valid pathspec. please use . instead if you meant to match all paths
Delving in a bit to the cached module git shows that the latest commits have been fetched however HEAD is not pointing to the latest commit, and the latest tag
0.1.7
is missing.The workaround for this situation is to remove the cached module and re-run onceover.