diff options
author | Bryan McLellan <btm@loftninjas.org> | 2019-05-06 13:37:55 -0400 |
---|---|---|
committer | Bryan McLellan <btm@loftninjas.org> | 2019-05-06 13:59:10 -0400 |
commit | 2b12cda0693ad20780156d35a5ae316a90c5174b (patch) | |
tree | 2df4c1d8cde7da16e3627c825d480abae996839a | |
parent | 88febeeb5e18be90e54d4606524e58283898686d (diff) | |
download | chef-2b12cda0693ad20780156d35a5ae316a90c5174b.tar.gz |
add missing require
Signed-off-by: Bryan McLellan <btm@loftninjas.org>
-rw-r--r-- | lib/chef/provider/execute.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/chef/provider/execute.rb b/lib/chef/provider/execute.rb index 8b5530d672..2d84ac317b 100644 --- a/lib/chef/provider/execute.rb +++ b/lib/chef/provider/execute.rb @@ -19,6 +19,7 @@ require "chef/log" require "chef/provider" require "forwardable" +require "chef/mixin/train_or_shell" class Chef class Provider @@ -29,6 +30,8 @@ class Chef def_delegators :new_resource, :command, :returns, :environment, :user, :domain, :password, :group, :cwd, :umask, :creates, :elevated, :default_env + include Chef::Mixin::TrainOrShell + def load_current_resource current_resource = Chef::Resource::Execute.new(new_resource.name) current_resource |