summaryrefslogtreecommitdiff
path: root/systems/swift-system.morph.in
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2016-04-11 17:57:57 +0100
committerSam Thursfield <sam.thursfield@codethink.co.uk>2016-04-15 18:58:27 +0100
commit25041b86249fe763fd4171e2ab1aca535b3eb14f (patch)
treeacaa7a5268ff1aa796d1ca1a519cc0ddc4ac3d5c /systems/swift-system.morph.in
parent467bb8299ddc051855acb2093fd371e3423a0515 (diff)
downloaddefinitions-sam/easy-templating.tar.gz
Add a simple templating system to Baserock definitionssam/easy-templating
This is currently independent of the actual definitions format. The 'configure' tool generates actual .morph files from .morph.in files, and build tools then operate on these generated .morph files.t This is largely untested and no doubt broken!
Diffstat (limited to 'systems/swift-system.morph.in')
-rw-r--r--systems/swift-system.morph.in37
1 files changed, 37 insertions, 0 deletions
diff --git a/systems/swift-system.morph.in b/systems/swift-system.morph.in
new file mode 100644
index 00000000..4ad5a28a
--- /dev/null
+++ b/systems/swift-system.morph.in
@@ -0,0 +1,37 @@
+name: swift-system.{{CONFIG}}
+kind: system
+description: |
+ A base system for deploying OpenStack Swift nodes.
+arch: {{ ARCH }}
+strata:
+- name: build-essential
+ morph: strata/build-essential.morph
+- name: core
+ morph: strata/core.morph
+- name: foundation
+ morph: strata/foundation.morph
+- name: swift
+ morph: strata/swift.morph
+- name: ntpd
+ morph: strata/ntpd.morph
+- name: python2-core
+ morph: strata/python2-core.morph
+- name: python-common
+ morph: strata/python-common.morph
+- name: ansible
+ morph: strata/ansible.morph
+- name: openstack-common
+ morph: strata/openstack-common.morph
+{% if BSP %}
+- name: bsp-{{ BSP }}
+ morph: strata/bsp-{{ BSP }}.morph
+{% endif %}
+configuration-extensions:
+- extensions/set-hostname
+- extensions/add-config-files
+- extensions/simple-network
+- extensions/nfsboot
+- extensions/install-files
+- extensions/fstab
+- extensions/swift-storage
+- extensions/install-essential-files