itamae-mitsurin 0.40 → 0.41

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: c2215050b5e3aadd3c25c447823a7c5833cae346
4
- data.tar.gz: f875ea49a699ca29b68e07e27b4c35d2a9fea372
3
+ metadata.gz: e634a72d24d79dd1dd5eef18dac54322a127ae28
4
+ data.tar.gz: ef46e078b84da5beae75cfc2cb81d13784622632
5
5
  SHA512:
6
- metadata.gz: b1d00c5360a2c9493192e35aa19c98215b2164bf7a972ac1c819ef87211a1a9dd778521800d45c35dc814b7fef2fc711c9649b054eda6d9d9afecd32f0b3eb29
7
- data.tar.gz: e00ea70f6bf34e3019d7f9388242a449bb35a0bdfcae796f096a5f5e8057a68871df030ba0fa3f0713076c04a28957240154e06d3ea65b8237eb5e728c3257ff
6
+ metadata.gz: f990a334b915ab0015c48abfdd1db439db4667c97302df3f72ff90e879db026856ea52d278d1fb68f63c34755d3875dcf3af605f8bb86c43c185e78e2e21a82c
7
+ data.tar.gz: 9476f6d69d1181fe2a26fbf1c079033b688d9ff76ef14b8dd127785dccf7003f639b6fea7d6ed062acafd8b069f6011049136b81273daccb52b94179850a1e0c
@@ -6,6 +6,7 @@ module ItamaeMitsurin
6
6
  class ServerspecWithTargetTask
7
7
 
8
8
  namespace :spec do
9
+ all = []
9
10
  if (ARGV[0] == '-T' || ARGV[0] == '--tasks') && ARGV[1] != nil
10
11
  if File.exists?("nodes/#{ARGV[1]}")
11
12
  project_h = {:project => ARGV[1]}
@@ -32,6 +33,11 @@ module ItamaeMitsurin
32
33
  puts "Node error, nodefile:#{node_file}, reason:#{e.message}"
33
34
  end
34
35
 
36
+ node_short = node_attr[:environments][:hostname].split(".")[0]
37
+ all << node_short
38
+ desc "Serverspec to all nodes"
39
+ task :all => all
40
+
35
41
  desc "Serverspec to #{bname}"
36
42
  task node_h[:environments][:hostname].split(".")[0] do
37
43
  begin
@@ -1 +1 @@
1
- 0.40
1
+ 0.41
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.40'
4
+ version: '0.41'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Akihiro Kamiyama