itamae-mitsurin 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/itamae-mitsurin/mitsurin/creators/templates/project/Rakefile +6 -12
- data/lib/itamae-mitsurin/mitsurin/itamae_task.rb +4 -0
- data/lib/itamae-mitsurin/mitsurin/itamae_with_target_task.rb +4 -0
- data/lib/itamae-mitsurin/mitsurin/local_task.rb +4 -0
- data/lib/itamae-mitsurin/mitsurin/serverspec_task.rb +4 -0
- data/lib/itamae-mitsurin/mitsurin/serverspec_with_target_task.rb +4 -0
- data/lib/itamae-mitsurin/version.txt +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7dad9ce3036d7325debc06c13d07541d1809fb3a6f6dbcb97a3e674ea448a1ff
|
4
|
+
data.tar.gz: 566c8df2b0d8c2ac5a9dbb15f6705c66483e326241693df83d9473ee2889e38d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: edb71aba391f148bc31b502772e8d8885a2bf488b2c54c5a569a471bc9dc2c78a5445e3d986c8754d4908e85e787d34cdb7ae100cc7b2445e746e83a9517ba40
|
7
|
+
data.tar.gz: dfd71e4f7371c996fc341d452c976b7a5456f025b3329bf26ff806b3585ec883676588eabbcf4938de113f75df875bc03cfe3b3446b0c712dde97e499597361c
|
@@ -1,19 +1,13 @@
|
|
1
|
-
###
|
1
|
+
### Normal itamae task
|
2
2
|
require 'itamae-mitsurin/mitsurin/itamae_task'
|
3
3
|
|
4
|
-
###
|
5
|
-
|
6
|
-
# require 'itamae-mitsurin/mitsurin/itamae_with_git_task'
|
4
|
+
### Normal Serverspec task
|
5
|
+
require 'itamae-mitsurin/mitsurin/serverspec_task'
|
7
6
|
|
8
7
|
### Change the nodes to be read by a target mode
|
9
8
|
### `rake -T <target>` to load a 'nodes/<target>'
|
10
9
|
# require 'itamae-mitsurin/mitsurin/itamae_with_target_task'
|
10
|
+
# require 'itamae-mitsurin/mitsurin/serverspec_with_target_task'
|
11
11
|
|
12
|
-
### Itamae
|
13
|
-
require 'itamae-mitsurin/mitsurin/local_task'
|
14
|
-
|
15
|
-
### Test task by Serverspec
|
16
|
-
require 'itamae-mitsurin/mitsurin/serverspec_task'
|
17
|
-
|
18
|
-
### Test task by Serverspec with target pre
|
19
|
-
#require 'itamae-mitsurin/mitsurin/serverspec_with_target_task'
|
12
|
+
### Itamae local mode
|
13
|
+
# require 'itamae-mitsurin/mitsurin/local_task'
|
@@ -26,6 +26,10 @@ module ItamaeMitsurin
|
|
26
26
|
|
27
27
|
desc "Itamae to #{node_name}"
|
28
28
|
task node_short do
|
29
|
+
ItamaeMitsurin.logger.color(:cyan) do
|
30
|
+
ItamaeMitsurin.logger.info "Start itamae_task to #{node[:environments][:hostname]}"
|
31
|
+
end
|
32
|
+
|
29
33
|
begin
|
30
34
|
run_list = task.load_run_list(node_file)
|
31
35
|
environments = task.load_environments(node)
|
@@ -54,6 +54,10 @@ module ItamaeMitsurin
|
|
54
54
|
|
55
55
|
desc "Itamae to #{node_name}"
|
56
56
|
task node_short do
|
57
|
+
ItamaeMitsurin.logger.color(:cyan) do
|
58
|
+
ItamaeMitsurin.logger.info "Start itamae_with_target_task to #{node[:environments][:hostname]}"
|
59
|
+
end
|
60
|
+
|
57
61
|
begin
|
58
62
|
run_list = task.load_run_list(node_file)
|
59
63
|
environments = task.load_environments(node)
|
@@ -42,6 +42,10 @@ module ItamaeMitsurin
|
|
42
42
|
|
43
43
|
desc "Itamae local to #{node_name}"
|
44
44
|
task node_short do
|
45
|
+
ItamaeMitsurin.logger.color(:cyan) do
|
46
|
+
ItamaeMitsurin.logger.info "Start local_task to #{node[:environments][:hostname]}"
|
47
|
+
end
|
48
|
+
|
45
49
|
begin
|
46
50
|
run_list = task.load_run_list(node_file)
|
47
51
|
environments = task.load_environments(node)
|
@@ -43,6 +43,10 @@ module ItamaeMitsurin
|
|
43
43
|
|
44
44
|
desc "Serverspec to #{node_name}"
|
45
45
|
task node_short do
|
46
|
+
ItamaeMitsurin.logger.color(:cyan) do
|
47
|
+
ItamaeMitsurin.logger.info "Start serverspec_task to #{node[:environments][:hostname]}"
|
48
|
+
end
|
49
|
+
|
46
50
|
begin
|
47
51
|
run_list = task.load_run_list(node_file)
|
48
52
|
environments = task.load_environments(node)
|
@@ -70,6 +70,10 @@ module ItamaeMitsurin
|
|
70
70
|
|
71
71
|
desc "Serverspec to #{node_name}"
|
72
72
|
task node_short do
|
73
|
+
ItamaeMitsurin.logger.color(:cyan) do
|
74
|
+
ItamaeMitsurin.logger.info "Start serverspec_with_target_task to #{node[:environments][:hostname]}"
|
75
|
+
end
|
76
|
+
|
73
77
|
begin
|
74
78
|
run_list = task.load_run_list(node_file)
|
75
79
|
environments = task.load_environments(node)
|
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.1
|