Sha256: 0d884ca3c7e715ce07c495cf7f028fe984cf6dd90725ffb56e511e8c62d7b342

Contents?: true

Size: 553 Bytes

Versions: 36

Compression:

Stored size: 553 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

36 entries across 36 versions & 2 rubygems

Version Path
knife-17.10.163 spec/data/run_context/cookbooks/include/recipes/default.rb
knife-18.2.7 spec/data/run_context/cookbooks/include/recipes/default.rb
knife-18.2.5 spec/data/run_context/cookbooks/include/recipes/default.rb
knife-18.0.185 spec/data/run_context/cookbooks/include/recipes/default.rb
chef-14.13.11-universal-mingw32 spec/data/run_context/cookbooks/include/recipes/default.rb
chef-15.0.300-universal-mingw32 spec/data/run_context/cookbooks/include/recipes/default.rb
chef-15.0.298-universal-mingw32 spec/data/run_context/cookbooks/include/recipes/default.rb
chef-15.0.293-universal-mingw32 spec/data/run_context/cookbooks/include/recipes/default.rb
chef-14.12.9-universal-mingw32 spec/data/run_context/cookbooks/include/recipes/default.rb
chef-14.12.3-universal-mingw32 spec/data/run_context/cookbooks/include/recipes/default.rb
chef-13.12.14-universal-mingw32 spec/data/run_context/cookbooks/include/recipes/default.rb
chef-14.11.21-universal-mingw32 spec/data/run_context/cookbooks/include/recipes/default.rb
chef-14.10.9-universal-mingw32 spec/data/run_context/cookbooks/include/recipes/default.rb
chef-14.9.13-universal-mingw32 spec/data/run_context/cookbooks/include/recipes/default.rb
chef-14.8.12-universal-mingw32 spec/data/run_context/cookbooks/include/recipes/default.rb
chef-14.7.17-universal-mingw32 spec/data/run_context/cookbooks/include/recipes/default.rb
chef-13.12.3-universal-mingw32 spec/data/run_context/cookbooks/include/recipes/default.rb
chef-14.6.47-universal-mingw32 spec/data/run_context/cookbooks/include/recipes/default.rb
chef-13.11.3-universal-mingw32 spec/data/run_context/cookbooks/include/recipes/default.rb
chef-14.5.33-universal-mingw32 spec/data/run_context/cookbooks/include/recipes/default.rb