OSDN Git Service

includes the `ssl_cert::server_key_pairs` recipe automatically. nexus-grid-0.1.3
authorwhitestar <whitestar@users.osdn.me>
Sun, 6 Aug 2017 03:43:43 +0000 (12:43 +0900)
committerwhitestar <whitestar@users.osdn.me>
Sun, 6 Aug 2017 03:43:43 +0000 (12:43 +0900)
cookbooks/nexus-grid/CHANGELOG.md
cookbooks/nexus-grid/README.md
cookbooks/nexus-grid/recipes/docker-compose.rb
cookbooks/nexus-grid/version

index f3b786e..57c0e47 100644 (file)
@@ -1,5 +1,9 @@
 # nexus-grid CHANGELOG
 
+0.1.3
+-----
+- includes the `ssl_cert::server_key_pairs` recipe automatically.
+
 0.1.2
 -----
 - adds the Nexus 2 support.
index 97af9a5..670574d 100644 (file)
@@ -125,7 +125,7 @@ name 'nexus-with-ssl'
 description 'Nexus with SSL by reverse proxy (nginx)'
 
 run_list(
-  'recipe[ssl_cert::server_key_pairs]',
+  #'recipe[ssl_cert::server_key_pairs]',  # nexus-grid <= 0.1.2
   'role[docker]',
   'recipe[nexus-grid::docker-compose]',
 )
@@ -221,7 +221,7 @@ $ knife vault update ssl_server_certs nexus.io.example.com.prod -S 'name:nexus-h
 
 ```ruby
 run_list(
-  'recipe[ssl_cert::server_key_pairs]',
+  #'recipe[ssl_cert::server_key_pairs]',  # nexus-grid <= 0.1.2
   'recipe[nexus-grid::docker-compose]',
 )
 
index 3f29d06..4e66658 100644 (file)
@@ -76,6 +76,7 @@ container_data_dir = nexus_ver == '3' ? '/nexus-data' : '/sonatype-work'
 nexus_vols.push("#{data_dir}:#{container_data_dir}:rw") if !data_dir.nil? && !data_dir.empty?
 
 if node['nexus-grid']['with_ssl_cert_cookbook']
+  include_recipe 'ssl_cert::server_key_pairs'
   ::Chef::Recipe.send(:include, SSLCert::Helper)
   cn = node['nexus-grid']['ssl_cert']['common_name']
   # Nginx parent process owner is root.