summaryrefslogtreecommitdiff
path: root/lib/chef/provider/batch.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/provider/batch.rb')
-rw-r--r--lib/chef/provider/batch.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/batch.rb b/lib/chef/provider/batch.rb
index bb294afd3f..0d857aaa79 100644
--- a/lib/chef/provider/batch.rb
+++ b/lib/chef/provider/batch.rb
@@ -29,7 +29,7 @@ class Chef
end
def command
- basepath = is_forced_32bit ? wow64_directory : run_context.node.kernel.os_info.system_directory
+ basepath = is_forced_32bit ? wow64_directory : run_context.node["kernel"]["os_info"]["system_directory"]
interpreter_path = Chef::Util::PathHelper.join(basepath, interpreter)