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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6213c7531a28748ecf73082e4e03679162788a60
|
4
|
+
data.tar.gz: f5b5958c56e5d7acb761c0b96ee1ae8d9cc0eece
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
1
|
+
0.22
|