hiera 3.4.6 → 3.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -1
  3. data/bin/hiera +0 -18
  4. data/lib/hiera/version.rb +1 -1
  5. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 52d90e247f292f511244f147971f8a25eeee05e607c822ecca68e9333caaf1dc
4
- data.tar.gz: db4c71522a78c53dc65634ef030c2b09310a15ce3d45779a95f3b39321476c2f
3
+ metadata.gz: a11abe3f60206cf591c4782fc9052754cab03fb89a8b61320a3388ddf5462e5d
4
+ data.tar.gz: cecff2f3af889e4815bcf36e033f593e5898b9b212ee542210d204d6ecf70e69
5
5
  SHA512:
6
- metadata.gz: cb6d9468a3d25ea236418f2a4e22e53c96fa7033c99bc5cd9748239db5612ffcda1fee899fd9251f6137c2e52ed6f2f655600d05ed9a98311f58690b3a3cfbd1
7
- data.tar.gz: b96226f54e76cbc50f38c94ccf2619b865a5fa1e83d7f11405818e5e3e0e7cc4d2fe42ce9e09ea062e8348c1038d9d0f1e22a107be2155529ff9af8f6c44c540
6
+ metadata.gz: 7d71947840b738c5afc8025725cf6212fa9921b161e83bc30f691cf8819eff2fdfc42c65215ab2d19a6de4ebdab7adde6db8e486d73f3ec40a7db3b69826ed87
7
+ data.tar.gz: 02f4512f6084fe13903b40eefaf150703a0a5b01eaf07ce1726d0ad8379f6909b35963f2f02bbce6afc21111f90f6aadbbff68805b13e8a7e208e2fb78be835a
data/README.md CHANGED
@@ -4,7 +4,8 @@
4
4
 
5
5
  A simple pluggable Hierarchical Database.
6
6
 
7
- -
7
+ **This project is deprecated in favor of Hiera version 5 which is implementation in Puppet.**
8
+
8
9
  **Tutorials:** Check the docs directory for tutorials.
9
10
 
10
11
  ## Why?
data/bin/hiera CHANGED
@@ -41,24 +41,6 @@ initial_scopes = Array.new
41
41
  # Loads the scope from YAML or JSON files
42
42
  def load_scope(source, type=:yaml)
43
43
  case type
44
- when :mcollective
45
- begin
46
- require 'mcollective'
47
-
48
- include MCollective::RPC
49
-
50
- util = rpcclient("rpcutil")
51
- util.progress = false
52
- nodestats = util.custom_request("inventory", {}, source, {"identity" => source}).first
53
-
54
- raise "Failed to retrieve facts for node #{source}: #{nodestats[:statusmsg]}" unless nodestats[:statuscode] == 0
55
-
56
- scope = nodestats[:data][:facts]
57
- rescue Exception => e
58
- STDERR.puts "MCollective lookup failed: #{e.class}: #{e}"
59
- exit 1
60
- end
61
-
62
44
  when :yaml
63
45
  raise "Cannot find scope #{type} file #{source}" unless File.exist?(source)
64
46
 
@@ -7,7 +7,7 @@
7
7
 
8
8
 
9
9
  class Hiera
10
- VERSION = "3.4.6"
10
+ VERSION = "3.5.0"
11
11
 
12
12
  ##
13
13
  # version is a public API method intended to always provide a fast and
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hiera
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.4.6
4
+ version: 3.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Puppet Labs
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-01-14 00:00:00.000000000 Z
11
+ date: 2018-12-17 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: A pluggable data store for hierarcical data
14
14
  email: info@puppetlabs.com