summaryrefslogtreecommitdiff
path: root/lib/chef/resource/bash.rb
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 /lib/chef/resource/bash.rb
parent633c4445e00f3174d156ac69a05be117a3fd0456 (diff)
downloadchef-39a1e0f0bea5103924b21400f4aeb890dffa405b.tar.gz
Remove the canonical DSL
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'lib/chef/resource/bash.rb')
-rw-r--r--lib/chef/resource/bash.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/chef/resource/bash.rb b/lib/chef/resource/bash.rb
index a3502310e7..b06c1c1d36 100644
--- a/lib/chef/resource/bash.rb
+++ b/lib/chef/resource/bash.rb
@@ -1,6 +1,6 @@
#
# Author:: Adam Jacob (<adam@chef.io>)
-# Copyright:: Copyright 2008-2019, Chef Software Inc.
+# Copyright:: Copyright 2008-2020, Chef Software Inc.
# License:: Apache License, Version 2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -24,6 +24,8 @@ class Chef
class Bash < Chef::Resource::Script
unified_mode true
+ provides :bash
+
description "Use the bash resource to execute scripts using the Bash interpreter. This resource may also use any of the actions and properties that are available to the execute resource. Commands that are executed with this resource are (by their nature) not idempotent, as they are typically unique to the environment in which they are run. Use not_if and only_if to guard this resource for idempotence."
def initialize(name, run_context = nil)