• R/O
  • HTTP
  • SSH
  • HTTPS

grid-chef-repo: Commit

Grid環境構築用のChefリポジトリです。


Commit MetaInfo

Révisionda8b73d8b47644a3980d7ba1810f58e901a939f5 (tree)
l'heure2017-08-06 16:41:53
Auteurwhitestar <whitestar@user...>
Commiterwhitestar

Message de Log

includes the ssl_cert::server_key_pairs recipe in the apt_utils::aptly and apt_utils::aptly-docker-compose recipes automatically.

Change Summary

Modification

--- a/cookbooks/apt_utils/CHANGELOG.md
+++ b/cookbooks/apt_utils/CHANGELOG.md
@@ -1,6 +1,10 @@
11 apt_utils CHANGELOG
22 ===================
33
4+0.2.4
5+-----
6+- includes the `ssl_cert::server_key_pairs` recipe in the `apt_utils::aptly` and `apt_utils::aptly-docker-compose` recipes automatically.
7+
48 0.2.3
59 -----
610 - adds a reverse proxy (nginx) service with SSL setup feature to the `apt_utils::aptly-docker-compose` recipe.
--- a/cookbooks/apt_utils/README.md
+++ b/cookbooks/apt_utils/README.md
@@ -149,7 +149,7 @@ name 'aptly-with-ssl-docker-compose'
149149 description 'aptly with SSL by docker-compose'
150150
151151 run_list(
152- 'recipe[ssl_cert::server_key_pairs]',
152+ #'recipe[ssl_cert::server_key_pairs]', # apt_utils <= 0.2.3
153153 'role[docker]',
154154 'recipe[apt_utils::aptly-docker-compose]',
155155 )
@@ -234,7 +234,7 @@ $ knife vault update ssl_server_certs aptly.io.example.com.prod -S 'name:aptly-h
234234
235235 ```ruby
236236 run_list(
237- 'recipe[ssl_cert::server_key_pairs]',
237+ #'recipe[ssl_cert::server_key_pairs]', # apt_utils <= 0.2.3
238238 'recipe[apt_utils::aptly-docker-compose]',
239239 )
240240
--- a/cookbooks/apt_utils/recipes/aptly-docker-compose.rb
+++ b/cookbooks/apt_utils/recipes/aptly-docker-compose.rb
@@ -86,7 +86,9 @@ if !data_dir.nil? && !data_dir.empty?
8686 end
8787
8888 if node['apt_utils']['aptly']['with_ssl_cert_cookbook']
89+ include_recipe 'ssl_cert::server_key_pairs'
8990 ::Chef::Recipe.send(:include, SSLCert::Helper)
91+
9092 cn = node['apt_utils']['aptly']['ssl_cert']['common_name']
9193 # Concourse web process owner is root.
9294 rproxy_vols.push("#{server_cert_path(cn)}:/root/server.crt:ro")
--- a/cookbooks/apt_utils/recipes/aptly.rb
+++ b/cookbooks/apt_utils/recipes/aptly.rb
@@ -74,3 +74,5 @@ directory node['apt_utils']['aptly']['conf']['rootDir'] do
7474 mode '0755'
7575 action :create
7676 end
77+
78+include_recipe 'ssl_cert::server_key_pairs' if node['apt_utils']['aptly']['with_ssl_cert_cookbook']
--- a/cookbooks/apt_utils/version
+++ b/cookbooks/apt_utils/version
@@ -1 +1 @@
1-0.2.3
1+0.2.4
Afficher sur ancien navigateur de dépôt.