hiera 1.0.0rc4 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of hiera might be problematic. Click here for more details.
- data/CHANGELOG +14 -7
- data/LICENSE +18 -0
- data/lib/hiera/backend/yaml_backend.rb +7 -0
- metadata +11 -14
data/CHANGELOG
CHANGED
@@ -1,5 +1,18 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.0
|
2
2
|
===
|
3
|
+
fba40d1 Fix yum repo path in yaml file
|
4
|
+
451fd0c fix redhat spec release template variable
|
5
|
+
f21f908 Replace sed with real vars in preflight.erb
|
6
|
+
28cef87 Use read-only packaging repo for public access
|
7
|
+
cfd0925 Additional logging when finding keys in the YAML backend
|
8
|
+
1084d13 Add apple packaging file_mapping file
|
9
|
+
6f2da41 Change debhelper depends to 7
|
10
|
+
7b6766a Fixup redhat spec erb for F17
|
11
|
+
c5ff482 Rework packaging to use packaging repo
|
12
|
+
e1922ca Change debhelper depends to 7
|
13
|
+
ba34a74 (#15291) Add Vendor tag to Hiera spec file
|
14
|
+
22f1775 Update Debian packaging rake task to correctly create the orig.tar.gz
|
15
|
+
4332f46 Fix debian package task to create correct orig.tar.gz and use debversion in directory creation.
|
3
16
|
6887137 (maint) Add Getting Started tutorial
|
4
17
|
091fea3 Overhaul Hiera packaging
|
5
18
|
7947dd6 Consolidate changelog, update erb templates
|
@@ -14,9 +27,6 @@ cdd7364 (#14867) Add windows support
|
|
14
27
|
480d86c (#12122) Correctly fall through backends during loop
|
15
28
|
d0fcc57 Add default config to hiera
|
16
29
|
3ec4165 match data in puppet ${::fact} style to get rid of puppet deprecation warnings
|
17
|
-
|
18
|
-
1.0.0rc3
|
19
|
-
===
|
20
30
|
a1a885a Adding package task liberally copied from puppet-dashboard.
|
21
31
|
3527443 Updating apple pkg task to refer to ext directory.
|
22
32
|
445a6f2 ext is more appropriate than conf for a dirname.
|
@@ -31,9 +41,6 @@ b6218b9 (maint) Hiera should raise an error when config is missing
|
|
31
41
|
9808a64 (#14514) Use default config when hiera.yaml is missing
|
32
42
|
fd644b6 Add require hiera/backend to test
|
33
43
|
fe3d509 Remove empty Puppet class definition
|
34
|
-
|
35
|
-
1.0.0rc2
|
36
|
-
===
|
37
44
|
fa3081c Updating hiera.spec, CHANGELOG for Hiera 1.0.0rc1
|
38
45
|
6de3d4c Moving CHANGES.txt to CHANGELOG. Updating CHANGELOG with git log from initial commit to v0.3.0 tag.
|
39
46
|
dbf9fe3 Update README to reference deb and rpm packages
|
data/LICENSE
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
Puppet - Automating Configuration Management.
|
2
|
+
|
3
|
+
Copyright (C) 2012 Puppet Labs Inc
|
4
|
+
|
5
|
+
Puppet Labs can be contacted at: info@puppetlabs.com
|
6
|
+
|
7
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
8
|
+
you may not use this file except in compliance with the License.
|
9
|
+
You may obtain a copy of the License at
|
10
|
+
|
11
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
12
|
+
|
13
|
+
Unless required by applicable law or agreed to in writing, software
|
14
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
15
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16
|
+
See the License for the specific language governing permissions and
|
17
|
+
limitations under the License.
|
18
|
+
|
@@ -31,6 +31,13 @@ class Hiera
|
|
31
31
|
next if ! @data[yamlfile]
|
32
32
|
next if @data[yamlfile].empty?
|
33
33
|
next unless @data[yamlfile].include?(key)
|
34
|
+
|
35
|
+
# Extra logging that we found the key. This can be outputted
|
36
|
+
# multiple times if the resolution type is array or hash but that
|
37
|
+
# should be expected as the logging will then tell the user ALL the
|
38
|
+
# places where the key is found.
|
39
|
+
Hiera.debug("Found #{key} in #{source}")
|
40
|
+
|
34
41
|
# for array resolution we just append to the array whatever
|
35
42
|
# we find, we then goes onto the next file and keep adding to
|
36
43
|
# the array
|
metadata
CHANGED
@@ -1,15 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hiera
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
5
|
-
prerelease:
|
4
|
+
hash: 23
|
5
|
+
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 0
|
9
9
|
- 0
|
10
|
-
|
11
|
-
- 4
|
12
|
-
version: 1.0.0rc4
|
10
|
+
version: 1.0.0
|
13
11
|
platform: ruby
|
14
12
|
authors:
|
15
13
|
- Puppet Labs
|
@@ -17,7 +15,7 @@ autorequire:
|
|
17
15
|
bindir: bin
|
18
16
|
cert_chain: []
|
19
17
|
|
20
|
-
date: 2012-
|
18
|
+
date: 2012-08-30 00:00:00 Z
|
21
19
|
dependencies: []
|
22
20
|
|
23
21
|
description: A pluggable data store for hierarcical data
|
@@ -41,6 +39,7 @@ files:
|
|
41
39
|
- CHANGELOG
|
42
40
|
- COPYING
|
43
41
|
- README.md
|
42
|
+
- LICENSE
|
44
43
|
- spec/spec.opts
|
45
44
|
- spec/spec_helper.rb
|
46
45
|
- spec/unit/backend/yaml_backend_spec.rb
|
@@ -49,7 +48,7 @@ files:
|
|
49
48
|
- spec/unit/console_logger_spec.rb
|
50
49
|
- spec/unit/hiera_spec.rb
|
51
50
|
- spec/unit/util_spec.rb
|
52
|
-
homepage: https://github.com/puppetlabs/hiera
|
51
|
+
homepage: https://github.com/puppetlabs/hiera
|
53
52
|
licenses: []
|
54
53
|
|
55
54
|
post_install_message:
|
@@ -69,21 +68,19 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
69
68
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
70
69
|
none: false
|
71
70
|
requirements:
|
72
|
-
- - "
|
71
|
+
- - ">="
|
73
72
|
- !ruby/object:Gem::Version
|
74
|
-
hash:
|
73
|
+
hash: 3
|
75
74
|
segments:
|
76
|
-
-
|
77
|
-
|
78
|
-
- 1
|
79
|
-
version: 1.3.1
|
75
|
+
- 0
|
76
|
+
version: "0"
|
80
77
|
requirements: []
|
81
78
|
|
82
79
|
rubyforge_project:
|
83
80
|
rubygems_version: 1.8.24
|
84
81
|
signing_key:
|
85
82
|
specification_version: 3
|
86
|
-
summary: Light weight
|
83
|
+
summary: Light weight hierarchical data store
|
87
84
|
test_files:
|
88
85
|
- spec/spec.opts
|
89
86
|
- spec/spec_helper.rb
|