~barryprice/juju-deployer/LP1892423

« back to all changes in this revision

Viewing changes to deployer/tests/test_data/blog.yaml

  • Committer: Adam Gandelman
  • Date: 2013-09-03 20:44:14 UTC
  • mfrom: (69.3.45 darwin)
  • Revision ID: adamg@canonical.com-20130903204414-xsqqz2gp83dp5d2o
MergeĀ lp:juju-deployer/darwin.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
metrics-base:
 
3
  services:
 
4
    newrelic:
 
5
      branch: lp:charms/precise/newrelic
 
6
      options:
 
7
        key: measureallthethings
 
8
 
 
9
wordpress-base:
 
10
  series: precise
 
11
  services:
 
12
    blog:
 
13
      charm: cs:precise/wordpress
 
14
    db:
 
15
      charm: cs:precise/mysql
 
16
 
 
17
 
 
18
wordpress-stage:
 
19
  series: precise
 
20
  inherits:
 
21
    - wordpress-base
 
22
    - metrics-base
 
23
  services:
 
24
    blog:
 
25
      constraints: instance-type=m1.small
 
26
      num_units: 3
 
27
      options:
 
28
        tuning: optimized
 
29
        engine: apache
 
30
        wp-content: include-base64://blog.snippet
 
31
      memcached:
 
32
        branch: lp:charms/precise/memcached
 
33
        options:
 
34
          size: 100
 
35
      haproxy:
 
36
        charm_url: cs:precise/haproxy
 
37
        options:
 
38
          services: include-file://blog-include.yaml
 
39
  relations:
 
40
        - [blog, db]
 
41
        - - blog
 
42
          - cache
 
43
        - - blog
 
44
          - haproxy
 
45
 
 
46
wordpress-prod:
 
47
    series: precise
 
48
    inherits: wordpress-stage
 
49
    services:
 
50
        blog:
 
51
            options:
 
52
                engine: nginx
 
53
                tuning: optimized
 
54
            constraints: instance-type=m1.large
 
55
 
 
56
        db:
 
57
            constraints: instance-type=m1.large
 
58
            options:
 
59
                tuning-level: safest
 
 
b'\\ No newline at end of file'