parent
264cca80bd
commit
22a16d50ad
@ -0,0 +1,26 @@
|
||||
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
|
||||
|
Loading…
Reference in new issue