summaryrefslogtreecommitdiff
path: root/systems
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2015-03-16 15:54:16 +0000
committerSam Thursfield <sam.thursfield@codethink.co.uk>2015-03-17 18:15:01 +0000
commit80134ab9444ca26948b3a9c8ba9605058395757d (patch)
tree0f54d7caa8bca651abf1961e3850c887caed40af /systems
parentc6da7c18818fd66dde5fae2389506e6f4d2d6b86 (diff)
downloadinfrastructure-80134ab9444ca26948b3a9c8ba9605058395757d.tar.gz
gerrit: Move system and stratum .morph files into strata/ and systems/
This is so others can reuse them without having to reuse the other stuff in baserock_gerrit. Most likely people who are setting up a Gerrit with Baserock will make a copy of the baserock_gerrit/ folder, rather than reusing it directly. If they copied the .morph files then they'd miss out on improvements made to those files in subsequent commits to infrastructure.git. Such users will still miss out on improvements to the Ansible modules -- hopefully we can solve that in a nice way in future, too.
Diffstat (limited to 'systems')
-rw-r--r--systems/gerrit-system-x86_64.morph66
1 files changed, 66 insertions, 0 deletions
diff --git a/systems/gerrit-system-x86_64.morph b/systems/gerrit-system-x86_64.morph
new file mode 100644
index 00000000..62c99821
--- /dev/null
+++ b/systems/gerrit-system-x86_64.morph
@@ -0,0 +1,66 @@
+name: gerrit-system-x86_64
+kind: system
+description: |
+ System for running Gerrit on Baserock.
+
+ Note this system doesn't contain Gerrit or Java: the Baserock reference
+ definitions don't have any support for Java yet. Instead, Java and Gerrit
+ are downloaded from the web and installed on first-boot by the configuration
+ management scripts.
+
+ So this system is really just a Baserock base system plus
+ Ansible and some extras.
+arch: x86_64
+strata:
+- name: build-essential
+ morph: strata/build-essential.morph
+- name: core
+ morph: strata/core.morph
+- name: python-core
+ morph: strata/python-core.morph
+- name: bsp-x86_64-generic
+ morph: strata/bsp-x86_64-generic.morph
+- name: foundation
+ morph: strata/foundation.morph
+- name: cloudinit-support
+ morph: strata/cloudinit-support.morph
+
+- name: lvm
+ morph: strata/lvm.morph
+
+- name: python-common
+ morph: strata/python-common.morph
+- name: ansible
+ morph: strata/ansible.morph
+
+# lighttpd is needed for Lorry Controller. Gerrit uses its own web server.
+#
+# pcre-utils is a dependency of lighttpd.
+# python-cliapp and python-wsgi are needed for lorry-controller.
+- name: pcre-utils
+ morph: strata/pcre-utils.morph
+- name: lighttpd-server
+ morph: strata/lighttpd-server.morph
+- name: python-cliapp
+ morph: strata/python-cliapp.morph
+- name: python-wsgi
+ morph: strata/python-wsgi.morph
+- name: lorry
+ morph: strata/lorry.morph
+- name: lorry-controller
+ morph: strata/lorry-controller.morph
+
+- name: gerrit-tools
+ morph: strata/gerrit-tools.morph
+
+# FIXME: 'tools' is needed mainly because rsync lives there and we need
+# rsync for upgrades using system-version-manager.
+- name: tools
+ morph: strata/tools.morph
+
+configuration-extensions:
+- set-hostname
+- add-config-files
+- nfsboot
+- install-files
+- cloud-init