summaryrefslogtreecommitdiff
path: root/clusters/zookeeper.morph
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2015-07-16 11:09:21 +0100
committerBaserock Gerrit <gerrit@baserock.org>2015-07-19 20:20:21 +0000
commit2b9a378e7024dae98d16ce2de1468f65a095f309 (patch)
treeba118fba9a32ccdc7c3df67dde80d8c4b0373d83 /clusters/zookeeper.morph
parent7d3a901a14c1b3d6f636af9e60a5f84f5ad0777c (diff)
downloaddefinitions-2b9a378e7024dae98d16ce2de1468f65a095f309.tar.gz
Reformat all definitions according to a consistent style
This was done using the 'indent' tool, which uses a fork of PyYAML named 'ruamel.yaml' to rewrite YAML files without losing comments, ordering, or certain elements of formatting. My aim with doing this is to open the door to automated editing of the reference system definitions using the 'ruamel.yaml' library. This can be used to implement automated migration when we want to make changes to the YAML format that we use to represent Baserock system definitions. Although this looks drastic, remember that it's actually only altered 65 out of 608 .morph files -- the vast majority already pass unchanged through my version of ruamel.yaml. Change-Id: I95ec978714b5bd1c02c90183336a9fbb846cb692
Diffstat (limited to 'clusters/zookeeper.morph')
-rw-r--r--clusters/zookeeper.morph36
1 files changed, 18 insertions, 18 deletions
diff --git a/clusters/zookeeper.morph b/clusters/zookeeper.morph
index cca6db81..80197726 100644
--- a/clusters/zookeeper.morph
+++ b/clusters/zookeeper.morph
@@ -1,21 +1,21 @@
name: zookeeper
kind: cluster
systems:
- - morph: systems/zookeeper-client-x86_64.morph
- deploy:
- my-client-system:
- type: extensions/kvm
- location: kvm+ssh://username@HOSTNAME/machinename/path/to/zookeeper-client.img
- DISK_SIZE: 4G
- RAM_SIZE: 1G
- VCPUS: 1
- HOSTNAME: zkclient
- - morph: systems/zookeeper-server-x86_64.morph
- deploy:
- my-server-system:
- type: extensions/kvm
- location: kvm+ssh://username@HOSTNAME/machinename/path/to/zookeeper-server.img
- DISK_SIZE: 4G
- RAM_SIZE: 1G
- VCPUS: 1
- HOSTNAME: zkserver
+- morph: systems/zookeeper-client-x86_64.morph
+ deploy:
+ my-client-system:
+ type: extensions/kvm
+ location: kvm+ssh://username@HOSTNAME/machinename/path/to/zookeeper-client.img
+ DISK_SIZE: 4G
+ RAM_SIZE: 1G
+ VCPUS: 1
+ HOSTNAME: zkclient
+- morph: systems/zookeeper-server-x86_64.morph
+ deploy:
+ my-server-system:
+ type: extensions/kvm
+ location: kvm+ssh://username@HOSTNAME/machinename/path/to/zookeeper-server.img
+ DISK_SIZE: 4G
+ RAM_SIZE: 1G
+ VCPUS: 1
+ HOSTNAME: zkserver