Sha256: c1b2a6396a9541f4014f032c33f2726c4a964b72ea0ca90c5be2c93eced4917b

Contents?: true

Size: 440 Bytes

Versions: 193

Compression:

Stored size: 440 Bytes

Contents

use_inline_resources

action :test do

  ruby_block "interior-ruby-block-1" do
    block do
      # doesn't need to do anything
    end
    notifies :run, "ruby_block[interior-ruby-block-2]", :immediately
  end

  ruby_block "interior-ruby-block-2" do
    block do
      $interior_ruby_block_2 = "executed"
    end
    action :nothing
  end
end

action :no_updates do
  ruby_block "no-action" do
    block {}
    action :nothing
  end
end

Version data entries

193 entries across 193 versions & 2 rubygems

Version Path
chef-12.22.5 spec/data/lwrp/providers/inline_compiler.rb
chef-12.22.5-universal-mingw32 spec/data/lwrp/providers/inline_compiler.rb
chef-12.22.3 spec/data/lwrp/providers/inline_compiler.rb
chef-12.22.3-universal-mingw32 spec/data/lwrp/providers/inline_compiler.rb
chef-12.21.31 spec/data/lwrp/providers/inline_compiler.rb
chef-12.21.31-universal-mingw32 spec/data/lwrp/providers/inline_compiler.rb
chef-12.21.26 spec/data/lwrp/providers/inline_compiler.rb
chef-12.21.26-universal-mingw32 spec/data/lwrp/providers/inline_compiler.rb
chef-12.21.20-universal-mingw32 spec/data/lwrp/providers/inline_compiler.rb
chef-12.21.20 spec/data/lwrp/providers/inline_compiler.rb
chef-12.21.14-universal-mingw32 spec/data/lwrp/providers/inline_compiler.rb
chef-12.21.14 spec/data/lwrp/providers/inline_compiler.rb
chef-12.21.12-universal-mingw32 spec/data/lwrp/providers/inline_compiler.rb
chef-12.21.12 spec/data/lwrp/providers/inline_compiler.rb
chef-12.21.10 spec/data/lwrp/providers/inline_compiler.rb
chef-12.21.10-universal-mingw32 spec/data/lwrp/providers/inline_compiler.rb
chef-12.21.4 spec/data/lwrp/providers/inline_compiler.rb
chef-12.21.4-universal-mingw32 spec/data/lwrp/providers/inline_compiler.rb
chef-12.21.1-universal-mingw32 spec/data/lwrp/providers/inline_compiler.rb
chef-12.21.1 spec/data/lwrp/providers/inline_compiler.rb