OSDN Git Service

refactoring.
authorwhitestar <whitestar@users.osdn.me>
Fri, 9 Feb 2018 12:34:38 +0000 (21:34 +0900)
committerwhitestar <whitestar@users.osdn.me>
Fri, 9 Feb 2018 12:34:38 +0000 (21:34 +0900)
cookbooks/minio-grid/metadata.rb
cookbooks/minio-grid/recipes/docker-compose.rb

index 1dc47f7..17eabb6 100644 (file)
@@ -9,7 +9,7 @@ source_url       'http://scm.osdn.jp/gitroot/metasearch/grid-chef-repo.git'
 issues_url       'https://osdn.jp/projects/metasearch/ticket'
 
 chef_version     '>= 12'
-%w( centos redhat ).each do |os|
+%w[ centos redhat ].each do |os|
   supports os, '>= 7.0'
 end
 supports 'debian', '>= 8.0'
index 8a4eda4..8fc37fa 100644 (file)
@@ -108,13 +108,13 @@ template env_file do
 end
 
 log 'minio docker-compose post install message' do
-  message <<-"EOM"
-Note: You must execute the following command manually.
-  See #{doc_url}
-  * Start:
-    $ cd #{app_dir}
-    $ docker-compose up -d
-  * Stop
-    $ docker-compose down
+  message <<~"EOM"
+  Note: You must execute the following command manually.
+    See #{doc_url}
+    * Start:
+      $ cd #{app_dir}
+      $ docker-compose up -d
+    * Stop
+      $ docker-compose down
 EOM
 end