lita-puppet 2.1.1 → 2.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +1 -1
- data/lib/utils/lita_puppet/puppetdb.rb +5 -1
- data/lib/utils/lita_puppet/ssh.rb +1 -0
- data/lita-puppet.gemspec +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6784e1f9c91bdbab4691357ae148e2fd90310001
|
4
|
+
data.tar.gz: d879f631327cdee20d76c005fdea4c993261c3a5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5cd85ed54bd6eebba840a5bc1baf530ef0ed12e73f21c065b34a01b111cef0e1e0346988f723b326e243f731309bc2e3f080c8eec63c6e11a3451ff27a4bd356
|
7
|
+
data.tar.gz: c19266fc0db852119049a9287fd6a26337f110aaf99de06c3de910b715b0ac0d2703d2a2291f69bd68017cae93825ff4036eda1eaf2add7e001cc05c3e3ed31d
|
data/.rubocop.yml
CHANGED
@@ -67,7 +67,11 @@ module Utils
|
|
67
67
|
return d['error'] if d['error']
|
68
68
|
|
69
69
|
tags = []
|
70
|
-
d['resources']
|
70
|
+
if d['resources'].is_a?(Array)
|
71
|
+
d['resources'].each { |r| tags.concat(r['tags']) }
|
72
|
+
else
|
73
|
+
d['resources']['data'].each { |r| tags.concat(r['tags']) }
|
74
|
+
end
|
71
75
|
|
72
76
|
# return all the tags related to profile:: or role::
|
73
77
|
case what
|
data/lita-puppet.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |spec|
|
2
2
|
spec.name = 'lita-puppet'
|
3
|
-
spec.version = '2.1.
|
3
|
+
spec.version = '2.1.3'
|
4
4
|
spec.authors = ['Daniel Schaaff', 'Jonathan Gnagy'].sort
|
5
5
|
spec.email = ['jgnagy@knuedge.com']
|
6
6
|
spec.description = 'Some basic Puppet interactions for Lita'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lita-puppet
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Schaaff
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2017-
|
12
|
+
date: 2017-06-12 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: lita
|
@@ -225,7 +225,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
225
225
|
version: '0'
|
226
226
|
requirements: []
|
227
227
|
rubyforge_project:
|
228
|
-
rubygems_version: 2.4.
|
228
|
+
rubygems_version: 2.4.5
|
229
229
|
signing_key:
|
230
230
|
specification_version: 4
|
231
231
|
summary: Allow the Lita bot to handle requests for puppet tasks
|