hiera-examiner 0.3.2 → 0.3.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/hiera-examiner.rb +5 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 88f767910718a90d10d3dfc401adad29c5d43328
4
- data.tar.gz: 0a915704570f17dd9e0bc4846636cc6c00f34dbc
3
+ metadata.gz: 5a2e472d905d97e64b613ff611d13ab499fb0f57
4
+ data.tar.gz: 0c438d5fbaf235bb9c81005a05b0b5ae0d457c60
5
5
  SHA512:
6
- metadata.gz: fddb39005debd0fe1bf6379ac7c41ef9fed662007a58e53889797c631e1a59605395651b66e7b010f6110a33bea72add57a475c2713591f0052398777996f775
7
- data.tar.gz: 042b8043572c4185349c1f41f150ebf0c94f780f5890df506001e82a09088cba4a6d91184a1c1d367774c761acbbe961215f66694b26adc07f244a9411ad4701
6
+ metadata.gz: 683d5843e6bf53fa509f672dee92f21dd4007c14338cf6739ae9131e2ddc83d8e20ec40c6e45878726f0b0222cb5fb7c10a2f971e3c68b7f0ee51be308603def
7
+ data.tar.gz: ef58b60a0d97743951326b7fb273a472b4b8f714640e84d5ae0460f6d69c6bf24d4cfa003f8706a49d95e80b405aeb74a9cf50e3895385f539cd653f62ad9ea0
@@ -5,8 +5,11 @@ class HieraExaminer
5
5
  require 'puppet'
6
6
  require 'colorize'
7
7
 
8
- def initialize(conf = "/vagrant/puppet/hiera/hiera.yaml")
9
- puts conf
8
+ def initialize(conf)
9
+ if (conf.present?())
10
+ conf = "/vagrant/puppet/hiera/hiera.yaml"
11
+ end
12
+ puts 'Conf = ' + conf
10
13
  @conf = conf
11
14
  end
12
15
 
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.2
4
+ version: 0.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Stortz