update to hiera-1.3.2
This commit is contained in:
parent
03ad544f17
commit
64bcce0e07
@ -1,8 +1,8 @@
|
||||
# $OpenBSD: Makefile,v 1.16 2014/01/24 08:50:43 jasper Exp $
|
||||
# $OpenBSD: Makefile,v 1.17 2014/03/09 19:46:21 jasper Exp $
|
||||
|
||||
COMMENT= simple pluggable hierarchical database
|
||||
|
||||
V= 1.3.1
|
||||
V= 1.3.2
|
||||
DISTNAME= hiera-${V}
|
||||
|
||||
CATEGORIES= databases
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (hiera-1.3.1.gem) = Xfb2fjbB2yF8t6dMjwdUsMEPeJNKTjlNXcd4jPQymUM=
|
||||
SIZE (hiera-1.3.1.gem) = 29184
|
||||
SHA256 (hiera-1.3.2.gem) = QlpMUNaHgKg6guqNgqw5tHu8ou5AvtSPN4KdVqjDFNs=
|
||||
SIZE (hiera-1.3.2.gem) = 29696
|
||||
|
@ -1,4 +1,4 @@
|
||||
$OpenBSD: patch-lib_hiera_backend_rb,v 1.1 2014/01/16 10:18:22 jasper Exp $
|
||||
$OpenBSD: patch-lib_hiera_backend_rb,v 1.2 2014/03/09 19:46:21 jasper Exp $
|
||||
|
||||
From 00be33858e98459e5125d46ea546e91a888b0e6c Mon Sep 17 00:00:00 2001
|
||||
From: Andrew Parker <andy@puppetlabs.com>
|
||||
@ -6,8 +6,8 @@ Date: Tue, 10 Dec 2013 11:17:51 -0800
|
||||
Subject: [PATCH 2/2] (#22142) Extract method to list all hierarchy files
|
||||
|
||||
--- lib/hiera/backend.rb.orig Thu Jan 1 01:00:00 1970
|
||||
+++ lib/hiera/backend.rb Thu Jan 16 11:09:41 2014
|
||||
@@ -35,15 +35,19 @@ class Hiera
|
||||
+++ lib/hiera/backend.rb Sat Mar 1 09:59:17 2014
|
||||
@@ -34,15 +34,19 @@ class Hiera
|
||||
#
|
||||
# If the file is not found nil is returned
|
||||
def datafile(backend, scope, source, extension)
|
||||
@ -33,7 +33,7 @@ Subject: [PATCH 2/2] (#22142) Extract method to list all hierarchy files
|
||||
end
|
||||
|
||||
# Constructs a list of data sources to search
|
||||
@@ -71,6 +75,35 @@ class Hiera
|
||||
@@ -70,6 +74,35 @@ class Hiera
|
||||
hierarchy.flatten.map do |source|
|
||||
source = parse_string(source, scope)
|
||||
yield(source) unless source == "" or source =~ /(^\/|\/\/|\/$)/
|
||||
|
Loading…
x
Reference in New Issue
Block a user