summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2014-08-22 09:40:48 +0000
committerFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2014-08-22 09:40:48 +0000
commit2886cb852a0c6a2f724408d37f1ab0643c8f495a (patch)
tree8753e486bb9cb18fd85e8d4b64eac7d18b9d62e1
parent2b10a9677817377618e33d2b07ab7caefe316633 (diff)
downloaddefinitions-2886cb852a0c6a2f724408d37f1ab0643c8f495a.tar.gz
Add system and cluster minimal morphology to install gerrit
-rw-r--r--clusters/open-stack-gerrit.morph16
-rw-r--r--systems/gerrit-x86_64.morph25
2 files changed, 41 insertions, 0 deletions
diff --git a/clusters/open-stack-gerrit.morph b/clusters/open-stack-gerrit.morph
new file mode 100644
index 00000000..4249bf5d
--- /dev/null
+++ b/clusters/open-stack-gerrit.morph
@@ -0,0 +1,16 @@
+name: open-stack-gerrit
+kind: cluster
+description: |
+ Deploy gerrit morphology into openstack
+systems:
+- morph: systems/gerrit-x86_64.morph
+ deploy:
+ openstack-image:
+ type: openstack
+ location: http://vroomfondel.ducie.codethink.co.uk:5000/v2.0/
+ DISK_SIZE: 10G
+ OPENSTACK_USER: franciscomarchena
+ OPENSTACK_TENANT: baserock
+ OPENSTACK_IMAGENAME: gerrit-profc-concept
+ CLOUD_INIT: yes
+ KERNEL_ARGS: console=tty0 console=ttyS0
diff --git a/systems/gerrit-x86_64.morph b/systems/gerrit-x86_64.morph
new file mode 100644
index 00000000..b58a40c6
--- /dev/null
+++ b/systems/gerrit-x86_64.morph
@@ -0,0 +1,25 @@
+name: web-system-x86_64-generic
+kind: system
+description: system with web tools
+arch: x86_64
+strata:
+- name: build-essential
+ morph: strata/build-essential.morph
+- name: bsp-x86_64-generic
+ morph: strata/bsp-x86_64-generic.morph
+- name: foundation
+ morph: strata/foundation.morph
+- name: core
+ morph: strata/core.morph
+- name: tools
+ morph: strata/tools.morph
+- name: nfs
+ morph: strata/nfs.morph
+- name: databases
+ morph: strata/databases.morph
+configuration-extensions:
+- set-hostname
+- add-config-files
+- simple-network
+- nfsboot
+- install-files