barking_iguana-compound 0.1.9 → 0.1.10

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: 1695c5773e4e5dd661eed49427a063507370c735
4
- data.tar.gz: 1a1410509e1ce0fbbd67af8a81b40118584ca339
3
+ metadata.gz: 7bbf4198b31f958321a550d713ff472d8c13142e
4
+ data.tar.gz: cd6329e661353f2746830d5c46c594e9f35a750b
5
5
  SHA512:
6
- metadata.gz: c093006bfc362f1543db2a512ccfb6d2fe92b36915f1664cc863a8a7ae87ce0a1d9c57a4b543b1c5a8f0d49e67863fa015e3b721469050f50d1e2b75b32e8fba
7
- data.tar.gz: 93eedceac7b96478389bdf0c3c610fec71ec8d85e00210cb71f350a9dbec4b643429815f35fa19437c8697deb1746078b61540e197eb573687ca4bacbeca1399
6
+ metadata.gz: c309ffffaff32667d41ab6f23e976850b7e1d19212dd45a1d8748ae2c38a2dc8d917a7ad3bf5431620732b2b740f3a57bdff3497ed8c3a6ae782ecbecb01e89e
7
+ data.tar.gz: 8466f46b3ed74637144299edec5e49dcd49fb2b71eddb6ec039238f5d96331cf05be518245bd7ad76c9d605714b7819c83148ae2e4e5e6144afa00b4122c6718
data/docs/CHANGELOG.md CHANGED
@@ -2,10 +2,15 @@
2
2
 
3
3
  Entries are in reverse chronological order.
4
4
 
5
- ## *0.1.10* (Current Development)
5
+ ## *0.1.11* (Current Development)
6
6
 
7
7
  Add release notes here, as things are added to the project.
8
8
 
9
+ ## *0.1.10* (2017-01-17)
10
+
11
+ * Bug fix: Ignore group variables in inventories. Previously these were
12
+ treated as hosts.
13
+
9
14
  ## *0.1.9* (2017-01-12)
10
15
 
11
16
  * Only generate per-stage per-action tasks if the ENV variable `DEBUG` is set
data/docs/TODO.md CHANGED
@@ -8,3 +8,5 @@
8
8
  * Tests. So ironic that a testing tool has no tests. For release 1.0.0 we need tests.
9
9
 
10
10
  * We should support the ansible remote user attributes in the inventory, for each host.
11
+
12
+ * Rewrite the InventoryParser so it's understandable!
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ../../
3
3
  specs:
4
- barking_iguana-compound (0.1.8)
4
+ barking_iguana-compound (0.1.9)
5
5
  ansible_spec
6
6
  barking_iguana-benchmark
7
7
  barking_iguana-logging
@@ -20,15 +20,15 @@ GEM
20
20
  serverspec (>= 2.0.0)
21
21
  winrm
22
22
  barking_iguana-benchmark (0.1.1)
23
- barking_iguana-logging (0.1.6)
23
+ barking_iguana-logging (0.1.7)
24
24
  barking_iguana-otk
25
25
  term-ansicolor
26
26
  barking_iguana-otk (0.1.0)
27
- builder (3.2.2)
27
+ builder (3.2.3)
28
28
  colorize (0.8.1)
29
29
  diff-lcs (1.2.5)
30
30
  erubis (2.7.0)
31
- ffi (1.9.14)
31
+ ffi (1.9.17)
32
32
  gssapi (1.2.0)
33
33
  ffi (>= 1.0.1)
34
34
  gyoku (1.3.1)
@@ -43,10 +43,10 @@ GEM
43
43
  multi_json (1.12.1)
44
44
  net-scp (1.2.1)
45
45
  net-ssh (>= 2.6.5)
46
- net-ssh (3.2.0)
46
+ net-ssh (4.0.1)
47
47
  net-telnet (0.1.1)
48
48
  nori (2.6.0)
49
- oj (2.18.0)
49
+ oj (2.18.1)
50
50
  rake (12.0.0)
51
51
  rspec (3.5.0)
52
52
  rspec-core (~> 3.5.0)
@@ -67,21 +67,21 @@ GEM
67
67
  rspec-wait (0.0.9)
68
68
  rspec (>= 3, < 4)
69
69
  rubyntlm (0.6.1)
70
- serverspec (2.37.2)
70
+ serverspec (2.38.0)
71
71
  multi_json
72
72
  rspec (~> 3.0)
73
73
  rspec-its
74
74
  specinfra (~> 2.53)
75
75
  sfl (2.3)
76
- specinfra (2.66.3)
76
+ specinfra (2.66.4)
77
77
  net-scp
78
- net-ssh (>= 2.7, < 4.0)
78
+ net-ssh (>= 2.7, < 5.0)
79
79
  net-telnet
80
80
  sfl
81
81
  term-ansicolor (1.4.0)
82
82
  tins (~> 1.0)
83
83
  tins (1.13.0)
84
- winrm (2.1.1)
84
+ winrm (2.1.2)
85
85
  builder (>= 2.1.2)
86
86
  erubis (~> 2.7)
87
87
  gssapi (~> 1.2)
@@ -1,2 +1,5 @@
1
1
  [example]
2
2
  example-host
3
+
4
+ [example:vars]
5
+ inventory_var=testing
@@ -10,13 +10,14 @@ module BarkingIguana
10
10
  end
11
11
 
12
12
  def hostgroups
13
- InventoryParser.load_targets path
13
+ hg = InventoryParser.load_targets path
14
+ hg.reject! do |k,v|
15
+ k =~ /:vars$/
16
+ end
14
17
  end
15
18
 
16
19
  def hosts
17
- h = hostgroups
18
- h.reject! { |hg| hg[0].empty? }
19
- hosts = h.values.flatten.uniq { |h| h['uri'] }
20
+ hosts = hostgroups.values.flatten.compact.uniq { |h| h['uri'] }
20
21
  hosts.map do |data|
21
22
  name = data['name'].gsub(/ .*/, '')
22
23
  Host.new name: name, ip_address: data['uri']
@@ -1,5 +1,5 @@
1
1
  module BarkingIguana
2
2
  module Compound
3
- VERSION = "0.1.9"
3
+ VERSION = "0.1.10"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: barking_iguana-compound
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.9
4
+ version: 0.1.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Craig R Webster
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-01-12 00:00:00.000000000 Z
11
+ date: 2017-01-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler