hiera-examiner 0.3.6 → 0.3.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2f663693dbfa08b9d90ecbcaf06cf0fcc0de4605
4
- data.tar.gz: bd57cdf38ff408fe2ba9a6c2c5bf29c6d3dff166
3
+ metadata.gz: acaae2b56b71b6f45177f4b7c709943472fb5668
4
+ data.tar.gz: 5ae1ba72176aedf560bbca12f189460b8141c90c
5
5
  SHA512:
6
- metadata.gz: d4fa515a5fa851394193563708c9d17e629ef408eb1e6937b686edb60e9331cc181d8a9bd9387f5c3564e5715eb2eae437fb551ce3279481125210d40e8417ac
7
- data.tar.gz: a762c54fd86254aa6ebe6cd106b6b17ac834e04198284082c1978c9caad83b77db44c73ec51acaeebb9d1032ab5bcce6aaf412a7dc362e39cdb61207a1ce3ab9
6
+ metadata.gz: 008fb8376a5f743688a0dbf9b18cb0273a28ddf12b5604a569644875d47d02652053c708926257700a0b7ffa8f80a24697c76199fc378284a317e252c9a37e39
7
+ data.tar.gz: 9b5155e5f53f56c18143c1506e4aff3101c20697259823a36cbbd392832c8eac6002639524d95e3f507225dc451796e4ae37124594b3b0d2a928d6df8b4381f0
data/bin/hiera-examiner CHANGED
@@ -4,10 +4,8 @@ require 'hiera-examiner'
4
4
 
5
5
  if (ARGV[0])
6
6
  examiner = HieraExaminer.new()
7
- if (ARGV[1])
8
- HieraExaminer.new(ARGV[1])
9
- else
10
- HieraExaminer.new("/vagrant/puppet/hiera/hiera.yaml")
7
+ if (ARGV[1].present?())
8
+ examiner = HieraExaminer.new(ARGV[1])
11
9
  end
12
10
 
13
11
  examiner.explain(ARGV[0])
@@ -5,7 +5,7 @@ class HieraExaminer
5
5
  require 'puppet'
6
6
  require 'colorize'
7
7
 
8
- def initialize(conf = "")
8
+ def initialize(conf = "/vagrant/puppet/hiera/hiera.yaml")
9
9
  puts 'Conf = ' + conf
10
10
  @conf = conf
11
11
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hiera-examiner
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.6
4
+ version: 0.3.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Stortz