itamae-mitsurin 0.21 → 0.22

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: e04d5b299633d40747aeb49d3a52ba9d51ce6229
4
- data.tar.gz: 8e9f396d05c53c8908dcaf1f3425f78f149d5f44
3
+ metadata.gz: 6213c7531a28748ecf73082e4e03679162788a60
4
+ data.tar.gz: f5b5958c56e5d7acb761c0b96ee1ae8d9cc0eece
5
5
  SHA512:
6
- metadata.gz: d524ed5a7b1f89c69321083764b1b8a6875f0eedba62ba5f29f1ec17e59c2c0ad00a153b3296427bd885f13d63f79ee3bdc71b3ef31a58215bed587638a21e43
7
- data.tar.gz: 8bcaa635b54afe2a8ab001f3db813bd35283fc011369fe585a47438bd2f9b2b7377e961277244b4d040fc3edc905ced5d0d1f8035d613e008ad959d130b68b9e
6
+ metadata.gz: 24b28cdb231ef0861b4ad0f216976a8fbfcb48b3242302e91d825d1fae44a32935da9ff9c3499678894623f59660deb7cdee2e1511855071dff01c078c51139a
7
+ data.tar.gz: a0c683c7ba98520731f96908e3f0fb9bf5a525c66649168bb7817632d079c5d78676f8fac5a664a26af62f3ee5cc9a6f6f06c4895c8af6db96a9d920d27eb45b
@@ -19,6 +19,11 @@ module Itamae
19
19
  puts "nodefile error, nodefile:#{node_file}, reason:#{e.message}"
20
20
  end
21
21
 
22
+ node_short = node_attr[:environments][:hostname].split(".")[0]
23
+ all << node_short
24
+ desc "Serverspec to all nodes"
25
+ task :all => all
26
+
22
27
  desc "Spec to #{file_name}"
23
28
  task node_attr[:environments][:hostname].split(".")[0] do
24
29
 
@@ -46,10 +51,6 @@ module Itamae
46
51
  ssh_port = node_attr[:environments][:ssh_port]
47
52
  ssh_key = node_attr[:environments][:ssh_key]
48
53
 
49
- node_short = node_name.split(".")[0]
50
- all << node_short
51
- task :all => all
52
-
53
54
  desc "Run spec to #{file_name}"
54
55
  ENV['TARGET_HOST'] = node_name
55
56
  ENV['NODE_FILE'] = node_file
@@ -77,8 +78,6 @@ module Itamae
77
78
  st = system specs
78
79
  exit 1 unless st
79
80
  end
80
- desc "Serverspec to all nodes"
81
- task :all => 'spec:all'
82
81
  end
83
82
  end
84
83
 
@@ -1 +1 @@
1
- 0.21
1
+ 0.22
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: itamae-mitsurin
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.21'
4
+ version: '0.22'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Akihiro Kamiyama