Merge lp:~tcuthbert/mojo/mojo-specs-rt116682 into lp:mojo/mojo-specs

Proposed by Thomas Cuthbert
Status: Merged
Approved by: Barry Price
Approved revision: 129
Merged at revision: 129
Proposed branch: lp:~tcuthbert/mojo/mojo-specs-rt116682
Merge into: lp:mojo/mojo-specs
Diff against target: 60 lines (+12/-8)
4 files modified
mojo-how-to/manifest (+2/-0)
mojo-how-to/production/collect (+1/-0)
mojo-how-to/production/relations (+2/-0)
mojo-how-to/production/services (+7/-8)
To merge this branch: bzr merge lp:~tcuthbert/mojo/mojo-specs-rt116682
Reviewer Review Type Date Requested Status
Barry Price Approve
Review via email: mp+362654@code.launchpad.net

Commit message

autocert mojo.canonical.com, cRT#116682

To post a comment you must log in.
Revision history for this message
🤖 Canonical IS Merge Bot (canonical-is-mergebot) wrote :

This merge proposal is being monitored by mergebot. Change the status to Approved to merge.

Revision history for this message
Barry Price (barryprice) wrote :

+1

review: Approve
Revision history for this message
🤖 Canonical IS Merge Bot (canonical-is-mergebot) wrote :

Change successfully merged at revision 129

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'mojo-how-to/manifest'
2--- mojo-how-to/manifest 2015-05-21 09:49:32 +0000
3+++ mojo-how-to/manifest 2019-02-04 04:37:06 +0000
4@@ -8,6 +8,8 @@
5 script config=pre-deploy
6 # Deploy services only
7 deploy config=services local=services-secret delay=0
8+# Configure deploy autocert managed apache2
9+script config=scripts/utils/configure-apache2-vhosts-autocert APPLICATION=apache2 HTTP_TEMPLATE=${MOJO_STAGE}/../templates/vhost-http.tmpl HTTPS_TEMPLATE=${MOJO_STAGE}/../templates/vhost-https.tmpl
10 # Copy our built resources to the instances
11 script config=upload-built-content
12 # And now deploy relations as well
13
14=== modified file 'mojo-how-to/production/collect'
15--- mojo-how-to/production/collect 2016-11-14 15:36:25 +0000
16+++ mojo-how-to/production/collect 2019-02-04 04:37:06 +0000
17@@ -3,6 +3,7 @@
18
19
20 # subordinates
21+autocert cs:~autocert-charmers/autocert
22 content-fetcher lp:~mthaddon/charms/trusty/content-fetcher/trunk
23 nrpe lp:charms/trusty/nrpe
24 landscape-client cs:{{ series }}/landscape-client
25
26=== modified file 'mojo-how-to/production/relations'
27--- mojo-how-to/production/relations 2016-09-30 15:18:23 +0000
28+++ mojo-how-to/production/relations 2019-02-04 04:37:06 +0000
29@@ -14,3 +14,5 @@
30 relations:
31 - ["apache2", "content-fetcher"]
32 - ["apache2:nrpe-external-master", "nrpe:nrpe-external-master"]
33+ - ['apache2', 'autocert-apache2']
34+ - ['autocert-apache2:nrpe-external-master', 'nrpe:nrpe-external-master']
35
36=== modified file 'mojo-how-to/production/services'
37--- mojo-how-to/production/services 2016-10-17 09:27:18 +0000
38+++ mojo-how-to/production/services 2019-02-04 04:37:06 +0000
39@@ -9,14 +9,13 @@
40 servername: mojo.canonical.com
41 enable_modules: "ssl"
42 nagios_check_http_params: -I 127.0.0.1 -H mojo.canonical.com -S -e '200' -s 'Mojo'
43- vhost_http_template: 'include-base64://{{spec_dir}}/{{stage}}/../configs/mojo-how-to-production-vhost-http.template'
44- vhost_https_template: 'include-base64://{{spec_dir}}/{{stage}}/../configs/mojo-how-to-production-vhost-https.template'
45- ssl_key: include-base64://{{local_dir}}/mojo.canonical.com.key
46- ssl_keylocation: mojo.canonical.com.key
47- ssl_cert: include-base64://{{local_dir}}/mojo.canonical.com.crt
48- ssl_certlocation: mojo.canonical.com.crt
49- ssl_chain: include-base64://{{local_dir}}/mojo.canonical.com_chain.crt
50- ssl_chainlocation: mojo.canonical.com_chain.crt
51+ autocert-apache2:
52+ charm: autocert
53+ options:
54+ autocert_host: autocert.canonical.com
55+ service_action: reload
56+ service_name: apache2
57+ service_test_cmd: /usr/sbin/apache2ctl configtest
58 content-fetcher:
59 charm: content-fetcher
60 options:

Subscribers

People subscribed via source and target branches

to all changes: