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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e634a72d24d79dd1dd5eef18dac54322a127ae28
|
4
|
+
data.tar.gz: ef46e078b84da5beae75cfc2cb81d13784622632
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
1
|
+
0.41
|