diff --git a/redundantwp_bundle.yaml b/redundantwp_bundle.yaml new file mode 100644 index 0000000000000000000000000000000000000000..34041b57eb2701e41cd38981454e97f5f03c979f --- /dev/null +++ b/redundantwp_bundle.yaml @@ -0,0 +1,26 @@ +series: bionic +applications: + wordpress: + charm: "/home/ubuntu/wordpress" + num_units: 3 + to: [ "0", "1", "2" ] + percona-cluster: + charm: cs:percona-cluster-279 + num_units: 3 + to: [ "0", "1", "2" ] + haproxy: + charm: cs:haproxy + num_units: 3 + to: [ "0", "1", "2" ] + expose: true + options: + peering_mode: active-active +machines: + "0": {} + "1": {} + "2": {} +relations: +- - wordpress:database + - percona-cluster:db +- - wordpress:website + - haproxy:reverseproxy