puppet-ghostbuster 0.2.1 → 0.3.0

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: 3c9ed6aa34a87156cd957a0f9f1640fe9b1772a3
4
- data.tar.gz: bede392aa7be56929935d43059f5914ecbfcce4c
3
+ metadata.gz: 908643e9ab2393c19fe67d3b59c65dd9c83be53a
4
+ data.tar.gz: c8308c83ec8baea56fbcd6de574b4a0a614e2981
5
5
  SHA512:
6
- metadata.gz: 3df3b90b3e5b66a10f06184dea0ced56ed4d125898f901630c4853535f1c3ff482cc909a3f8144b5cb264e3ea2cd0c945acd5559e084bb39a6f51fa363e82158
7
- data.tar.gz: ecfa88fe8c8ab03859c6fb702fecf1685269f46a71d089334b53cbbf31055b0218bb6e55c971a443347f9b1999077f2eff8fd71dbf499fcab2547ce9a6ef542f
6
+ metadata.gz: fa0254d403fb3573c54bbe2c2dceafac7c306f2974685d9fbea83716a980270b35a14aa7403934f962bf364c75e74c115a6e5743d730daceb12d4feb4c4ce246
7
+ data.tar.gz: 7af1016cb3e9dc6169300fe854182da081d6f139fbfd1f0c4e9abffecb2684a95ed148598a810574b3513489fca4211cdae7dcf979b3b99f07cfe9b3c40a2319
data/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Change Log
2
2
 
3
+ ## [0.3.0](https://rubygems.org/gems/puppet-ghostbuster/versions/0.3.0) (2016-04-26)
4
+ [Full Changelog](https://github.com/camptocamp/puppet-ghostbuster/compare/0.2.1...0.3.0)
5
+
6
+ **Fixed bugs:**
7
+
8
+ - PuppetDB 3+ support [\#16](https://github.com/camptocamp/puppet-ghostbuster/pull/16) ([daenney](https://github.com/daenney))
9
+
3
10
  ## [0.2.1](https://rubygems.org/gems/puppet-ghostbuster/versions/0.2.1) (2015-10-07)
4
11
  [Full Changelog](https://github.com/camptocamp/puppet-ghostbuster/compare/0.2.0...0.2.1)
5
12
 
@@ -69,4 +76,4 @@
69
76
  ## [0.0.1](https://rubygems.org/gems/puppet-ghostbuster/versions/0.0.1) (2015-04-21)
70
77
 
71
78
 
72
- \* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
79
+ \* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
data/README.md CHANGED
@@ -12,6 +12,7 @@ When you have dead puppet code hanging around ...
12
12
 
13
13
  This gems helps puppet users to find dead code by displaying unused classes, defined resources, template and files.
14
14
 
15
+ This gems only support PuppetDB APi v4 (PuppetDB 3+)
15
16
 
16
17
  Usage
17
18
  -----
@@ -68,13 +68,13 @@ class PuppetGhostbuster
68
68
  def self.client
69
69
  @@logger.debug "Connecting to puppet DB #{configuration.puppetdbserverurl}"
70
70
  PuppetDB::Client.new({
71
- :server => configuration.puppetdbserverurl,
71
+ :server => "#{configuration.puppetdbserverurl}/pdb/query",
72
72
  :pem => {
73
73
  'key' => configuration.hostprivkey,
74
74
  'cert' => configuration.hostcert,
75
75
  'ca_file' => configuration.localcacert,
76
76
  }
77
- })
77
+ }, 4)
78
78
  end
79
79
 
80
80
  def self.used_classes
@@ -1,3 +1,3 @@
1
1
  class PuppetGhostbuster
2
- VERSION = '0.2.1'
2
+ VERSION = '0.3.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: puppet-ghostbuster
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Camptocamp
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-10-07 00:00:00.000000000 Z
11
+ date: 2016-04-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: coveralls
@@ -149,9 +149,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
149
149
  version: '0'
150
150
  requirements: []
151
151
  rubyforge_project:
152
- rubygems_version: 2.2.2
152
+ rubygems_version: 2.5.1
153
153
  signing_key:
154
154
  specification_version: 4
155
155
  summary: Dead code detector for Puppet
156
156
  test_files: []
157
- has_rdoc: