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
knife-18.6.13 spec/data/run_context/cookbooks/include/recipes/default.rb
knife-18.6.2 spec/data/run_context/cookbooks/include/recipes/default.rb
chef-18.6.2-universal-mingw-ucrt spec/data/run_context/cookbooks/include/recipes/default.rb
chef-18.6.2 spec/data/run_context/cookbooks/include/recipes/default.rb
chef-17.10.163-universal-mingw32 spec/data/run_context/cookbooks/include/recipes/default.rb
chef-17.10.163 spec/data/run_context/cookbooks/include/recipes/default.rb
knife-18.5.0 spec/data/run_context/cookbooks/include/recipes/default.rb
chef-18.5.0-x64-mingw-ucrt spec/data/run_context/cookbooks/include/recipes/default.rb
chef-18.5.0 spec/data/run_context/cookbooks/include/recipes/default.rb
chef-18.4.12-x64-mingw-ucrt spec/data/run_context/cookbooks/include/recipes/default.rb
chef-18.4.12 spec/data/run_context/cookbooks/include/recipes/default.rb
chef-17.10.122-universal-mingw32 spec/data/run_context/cookbooks/include/recipes/default.rb
chef-17.10.122 spec/data/run_context/cookbooks/include/recipes/default.rb
chef-17.10.114-universal-mingw32 spec/data/run_context/cookbooks/include/recipes/default.rb
chef-17.10.114 spec/data/run_context/cookbooks/include/recipes/default.rb
knife-18.4.2 spec/data/run_context/cookbooks/include/recipes/default.rb
chef-18.4.2-x64-mingw-ucrt spec/data/run_context/cookbooks/include/recipes/default.rb
chef-18.4.2 spec/data/run_context/cookbooks/include/recipes/default.rb
knife-17.10.95 spec/data/run_context/cookbooks/include/recipes/default.rb
chef-17.10.95-universal-mingw32 spec/data/run_context/cookbooks/include/recipes/default.rb