You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hiera/0001-Fix-errors-with-Puppet...

27 lines
702 B

From 376cbbe7cf344f395087dfb04c509bff47b105a2 Mon Sep 17 00:00:00 2001
From: Haikel Guemar <hguemar@fedoraproject.org>
Date: Mon, 18 May 2015 19:48:04 +0200
Subject: [PATCH] Fix errors with Puppet 4
Patch provided by Lukas Bezdicka
---
lib/hiera/config.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/hiera/config.rb b/lib/hiera/config.rb
index d29da7d..fe854cb 100644
--- a/lib/hiera/config.rb
+++ b/lib/hiera/config.rb
@@ -67,7 +67,7 @@ class Hiera::Config
#
# @return [Object] return value of {YAML.load_file}
def yaml_load_file(source)
- YAML.load_file(source)
+ YAML.unsafe_load_file(source)
end
private :yaml_load_file
--
2.4.0