Sha256: 32aa66376a3a482f1708236d3f427902046728564e7d715ffe0eb2bffbda07db

Contents?: true

Size: 577 Bytes

Versions: 16

Compression:

Stored size: 577 Bytes

Contents

# This is vitally important for cookbooks that ship with context-dependent
# metadata.rb (to do things like auto incrementing semantic versioning) where
# the metadata.json means the cookbook is 'finalized' and must be authoritative.
# We need to never try to parse metadata.rb if the metadata.json exists.  It isn't
# sufficient to simply not use the metadata.rb file, but we must allow the
# metadata.rb to have an invalid parse due to LoadErrors in the environment where
# the cookbook is being loaded.

raise "we never want to read the metadata.rb if metadata.json exists"

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
chef-cli-5.6.16 spec/unit/fixtures/example_cookbook_both_metadata/metadata.rb
chef-cli-5.6.14 spec/unit/fixtures/example_cookbook_both_metadata/metadata.rb
chef-cli-5.6.13 spec/unit/fixtures/example_cookbook_both_metadata/metadata.rb
chef-cli-5.6.12 spec/unit/fixtures/example_cookbook_both_metadata/metadata.rb
chef-cli-5.6.11 spec/unit/fixtures/example_cookbook_both_metadata/metadata.rb
chef-cli-5.6.8 spec/unit/fixtures/example_cookbook_both_metadata/metadata.rb
chef-cli-5.6.1 spec/unit/fixtures/example_cookbook_both_metadata/metadata.rb
chef-cli-5.6.0 spec/unit/fixtures/example_cookbook_both_metadata/metadata.rb
chef-cli-5.5.6 spec/unit/fixtures/example_cookbook_both_metadata/metadata.rb
chef-cli-5.5.5 spec/unit/fixtures/example_cookbook_both_metadata/metadata.rb
chef-cli-5.5.4 spec/unit/fixtures/example_cookbook_both_metadata/metadata.rb
chef-cli-5.5.0 spec/unit/fixtures/example_cookbook_both_metadata/metadata.rb
chef-cli-5.4.2 spec/unit/fixtures/example_cookbook_both_metadata/metadata.rb
chef-cli-5.4.1 spec/unit/fixtures/example_cookbook_both_metadata/metadata.rb
chef-cli-5.3.1 spec/unit/fixtures/example_cookbook_both_metadata/metadata.rb
chef-cli-5.3.0 spec/unit/fixtures/example_cookbook_both_metadata/metadata.rb