summaryrefslogtreecommitdiff
path: root/spec/support
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2020-03-03 21:12:50 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2020-03-03 21:15:06 -0800
commit39a1e0f0bea5103924b21400f4aeb890dffa405b (patch)
tree4e919ad41ca2776108b55b11fc80eb51ee3fb3bc /spec/support
parent633c4445e00f3174d156ac69a05be117a3fd0456 (diff)
downloadchef-39a1e0f0bea5103924b21400f4aeb890dffa405b.tar.gz
Remove the canonical DSL
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'spec/support')
-rw-r--r--spec/support/lib/chef/resource/zen_follower.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/spec/support/lib/chef/resource/zen_follower.rb b/spec/support/lib/chef/resource/zen_follower.rb
index 72dd67ca97..e4ee31917e 100644
--- a/spec/support/lib/chef/resource/zen_follower.rb
+++ b/spec/support/lib/chef/resource/zen_follower.rb
@@ -1,5 +1,5 @@
#
-# Copyright:: Copyright 2014-2016, Chef Software, Inc.
+# Copyright:: Copyright 2014-2020, Chef Software Inc.
# License:: Apache License, Version 2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -22,6 +22,8 @@ class Chef
class Resource
class ZenFollower < Chef::Resource
+ provides :zen_follower
+
provides :follower, platform: "zen"
def master(arg = nil)