From 39a1e0f0bea5103924b21400f4aeb890dffa405b Mon Sep 17 00:00:00 2001 From: Lamont Granquist Date: Tue, 3 Mar 2020 21:12:50 -0800 Subject: Remove the canonical DSL Signed-off-by: Lamont Granquist --- lib/chef/resource/bash.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib/chef/resource/bash.rb') 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 () -# 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) -- cgit v1.2.1