summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Smith <mike.smith@codethink.co.uk>2014-12-10 13:29:07 (GMT)
committerMike Smith <mike.smith@codethink.co.uk>2014-12-10 13:29:07 (GMT)
commit3a4ac0e1bf83e0357748203e5a12a3300f8aff5a (patch)
tree67f89165a498f4b6c49d179d97a36721a9bec64a
parent944eb5c30a95765ea6c1032e1ef7b6e9fd1fca30 (diff)
downloaddefinitions-baserock/mikesmith/zookeeper.tar.gz
seperated server and client parts of zookeeper into two seperate system builds.baserock/mikesmith/zookeeper
-rw-r--r--strata/zookeeper-client.morph36
-rw-r--r--strata/zookeeper-server.morph36
-rw-r--r--systems/devel-system-x86_64-zookeeper-server.morph31
-rw-r--r--systems/devel-system-x86_64-zookeeper.morph4
-rw-r--r--zookeeper-server.morph12
5 files changed, 117 insertions, 2 deletions
diff --git a/strata/zookeeper-client.morph b/strata/zookeeper-client.morph
new file mode 100644
index 0000000..6194b58
--- /dev/null
+++ b/strata/zookeeper-client.morph
@@ -0,0 +1,36 @@
+name: zookeeper
+kind: stratum
+description: a first pass attempt at creating a zookeeper stratum for baserock.
+build-depends:
+- morph: strata/core.morph
+chunks:
+- name: cppunit
+ repo: upstream:cppunit
+ ref: 77bb121d73c4593d6e3addacacb1bfbd21f53dcf
+ build-depends: []
+- name: java-binary
+ morph: strata/zookeeper/java-binary.morph
+ repo: github:franred/gerrit-installation-binaries
+ ref: ef262c635890f19eaff8ef6bbd831ee9b0d8693e
+ unpetrify-ref: master
+ build-depends: []
+- name: java/ant
+ morph: strata/zookeeper/java-ant.morph
+ repo: upstream:java/ant
+ ref: master
+ build-depends:
+ - cppunit
+ - java-binary
+- name: zookeeper
+ morph: strata/zookeeper/zookeeper.morph
+ repo: upstream:zookeeper
+ ref: baserock/mikesmith/zookeeper
+ unpetrify-ref: trunk
+ build-depends:
+ - java/ant
+- name: zookeeper-client
+ morph: strata/zookeeper/zookeeper-client.morph
+ repo: https://github.com/MichaelPSmith/ZookeeperExperiments
+ ref: master
+ build-depends:
+ - zookeeper
diff --git a/strata/zookeeper-server.morph b/strata/zookeeper-server.morph
new file mode 100644
index 0000000..1394d48
--- /dev/null
+++ b/strata/zookeeper-server.morph
@@ -0,0 +1,36 @@
+name: zookeeper
+kind: stratum
+description: a first pass attempt at creating a zookeeper stratum for baserock.
+build-depends:
+- morph: strata/core.morph
+chunks:
+- name: cppunit
+ repo: upstream:cppunit
+ ref: 77bb121d73c4593d6e3addacacb1bfbd21f53dcf
+ build-depends: []
+- name: java-binary
+ morph: strata/zookeeper/java-binary.morph
+ repo: github:franred/gerrit-installation-binaries
+ ref: ef262c635890f19eaff8ef6bbd831ee9b0d8693e
+ unpetrify-ref: master
+ build-depends: []
+- name: java/ant
+ morph: strata/zookeeper/java-ant.morph
+ repo: upstream:java/ant
+ ref: master
+ build-depends:
+ - cppunit
+ - java-binary
+- name: zookeeper
+ morph: strata/zookeeper/zookeeper.morph
+ repo: upstream:zookeeper
+ ref: baserock/mikesmith/zookeeper
+ unpetrify-ref: trunk
+ build-depends:
+ - java/ant
+- name: zookeeper-server
+ morph: strata/zookeeper/zookeeper-server.morph
+ repo: https://github.com/MichaelPSmith/ZookeeperExperiments
+ ref: master
+ build-depends:
+ - zookeeper
diff --git a/systems/devel-system-x86_64-zookeeper-server.morph b/systems/devel-system-x86_64-zookeeper-server.morph
new file mode 100644
index 0000000..1c1f849
--- /dev/null
+++ b/systems/devel-system-x86_64-zookeeper-server.morph
@@ -0,0 +1,31 @@
+name: devel-system-x86_64-zookeeper-server
+kind: system
+description: A system that is able to build other systems based on the 64-bit x86
+ architecture. includes the zookeeper server and setup for basic tests
+arch: x86_64
+strata:
+- name: build-essential
+ morph: strata/build-essential.morph
+- name: core
+ morph: strata/core.morph
+- name: foundation
+ morph: strata/foundation.morph
+- name: bsp-x86_64-generic
+ morph: strata/bsp-x86_64-generic.morph
+- name: tools
+ morph: strata/tools.morph
+- name: morph-utils
+ morph: strata/morph-utils.morph
+- name: openstack-clients
+ morph: strata/openstack-clients.morph
+- name: cloudinit-support
+ morph: strata/cloudinit-support.morph
+- name: zookeeper
+ morph: strata/zookeeper-server.morph
+configuration-extensions:
+- set-hostname
+- add-config-files
+- simple-network
+- nfsboot
+- install-files
+- cloud-init
diff --git a/systems/devel-system-x86_64-zookeeper.morph b/systems/devel-system-x86_64-zookeeper.morph
index 64f4c54..e51e203 100644
--- a/systems/devel-system-x86_64-zookeeper.morph
+++ b/systems/devel-system-x86_64-zookeeper.morph
@@ -1,7 +1,7 @@
name: devel-system-x86_64-zookeeper
kind: system
description: A system that is able to build other systems based on the 64-bit x86
- architecture.added animals of varying reality
+ architecture. includes th installation of zookeeper and a test client.
arch: x86_64
strata:
- name: build-essential
@@ -21,7 +21,7 @@ strata:
- name: cloudinit-support
morph: strata/cloudinit-support.morph
- name: zookeeper
- morph: strata/zookeeper.morph
+ morph: strata/zookeeper-client.morph
configuration-extensions:
- set-hostname
- add-config-files
diff --git a/zookeeper-server.morph b/zookeeper-server.morph
new file mode 100644
index 0000000..7cadcbf
--- /dev/null
+++ b/zookeeper-server.morph
@@ -0,0 +1,12 @@
+name: zookeeper-server
+kind: cluster
+systems:
+ - morph: systems/devel-system-x86_64-zookeeper-server.morph
+ deploy:
+ my-kvm-system:
+ type: kvm
+ location: kvm+ssh://mikesmith@10.24.1.198/zookeeper/home/mikesmith/Workspace/CT183/Baserock_Images/zookeeper.img
+ DISK_SIZE: 4G
+ RAM_SIZE: 1G
+ VCPUS: 1
+ HOSTNAME: zk