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.5.22-universal-mingw32 spec/data/run_context/cookbooks/include/recipes/default.rb
chef-17.5.22 spec/data/run_context/cookbooks/include/recipes/default.rb
chef-16.15.22-universal-mingw32 spec/data/run_context/cookbooks/include/recipes/default.rb
chef-16.15.22 spec/data/run_context/cookbooks/include/recipes/default.rb
knife-17.4.47 spec/data/run_context/cookbooks/include/recipes/default.rb
knife-17.4.46 spec/data/run_context/cookbooks/include/recipes/default.rb
chef-17.4.38-universal-mingw32 spec/data/run_context/cookbooks/include/recipes/default.rb
chef-17.4.38 spec/data/run_context/cookbooks/include/recipes/default.rb
chef-17.4.25-universal-mingw32 spec/data/run_context/cookbooks/include/recipes/default.rb
chef-17.4.25 spec/data/run_context/cookbooks/include/recipes/default.rb
knife-17.4.18 spec/data/run_context/cookbooks/include/recipes/default.rb
chef-16.14.1-universal-mingw32 spec/data/run_context/cookbooks/include/recipes/default.rb
chef-16.14.1 spec/data/run_context/cookbooks/include/recipes/default.rb
knife-17.3.48 spec/data/run_context/cookbooks/include/recipes/default.rb
chef-17.3.48-universal-mingw32 spec/data/run_context/cookbooks/include/recipes/default.rb
chef-17.3.48 spec/data/run_context/cookbooks/include/recipes/default.rb
knife-17.3.13 spec/data/run_context/cookbooks/include/recipes/default.rb
knife-17.2.38 spec/data/run_context/cookbooks/include/recipes/default.rb
chef-17.2.29-universal-mingw32 spec/data/run_context/cookbooks/include/recipes/default.rb
chef-17.2.29 spec/data/run_context/cookbooks/include/recipes/default.rb