Closed danielcbright closed 3 years ago
Thanks for filing this @danielcbright - by non standard
do you just mean the name of the file is not Policyfile.rb
?
@tyler-ball yes, exactly, if the name of the file is not Policyfile.rb
.
We are about to refactor our Chef to use policyfiles that are delivered via Jenkins pipelines so it would be really nice to see this issue resolved.
@smackmybitsup I found these super useful https://github.com/chef-cft/chef-examples/tree/master/examples/pipelines
@danielcbright I think this was resolved in 20.9.136 with the cookbook-omnifetch change. I'm closing this, but please re-open if you're finding this still occurs.
Description
When using a non-standard policyfile lock
json
, every time achef push
is performed, the lock file gets rebuilt and thus gets a new Revision ID. The same behavior for a standardPolicyfile.lock.json
is not observed as it works as intended.Here is some output:
Chef Workstation Version
Platform Version
Mac OS/X also confirmed on: Centos 7/8
Aha! Link: https://chef.aha.io/features/SH-2705