diff options
Diffstat (limited to 'spec/support/lib/chef/resource')
-rw-r--r-- | spec/support/lib/chef/resource/cat.rb | 1 | ||||
-rw-r--r-- | spec/support/lib/chef/resource/one_two_three_four.rb | 2 | ||||
-rw-r--r-- | spec/support/lib/chef/resource/zen_follower.rb | 1 | ||||
-rw-r--r-- | spec/support/lib/chef/resource/zen_master.rb | 2 |
4 files changed, 6 insertions, 0 deletions
diff --git a/spec/support/lib/chef/resource/cat.rb b/spec/support/lib/chef/resource/cat.rb index ecca50cb53..641ce28795 100644 --- a/spec/support/lib/chef/resource/cat.rb +++ b/spec/support/lib/chef/resource/cat.rb @@ -19,6 +19,7 @@ class Chef class Resource class Cat < Chef::Resource + provides :cat attr_accessor :action diff --git a/spec/support/lib/chef/resource/one_two_three_four.rb b/spec/support/lib/chef/resource/one_two_three_four.rb index 296d2cd970..d7e5ea095e 100644 --- a/spec/support/lib/chef/resource/one_two_three_four.rb +++ b/spec/support/lib/chef/resource/one_two_three_four.rb @@ -19,6 +19,8 @@ class Chef class Resource class OneTwoThreeFour < Chef::Resource + provides :one_two_three_four + attr_reader :i_can_count def initialize(name, run_context) diff --git a/spec/support/lib/chef/resource/zen_follower.rb b/spec/support/lib/chef/resource/zen_follower.rb index ddc289e48d..590aa0827b 100644 --- a/spec/support/lib/chef/resource/zen_follower.rb +++ b/spec/support/lib/chef/resource/zen_follower.rb @@ -21,6 +21,7 @@ require 'chef/json_compat' class Chef class Resource class ZenFollower < Chef::Resource + provides :zen_follower provides :follower, platform: "zen" diff --git a/spec/support/lib/chef/resource/zen_master.rb b/spec/support/lib/chef/resource/zen_master.rb index d47d174e28..145dd70e64 100644 --- a/spec/support/lib/chef/resource/zen_master.rb +++ b/spec/support/lib/chef/resource/zen_master.rb @@ -22,6 +22,8 @@ require 'chef/json_compat' class Chef class Resource class ZenMaster < Chef::Resource + provides :zen_master + attr_reader :peace def initialize(name, run_context=nil) |