~jorge/charms/bundles/fix-mediawiki/trunk

« back to all changes in this revision

Viewing changes to bundles.yaml

  • Committer: Jorge O. Castro
  • Date: 2014-03-13 15:34:44 UTC
  • Revision ID: jorge@ubuntu.com-20140313153444-okm598wcrbl2ku3u
Combine single and scalable bundles into one.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
mediawiki-simple: 
 
1
single: 
2
2
  series: precise
3
3
  services: 
4
4
    mediawiki: 
35
35
  relations: 
36
36
    - - "mediawiki:db"
37
37
      - "mysql:db"
 
38
scalable: 
 
39
  series: precise
 
40
  services: 
 
41
    mediawiki: 
 
42
      charm: "cs:precise/mediawiki-10"
 
43
      num_units: 1
 
44
      options: 
 
45
        debug: false
 
46
        name: Please set name of wiki
 
47
        skin: vector
 
48
      annotations: 
 
49
        "gui-x": 618
 
50
        "gui-y": -128
 
51
    memcached: 
 
52
      charm: "cs:precise/memcached-7"
 
53
      num_units: 1
 
54
      options: 
 
55
        "connection-limit": 1024
 
56
        "disable-auto-cleanup": "no"
 
57
        "disable-cas": "no"
 
58
        "disable-large-pages": "no"
 
59
        "extra-options": ""
 
60
        factor: 1.25
 
61
        "min-item-size": -1
 
62
        nagios_context: juju
 
63
        "request-limit": -1
 
64
        size: 768
 
65
        "slab-page-size": -1
 
66
        "tcp-port": 11211
 
67
        threads: -1
 
68
        "udp-port": 0
 
69
      annotations: 
 
70
        "gui-x": 926
 
71
        "gui-y": -125
 
72
    haproxy: 
 
73
      charm: "cs:precise/haproxy-19"
 
74
      num_units: 1
 
75
      options: 
 
76
        default_log: global
 
77
        default_mode: http
 
78
        default_options: "httplog, dontlognull"
 
79
        default_retries: 3
 
80
        default_timeouts: "queue 20000, client 50000, connect 5000, server 50000"
 
81
        enable_monitoring: false
 
82
        global_debug: false
 
83
        global_group: haproxy
 
84
        global_log: "127.0.0.1 local0, 127.0.0.1 local1 notice"
 
85
        global_maxconn: 4096
 
86
        global_quiet: false
 
87
        global_spread_checks: 0
 
88
        global_user: haproxy
 
89
        monitoring_allowed_cidr: 127.0.0.1/32
 
90
        monitoring_password: changeme
 
91
        monitoring_port: 10000
 
92
        monitoring_stats_refresh: 3
 
93
        monitoring_username: haproxy
 
94
        nagios_context: juju
 
95
        package_status: install
 
96
        services: "- service_name: haproxy_service\n  service_host: \"0.0.0.0\"\n  service_port: 80\n  service_options: [balance leastconn]\n  server_options: maxconn 100\n"
 
97
        sysctl: ""
 
98
      annotations: 
 
99
        "gui-x": 619
 
100
        "gui-y": -406
 
101
    mysql: 
 
102
      charm: "cs:precise/mysql-28"
 
103
      num_units: 1
 
104
      options: 
 
105
        "binlog-format": MIXED
 
106
        "block-size": 5
 
107
        "dataset-size": "80%"
 
108
        flavor: distro
 
109
        "ha-bindiface": eth0
 
110
        "ha-mcastport": 5411
 
111
        "max-connections": -1
 
112
        "preferred-storage-engine": InnoDB
 
113
        "query-cache-size": -1
 
114
        "query-cache-type": "OFF"
 
115
        "rbd-name": mysql1
 
116
        "tuning-level": safest
 
117
        vip_cidr: 24
 
118
        vip_iface: eth0
 
119
      annotations: 
 
120
        "gui-x": 926
 
121
        "gui-y": 123
 
122
    "mysql-slave": 
 
123
      charm: "cs:precise/mysql-28"
 
124
      num_units: 1
 
125
      options: 
 
126
        "binlog-format": MIXED
 
127
        "block-size": 5
 
128
        "dataset-size": "80%"
 
129
        flavor: distro
 
130
        "ha-bindiface": eth0
 
131
        "ha-mcastport": 5411
 
132
        "max-connections": -1
 
133
        "preferred-storage-engine": InnoDB
 
134
        "query-cache-size": -1
 
135
        "query-cache-type": "OFF"
 
136
        "rbd-name": mysql1
 
137
        "tuning-level": safest
 
138
        vip_cidr: 24
 
139
        vip_iface: eth0
 
140
      annotations: 
 
141
        "gui-x": 619
 
142
        "gui-y": 124
 
143
  relations: 
 
144
    - - "mediawiki:cache"
 
145
      - "memcached:cache"
 
146
    - - "haproxy:reverseproxy"
 
147
      - "mediawiki:website"
 
148
    - - "mysql-slave:slave"
 
149
      - "mysql:master"
 
150
    - - "mediawiki:slave"
 
151
      - "mysql-slave:db"