~therve/pyjuju/rapi-uuid

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
{
  "services": [
    {
      "name": "memcached", 
      "exposed": false, 
      "unit_count": 2, 
      "charm": "cs:precise/memcached-1", 
      "config": {
        "request-limit": -1, 
        "slab-page-size": -1, 
        "min-item-size": -1, 
        "disable-large-pages": "no", 
        "disable-cas": "no", 
        "connection-limit": 1024, 
        "udp-port": 0, 
        "threads": -1, 
        "disable-auto-cleanup": "no", 
        "factor": -1.0, 
        "tcp-port": 11211, 
        "extra-options": "", 
        "size": 768
      }, 
      "constraints": {
        "ubuntu-series": "precise", 
        "provider-type": "ec2"
      }
    }, 
    {
      "name": "wordpress", 
      "exposed": false, 
      "unit_count": 1, 
      "charm": "cs:precise/wordpress-7", 
      "config": {
        "debug": "no", 
        "tuning": "single", 
        "wp-content": "https://github.com/jujutools/wordpress-site.git"
      }, 
      "constraints": {
        "ubuntu-series": "precise", 
        "provider-type": "ec2"
      }
    }, 
    {
      "name": "mysql", 
      "exposed": false, 
      "unit_count": 1, 
      "charm": "cs:precise/mysql-6", 
      "config": {
        "tuning-level": "safest", 
        "query-cache-size": -1, 
        "query-cache-type": "ON", 
        "binlog-format": "MIXED", 
        "max-connections": -1, 
        "preferred-storage-engine": "InnoDB", 
        "dataset-size": "80%"
      }, 
      "constraints": {
        "ubuntu-series": "precise", 
        "provider-type": "ec2"
      }
    }, 
    {
      "name": "mediawiki", 
      "exposed": false, 
      "unit_count": 10, 
      "charm": "cs:precise/mediawiki-3", 
      "config": {
        "debug": false, 
        "name": "Please set name of wiki", 
        "skin": "monobook"
      }, 
      "constraints": {
        "ubuntu-series": "precise", 
        "provider-type": "ec2"
      }
    }, 
    {
      "name": "haproxy", 
      "exposed": true, 
      "unit_count": 1, 
      "charm": "cs:precise/haproxy-7", 
      "config": {
        "default_timeouts": "queue 1000, connect 1000, client 1000, server 1000", 
        "global_log": "127.0.0.1 local0, 127.0.0.1 local1 notice", 
        "global_spread_checks": 0, 
        "global_debug": false, 
        "default_options": "httplog, dontlognull", 
        "monitoring_allowed_cidr": "127.0.0.1/32", 
        "monitoring_port": 10000, 
        "global_user": "haproxy", 
        "monitoring_username": "haproxy", 
        "default_log": "global", 
        "enable_monitoring": false, 
        "monitoring_password": "changeme", 
        "default_mode": "http", 
        "global_group": "haproxy", 
        "monitoring_stats_refresh": 3, 
        "default_retries": 3, 
        "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", 
        "global_maxconn": 4096, 
        "global_quiet": false
      }, 
      "constraints": {
        "ubuntu-series": "precise", 
        "provider-type": "ec2"
      }
    }
  ], 
  "relations": [
    [
      [
        "haproxy", 
        "http", 
        "reverseproxy", 
        "client", 
        "global"
      ], 
      [
        "mediawiki", 
        "http", 
        "website", 
        "server", 
        "global"
      ]
    ], 
    [
      [
        "mysql", 
        "mysql", 
        "db", 
        "server", 
        "global"
      ], 
      [
        "wordpress", 
        "mysql", 
        "db", 
        "client", 
        "global"
      ]
    ], 
    [
      [
        "mediawiki", 
        "mysql", 
        "db", 
        "client", 
        "global"
      ], 
      [
        "mysql", 
        "mysql", 
        "db", 
        "server", 
        "global"
      ]
    ], 
    [
      [
        "mediawiki", 
        "memcache", 
        "cache", 
        "client", 
        "global"
      ], 
      [
        "memcached", 
        "memcache", 
        "cache", 
        "server", 
        "global"
      ]
    ], 
    [
      [
        "wordpress", 
        "reversenginx", 
        "loadbalancer", 
        "peer", 
        "global"
      ]
    ]
  ], 
  "constraints": {
    "provider-type": "ec2"
  }
}