summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Mundrawala <jdmundrawala@gmail.com>2015-06-02 07:19:32 -0700
committerJay Mundrawala <jdmundrawala@gmail.com>2015-06-02 07:19:32 -0700
commit5aa72a8a1f632dc424f505220f8f29759e0487f7 (patch)
treeed8566d00d911cc8855515daf8bb5760aa6f9035
parent22da6b42a02fcfd7e9d03f5f09828b7ddc569bb9 (diff)
downloadchef-5aa72a8a1f632dc424f505220f8f29759e0487f7.tar.gz
Add missing requirejdm/shellout
This should fix the issue where doing ```ruby require 'chef/resource' ``` throws an exception because Chef::Mixin::ShellOut is not loaded
-rw-r--r--lib/chef/guard_interpreter/default_guard_interpreter.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/chef/guard_interpreter/default_guard_interpreter.rb b/lib/chef/guard_interpreter/default_guard_interpreter.rb
index df91c2b1ad..fead9886b2 100644
--- a/lib/chef/guard_interpreter/default_guard_interpreter.rb
+++ b/lib/chef/guard_interpreter/default_guard_interpreter.rb
@@ -16,6 +16,8 @@
# limitations under the License.
#
+require 'chef/mixin/shell_out'
+
class Chef
class GuardInterpreter
class DefaultGuardInterpreter