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-16.18.0 spec/data/run_context/cookbooks/include/recipes/default.rb
chef-17.10.0-universal-mingw32 spec/data/run_context/cookbooks/include/recipes/default.rb
chef-17.10.0 spec/data/run_context/cookbooks/include/recipes/default.rb
chef-17.9.52-universal-mingw32 spec/data/run_context/cookbooks/include/recipes/default.rb
chef-17.9.52 spec/data/run_context/cookbooks/include/recipes/default.rb
chef-16.17.51-universal-mingw32 spec/data/run_context/cookbooks/include/recipes/default.rb
chef-16.17.51 spec/data/run_context/cookbooks/include/recipes/default.rb
chef-17.9.46-universal-mingw32 spec/data/run_context/cookbooks/include/recipes/default.rb
chef-17.9.46 spec/data/run_context/cookbooks/include/recipes/default.rb
chef-17.9.42-universal-mingw32 spec/data/run_context/cookbooks/include/recipes/default.rb
chef-17.9.42 spec/data/run_context/cookbooks/include/recipes/default.rb
chef-16.17.39-universal-mingw32 spec/data/run_context/cookbooks/include/recipes/default.rb
chef-16.17.39 spec/data/run_context/cookbooks/include/recipes/default.rb
chef-17.9.26-universal-mingw32 spec/data/run_context/cookbooks/include/recipes/default.rb
chef-17.9.26 spec/data/run_context/cookbooks/include/recipes/default.rb
knife-17.9.26 spec/data/run_context/cookbooks/include/recipes/default.rb
chef-17.9.18-universal-mingw32 spec/data/run_context/cookbooks/include/recipes/default.rb
chef-17.9.18 spec/data/run_context/cookbooks/include/recipes/default.rb
knife-17.9.9 spec/data/run_context/cookbooks/include/recipes/default.rb
chef-17.8.25-universal-mingw32 spec/data/run_context/cookbooks/include/recipes/default.rb