summaryrefslogtreecommitdiff
path: root/lib/chef/util/dsc/configuration_generator.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/util/dsc/configuration_generator.rb')
-rw-r--r--lib/chef/util/dsc/configuration_generator.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/util/dsc/configuration_generator.rb b/lib/chef/util/dsc/configuration_generator.rb
index 8ca6249a9d..ae3c5c951d 100644
--- a/lib/chef/util/dsc/configuration_generator.rb
+++ b/lib/chef/util/dsc/configuration_generator.rb
@@ -175,7 +175,7 @@ class Chef::Util::DSC
end
def get_configuration_document(document_path)
- ::File.open(document_path, "rb", &:read)
+ ::File.binread(document_path)
end
end
end