OSDN Git Service

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

index 5313194..4e54130 100644 (file)
@@ -1,3 +1,4 @@
 ---
 cookbook-name: minio-grid
-chefdk-version: 2.4.17
+chefdk-version: 1.4.3
+#chefdk-version: 2.4.17
index 17eabb6..1dc47f7 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 8fc37fa..8a4eda4 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