salthiera 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -182,6 +182,15 @@ TROUBLESHOOTING
182
182
 
183
183
  If for some reason salt isnt returning ANY values (either plaintext or encyrpted), but salthiera commandline lookups executed properly as explained above is, then the chances are that salt cannot find the "salthiera" binary that comes with this gem. If so, alter the salt.utils.which value in /usr/share/pyshared/salt/pillar/salthiera.py that refers to the salthiera binary and supply the fully qualified path to the salthiera binary (and likewise lower in the code too). This will fix this problem.
184
184
 
185
+ The salthiera command outputs debug to /tmp/salthiera.log
186
+
187
+ The logfile and log level can be configured in the salthiera.yaml config file
188
+
189
+ ```
190
+ :logfile: /tmp/some-other-logfile
191
+ :loglevel: :debug
192
+ ```
193
+
185
194
  Authors
186
195
  -------
187
196
 
@@ -51,9 +51,6 @@ module SaltHiera
51
51
 
52
52
  end
53
53
 
54
-
55
- end
56
-
57
54
  end
58
55
  end
59
56
  end
@@ -6,7 +6,7 @@ require 'salt_hiera/plugins/no_plugin'
6
6
  module SaltHiera
7
7
  class SaltHiera
8
8
 
9
- VERSION="0.3.1"
9
+ VERSION="0.3.2"
10
10
 
11
11
  def initialize attributes
12
12
  raise "Config error (#{params})" unless attributes[:config_file]
metadata CHANGED
@@ -1,26 +1,23 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: salthiera
3
- version: !ruby/object:Gem::Version
4
- version: 0.3.1
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.3.2
5
+ prerelease:
5
6
  platform: ruby
6
- authors:
7
+ authors:
7
8
  - Geoff Meakin
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
-
12
- date: 2014-04-30 00:00:00 Z
12
+ date: 2014-08-15 00:00:00.000000000 Z
13
13
  dependencies: []
14
-
15
14
  description: Hiera like tool for use as an external pillar with SaltStack
16
15
  email:
17
- executables:
16
+ executables:
18
17
  - salthiera
19
18
  extensions: []
20
-
21
19
  extra_rdoc_files: []
22
-
23
- files:
20
+ files:
24
21
  - .gitignore
25
22
  - .travis.yml
26
23
  - Gemfile
@@ -46,30 +43,28 @@ files:
46
43
  - salthiera.gemspec
47
44
  - tools/regem.sh
48
45
  homepage: http://github.com/gtmtechltd/salthiera
49
- licenses:
46
+ licenses:
50
47
  - MIT
51
- metadata: {}
52
-
53
48
  post_install_message:
54
49
  rdoc_options: []
55
-
56
- require_paths:
50
+ require_paths:
57
51
  - lib
58
- required_ruby_version: !ruby/object:Gem::Requirement
59
- requirements:
60
- - &id001
61
- - ">="
62
- - !ruby/object:Gem::Version
63
- version: "0"
64
- required_rubygems_version: !ruby/object:Gem::Requirement
65
- requirements:
66
- - *id001
52
+ required_ruby_version: !ruby/object:Gem::Requirement
53
+ none: false
54
+ requirements:
55
+ - - ! '>='
56
+ - !ruby/object:Gem::Version
57
+ version: '0'
58
+ required_rubygems_version: !ruby/object:Gem::Requirement
59
+ none: false
60
+ requirements:
61
+ - - ! '>='
62
+ - !ruby/object:Gem::Version
63
+ version: '0'
67
64
  requirements: []
68
-
69
65
  rubyforge_project:
70
- rubygems_version: 2.0.14
66
+ rubygems_version: 1.8.23
71
67
  signing_key:
72
- specification_version: 4
68
+ specification_version: 3
73
69
  summary: Hiera like tool for use as an external pillar with SaltStack
74
70
  test_files: []
75
-
checksums.yaml DELETED
@@ -1,7 +0,0 @@
1
- ---
2
- SHA1:
3
- data.tar.gz: 9bd3abfbe7c895386dfe61fd6811503276f7c2f1
4
- metadata.gz: 6d925891be35b8f2cbac96e83c8adbf9c5cbeeb6
5
- SHA512:
6
- data.tar.gz: e249fd728cd2c32c1acdea9d2c9bd9cbf6ee5ce95f107634c0bdb0d2a6d9de9b107d59922403c8cc2f12479f44a888eacb00a67a68a0a5cdc6ab9d9329185566
7
- metadata.gz: 89cfaa09056892f404cccc8474b5d8400a40f13cc6b54e895cf8e430246f3c7c9457fc1b362c6e34c92d22a513a8c8745852c29c47d392eadac3195d0ab034d3