hieracles 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +4 -0
- data/hc.1 +1 -1
- data/spec/lib/config_spec.rb +3 -3
- metadata +1 -21
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a6b5269d88007785d1a82bc4ea5d9a6575206923
|
4
|
+
data.tar.gz: 3771f9302b9061157874ab0bf715f6c1588525ef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e475ba6285c981327d5dd5a662bc8ed27d82606c3a78c383f5f2a9e0cbd8d85666bd8f3a2641ad0c2bd883f960ac7892fba3760d91d38e8e008f8d6f7aec7d4d
|
7
|
+
data.tar.gz: 8f554bbede7cf6fb3dceca5cf6f18c62defd5ee89b1b20df4a9403014044713b53f931e0e38c85cebe03fa990f67b0ab0ac3c01e41291bced3b9eea89b229303
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,10 @@
|
|
1
1
|
Hieracles Changelog
|
2
2
|
=======================
|
3
3
|
|
4
|
+
### 0.2.2 - 2015-12-11
|
5
|
+
- remove support for ruby 1.9.3
|
6
|
+
because of the mime-type gem
|
7
|
+
|
4
8
|
### 0.2.1 - 2015-12-11
|
5
9
|
- add configuration variables for connection to PuppetDB
|
6
10
|
- make PuppetDB calls fill up the facts for the node queried
|
data/README.md
CHANGED
@@ -175,6 +175,10 @@ If you set `usedb: true` the `hc` command will query the puppetdb by default and
|
|
175
175
|
|
176
176
|
When usedb is true, a call to puppetdb will be made for all commands to retrieve facts if they are present for the queried node.
|
177
177
|
|
178
|
+
#### Extra commandline tool: ppdb
|
179
|
+
|
180
|
+
When hieracles is configured with parameters to connect to PuppetDB, you also can use the ppdb commandline to send direct queries to the database. Check `man ppdb` for more information.
|
181
|
+
|
178
182
|
|
179
183
|
Completion
|
180
184
|
-------------
|
data/hc.1
CHANGED
data/spec/lib/config_spec.rb
CHANGED
@@ -54,7 +54,7 @@ describe Hieracles::Config do
|
|
54
54
|
}
|
55
55
|
end
|
56
56
|
before { Hieracles::Config.load options }
|
57
|
-
it { expect(Hieracles::Config.usedb).to
|
57
|
+
it { expect(Hieracles::Config.usedb).to be true }
|
58
58
|
end
|
59
59
|
context 'with nodb passed as param' do
|
60
60
|
let(:options) do
|
@@ -64,7 +64,7 @@ describe Hieracles::Config do
|
|
64
64
|
}
|
65
65
|
end
|
66
66
|
before { Hieracles::Config.load options }
|
67
|
-
it { expect(Hieracles::Config.usedb).to
|
67
|
+
it { expect(Hieracles::Config.usedb).to be false }
|
68
68
|
end
|
69
69
|
end
|
70
70
|
|
@@ -77,7 +77,7 @@ describe Hieracles::Config do
|
|
77
77
|
}
|
78
78
|
end
|
79
79
|
before { Hieracles::Config.load options }
|
80
|
-
it { expect(Hieracles::Config.usedb).to
|
80
|
+
it { expect(Hieracles::Config.usedb).to be true }
|
81
81
|
end
|
82
82
|
end
|
83
83
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hieracles
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- mose
|
@@ -52,26 +52,6 @@ dependencies:
|
|
52
52
|
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: mime-types
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - ">="
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: 2.6.2
|
62
|
-
- - "<"
|
63
|
-
- !ruby/object:Gem::Version
|
64
|
-
version: '3'
|
65
|
-
type: :runtime
|
66
|
-
prerelease: false
|
67
|
-
version_requirements: !ruby/object:Gem::Requirement
|
68
|
-
requirements:
|
69
|
-
- - ">="
|
70
|
-
- !ruby/object:Gem::Version
|
71
|
-
version: 2.6.2
|
72
|
-
- - "<"
|
73
|
-
- !ruby/object:Gem::Version
|
74
|
-
version: '3'
|
75
55
|
- !ruby/object:Gem::Dependency
|
76
56
|
name: bundler
|
77
57
|
requirement: !ruby/object:Gem::Requirement
|