Sha256: eeeb99ee1a72517fa361140e5d6dcd02a8cb1c85f31c52bcb1ff2afc85b0932b

Contents?: true

Size: 529 Bytes

Versions: 345

Compression:

Stored size: 529 Bytes

Contents

module ::RanResources
  def self.resources
    @resources ||= []
  end
end
class RunContextCustomResource < Chef::Resource
  action :create do
    ruby_block '4' do
      block { RanResources.resources << 4 }
    end
    recipe_eval do
      ruby_block '1' do
        block { RanResources.resources << 1 }
      end
      include_recipe 'include::includee'
      ruby_block '3' do
        block { RanResources.resources << 3 }
      end
    end
    ruby_block '5' do
      block { RanResources.resources << 5 }
    end
  end
end

Version data entries

345 entries across 345 versions & 2 rubygems

Version Path
chef-17.10.95 spec/data/run_context/cookbooks/include/recipes/default.rb
knife-18.3.0 spec/data/run_context/cookbooks/include/recipes/default.rb
chef-18.3.0-x64-mingw-ucrt spec/data/run_context/cookbooks/include/recipes/default.rb
chef-18.3.0 spec/data/run_context/cookbooks/include/recipes/default.rb
chef-17.10.68-universal-mingw32 spec/data/run_context/cookbooks/include/recipes/default.rb
chef-18.2.7-x64-mingw-ucrt spec/data/run_context/cookbooks/include/recipes/default.rb
chef-18.2.7 spec/data/run_context/cookbooks/include/recipes/default.rb
chef-18.1.29 spec/data/run_context/cookbooks/include/recipes/default.rb
chef-18.1.29-x64-mingw-ucrt spec/data/run_context/cookbooks/include/recipes/default.rb
chef-16.18.30-universal-mingw32 spec/data/run_context/cookbooks/include/recipes/default.rb
chef-16.18.30 spec/data/run_context/cookbooks/include/recipes/default.rb
knife-18.1.0 spec/data/run_context/cookbooks/include/recipes/default.rb
chef-18.1.0-x64-mingw-ucrt spec/data/run_context/cookbooks/include/recipes/default.rb
chef-18.1.0 spec/data/run_context/cookbooks/include/recipes/default.rb
chef-18.0.185-x64-mingw-ucrt spec/data/run_context/cookbooks/include/recipes/default.rb
chef-18.0.185 spec/data/run_context/cookbooks/include/recipes/default.rb
chef-18.0.169-x64-mingw-ucrt spec/data/run_context/cookbooks/include/recipes/default.rb
chef-18.0.169 spec/data/run_context/cookbooks/include/recipes/default.rb
knife-17.10.0 spec/data/run_context/cookbooks/include/recipes/default.rb
chef-16.18.0-universal-mingw32 spec/data/run_context/cookbooks/include/recipes/default.rb