Created
October 28, 2014 19:00
-
-
Save adam-stokes/8190b7f5ab4eff5ac25a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copied from lp:landscape-charm /config/landscape-deployments.yaml | |
# and then: | |
# # charm no longer requires a license file | |
# sed -e 's/license-file$/\/dev\/null/g' -i landscape-deployments.yaml | |
# | |
# Users who want to use the landscape installer should: | |
# # $CONTENTS here is what is in https://pastebin.canonical.com/112787/ | |
# # for now. When landscape is released, we can make this something public. | |
# sed -e 's/include-file:\/\/repo-file/$CONTENTS/g' -i landscape-deployments.yaml | |
_common: | |
services: | |
rabbitmq-server: | |
charm: cs:precise/rabbitmq-server-27 | |
postgresql: | |
charm: cs:precise/postgresql-71 | |
constraints: mem=2048 | |
options: | |
extra-packages: python-apt postgresql-contrib postgresql-.*-debversion | |
max_connections: 500 | |
haproxy: | |
charm: cs:precise/haproxy-31 | |
options: | |
enable_monitoring: True | |
monitoring_allowed_cidr: "0.0.0.0/0" | |
monitoring_password: "haproxy" | |
default_timeouts: "queue 60000, connect 5000, client 120000, server 120000" | |
# Don't deploy default haproxy service on port 80 | |
services: "" | |
apache2: | |
charm: cs:precise/apache2-21 | |
expose: True | |
options: | |
enable_modules: proxy proxy_http proxy_balancer rewrite expires headers ssl | |
ssl_cert: SELFSIGNED | |
ssl_certlocation: apache2.cert | |
ssl_keylocation: apache2.key | |
landscape: | |
inherits: _common | |
series: precise | |
services: | |
landscape: | |
charm: cs:precise/landscape-server | |
constraints: mem=2048 | |
options: | |
service-count: "2" | |
landscape-password: {{ landscape_password }} | |
services: static appserver pingserver combo-loader async-frontend apiserver package-upload jobhandler package-search cron juju-sync | |
repository: https://launchpad.net/~landscape/+archive/ubuntu/14.10 | |
license-file: file:///dev/null | |
landscape-msg: | |
charm: cs:precise/landscape-server | |
constraints: mem=2048 | |
options: | |
landscape-password: {{ landscape_password }} | |
services: msgserver | |
repository: https://launchpad.net/~landscape/+archive/ubuntu/14.10 | |
license-file: file:///dev/null | |
relations: | |
- [landscape, rabbitmq-server] | |
- [landscape, haproxy] | |
- ["landscape:vhost-config", "apache2:vhost-config"] | |
- ["landscape:db-admin", "postgresql:db-admin"] | |
- ["haproxy:website", "apache2:reverseproxy"] | |
- [landscape-msg, rabbitmq-server] | |
- [landscape-msg, haproxy] | |
- ["landscape-msg:db-admin", "postgresql:db-admin"] | |
landscape-dense-maas: | |
inherits: landscape | |
services: | |
landscape: | |
to: lxc:0 | |
landscape-msg: | |
to: lxc:0 | |
postgresql: | |
to: lxc:0 | |
rabbitmq-server: | |
to: lxc:0 | |
apache2: | |
to: lxc:0 | |
haproxy: | |
to: lxc:0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment