summaryrefslogtreecommitdiff
path: root/strata/openstack-services
diff options
context:
space:
mode:
authorMark Doffman <mark.doffman@codethink.co.uk>2014-09-03 19:12:50 +0000
committerFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2015-01-22 12:46:17 +0000
commite227227f9d87f1d6fa3fab6d469364a84cbdd863 (patch)
treee50e982fb6093bbd138610c9a6f05448c922bacc /strata/openstack-services
parent95c31140fced760a5f8c3392b86b54a117f1ac82 (diff)
downloaddefinitions-e227227f9d87f1d6fa3fab6d469364a84cbdd863.tar.gz
Openstack services strata and configuration.
Add a stratum for openstack services that includes all the core openstack service code and daemons. Add configuration files for keystone, glance, nova and nova-compute. Add a system and cluster definition that builds an image that runs keystone, glance and nova.
Diffstat (limited to 'strata/openstack-services')
-rw-r--r--strata/openstack-services/docutils.morph6
-rw-r--r--strata/openstack-services/ipaddr-py.morph6
-rw-r--r--strata/openstack-services/pycrypto.morph3
-rw-r--r--strata/openstack-services/qpid-python.morph6
-rw-r--r--strata/openstack-services/rabbitmq-server.morph7
-rw-r--r--strata/openstack-services/subunit.morph3
-rw-r--r--strata/openstack-services/thrift.morph9
-rw-r--r--strata/openstack-services/xattr.morph8
8 files changed, 48 insertions, 0 deletions
diff --git a/strata/openstack-services/docutils.morph b/strata/openstack-services/docutils.morph
new file mode 100644
index 00000000..fefd3487
--- /dev/null
+++ b/strata/openstack-services/docutils.morph
@@ -0,0 +1,6 @@
+name: docutils
+kind: chunk
+build-commands:
+- cd docutils && python setup.py build
+install-commands:
+- cd docutils && python setup.py install --prefix "$PREFIX" --root "$DESTDIR"
diff --git a/strata/openstack-services/ipaddr-py.morph b/strata/openstack-services/ipaddr-py.morph
new file mode 100644
index 00000000..f6691ab7
--- /dev/null
+++ b/strata/openstack-services/ipaddr-py.morph
@@ -0,0 +1,6 @@
+name: ipaddr-py
+kind: chunk
+build-commands:
+- cd trunk && python setup.py build
+install-commands:
+- cd trunk && python setup.py install --prefix "$PREFIX" --root "$DESTDIR"
diff --git a/strata/openstack-services/pycrypto.morph b/strata/openstack-services/pycrypto.morph
new file mode 100644
index 00000000..51cc00f0
--- /dev/null
+++ b/strata/openstack-services/pycrypto.morph
@@ -0,0 +1,3 @@
+name: pycrypto
+kind: chunk
+build-system: python-distutils
diff --git a/strata/openstack-services/qpid-python.morph b/strata/openstack-services/qpid-python.morph
new file mode 100644
index 00000000..203b3db5
--- /dev/null
+++ b/strata/openstack-services/qpid-python.morph
@@ -0,0 +1,6 @@
+name: qpid-python
+kind: chunk
+build-commands:
+- cd qpid/python && python setup.py build
+install-commands:
+- cd qpid/python && python setup.py install --prefix "$PREFIX" --root "$DESTDIR"
diff --git a/strata/openstack-services/rabbitmq-server.morph b/strata/openstack-services/rabbitmq-server.morph
new file mode 100644
index 00000000..e0f26be4
--- /dev/null
+++ b/strata/openstack-services/rabbitmq-server.morph
@@ -0,0 +1,7 @@
+name: rabbitmq-server
+kind: chunk
+configure-commands:
+build-commands:
+- make
+install-commands:
+- make install_bin TARGET_DIR="$DESTDIR" SBIN_DIR="$DESTDIR"/sbin MAN_DIR=/usr/share/man DOC_INSTALL_DIR=/usr/share
diff --git a/strata/openstack-services/subunit.morph b/strata/openstack-services/subunit.morph
new file mode 100644
index 00000000..a93decc1
--- /dev/null
+++ b/strata/openstack-services/subunit.morph
@@ -0,0 +1,3 @@
+name: python-subunit
+kind: chunk
+build-system: python-distutils
diff --git a/strata/openstack-services/thrift.morph b/strata/openstack-services/thrift.morph
new file mode 100644
index 00000000..321e06d6
--- /dev/null
+++ b/strata/openstack-services/thrift.morph
@@ -0,0 +1,9 @@
+{
+ "name": "thrift",
+ "kind": "chunk",
+ "build-system": "autotools",
+ "configure-commands": [
+ "./bootstrap.sh",
+ "./configure --prefix=\"$PREFIX\" --without-erlang"
+ ]
+}
diff --git a/strata/openstack-services/xattr.morph b/strata/openstack-services/xattr.morph
new file mode 100644
index 00000000..65f47dae
--- /dev/null
+++ b/strata/openstack-services/xattr.morph
@@ -0,0 +1,8 @@
+name: xattr
+kind: chunk
+configure-commands:
+- cp -r /usr/lib/python2.7/site-packages/cffi .
+build-commands:
+- python setup.py build
+install-commands:
+- python setup.py install --prefix "$PREFIX" --root "$DESTDIR"