class ChefCLI::Policyfile::ChefServerLockFetcher
def lock_data
-
(String)
- of the policyfile lock data
def lock_data @lock_data ||= fetch_lock_data.tap do |data| data["cookbook_locks"].each do |cookbook_name, cookbook_lock| cookbook_lock["source_options"] = { "chef_server_artifact" => server, "identifier" => cookbook_lock["identifier"], } end end end