~hloeung/mojo/charm-testing-influxdb

« back to all changes in this revision

Viewing changes to charm-testing/apache2/deploy

  • Committer: Jamon Camisso
  • Date: 2017-09-01 18:31:29 UTC
  • mfrom: (55.1.2 charm-testing-apache2)
  • Revision ID: jamon.camisso@canonical.com-20170901183129-1xib6nfn2byyi3ln
[mthaddon,r=jamon] Add a charm testing spec for Apache2 matching what we have for other promulgated charms

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
apache2:
 
2
    series: {{series}}
 
3
    services:
 
4
        apache2:
 
5
            charm: apache2
 
6
            expose: true
 
7
            options:
 
8
                servername: apache2.devel.canonical.com
 
9
                vhost_http_template: include-base64://{{spec_dir}}/{{stage}}/templates/vhost-http.tmpl
 
10
                vhost_https_template: include-base64://{{spec_dir}}/{{stage}}/templates/vhost-https.tmpl
 
11
                enable_modules: headers proxy proxy_http rewrite ssl
 
12
                ssl_cert: SELFSIGNED
 
13
                ssl_chain: ""
 
14
                ssl_key: ""
 
15
                ssl_chainlocation: ssl-cert-snakeoil.crt
 
16
                ssl_keylocation: ssl-cert-snakeoil.key
 
17
                ssl_certlocation: ssl-cert-snakeoil.crt
 
18
        nrpe:
 
19
            charm: nrpe
 
20
            options:
 
21
                swap: '-w 90% -c 75% -n OK'
 
22
    relations:
 
23
        - ["nrpe:local-monitors", "apache2:local-monitors"]