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.2.0.rc.1 spec/data/lwrp/providers/inline_compiler.rb
chef-12.1.2 spec/data/lwrp/providers/inline_compiler.rb
chef-12.1.2-x86-mingw32 spec/data/lwrp/providers/inline_compiler.rb
chef-12.1.1-x86-mingw32 spec/data/lwrp/providers/inline_compiler.rb
chef-12.1.1 spec/data/lwrp/providers/inline_compiler.rb
chef-12.1.0-x86-mingw32 spec/data/lwrp/providers/inline_compiler.rb
chef-12.1.0 spec/data/lwrp/providers/inline_compiler.rb
chef-12.1.0.rc.0-x86-mingw32 spec/data/lwrp/providers/inline_compiler.rb
chef-12.1.0.rc.0 spec/data/lwrp/providers/inline_compiler.rb
chef-11.18.6-x86-mingw32 spec/data/lwrp/providers/inline_compiler.rb
chef-11.18.6 spec/data/lwrp/providers/inline_compiler.rb
chef-11.18.0-x86-mingw32 spec/data/lwrp/providers/inline_compiler.rb
chef-11.18.0 spec/data/lwrp/providers/inline_compiler.rb
chef-12.0.3-x86-mingw32 spec/data/lwrp/providers/inline_compiler.rb
chef-12.0.3 spec/data/lwrp/providers/inline_compiler.rb
chef-12.0.1-x86-mingw32 spec/data/lwrp/providers/inline_compiler.rb
chef-12.0.1 spec/data/lwrp/providers/inline_compiler.rb
chef-12.0.0-x86-mingw32 spec/data/lwrp/providers/inline_compiler.rb
chef-12.0.0 spec/data/lwrp/providers/inline_compiler.rb
chef-12.0.0.rc.0-x86-mingw32 spec/data/lwrp/providers/inline_compiler.rb