itamae-mitsurin 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 820a66a01e1d3908d4c24206171897a2931cc7063a141fad22959206ce507909
4
- data.tar.gz: 374e9edf28cf7a2024383045cea7cc016cb00c43e4e5bd0513d3fe8a510165b8
3
+ metadata.gz: 7dad9ce3036d7325debc06c13d07541d1809fb3a6f6dbcb97a3e674ea448a1ff
4
+ data.tar.gz: 566c8df2b0d8c2ac5a9dbb15f6705c66483e326241693df83d9473ee2889e38d
5
5
  SHA512:
6
- metadata.gz: 90925c472f20db377cc5b1831f2495ea1499c6a4362c43cb8b39dde4271ae3db1eb13eac9baf088e0116a4d52fce952eefe907d21447e3c556a84d3ed97f054a
7
- data.tar.gz: 4f853e11a25179818bd250884b6f0c1ce275c42b5a0a0f53afe2821e4348048911efc3d16aa34e737eba502d8c8461961b9a26703ef2d323728fb0b212c09144
6
+ metadata.gz: edb71aba391f148bc31b502772e8d8885a2bf488b2c54c5a569a471bc9dc2c78a5445e3d986c8754d4908e85e787d34cdb7ae100cc7b2445e746e83a9517ba40
7
+ data.tar.gz: dfd71e4f7371c996fc341d452c976b7a5456f025b3329bf26ff806b3585ec883676588eabbcf4938de113f75df875bc03cfe3b3446b0c712dde97e499597361c
@@ -1,19 +1,13 @@
1
- ### The main itamae task
1
+ ### Normal itamae task
2
2
  require 'itamae-mitsurin/mitsurin/itamae_task'
3
3
 
4
- ### Change the nodes to be load by a branch of the current git
5
- ### In the case of now 'master' the task nodes in the 'nodes/master/'
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 task for AWS ec2instnce
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.0
1
+ 1.0.1
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: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Akihiro Kamiyama