summaryrefslogtreecommitdiff
path: root/strata
diff options
context:
space:
mode:
authorMark Doffman <mark.doffman@codethink.co.uk>2015-04-14 20:23:30 +0000
committerMark Doffman <mark.doffman@codethink.co.uk>2015-04-23 14:56:17 +0000
commitba8e2119c6fc5e4d9023fae558b6ec93a749af3d (patch)
tree6f098793ca5b8406f7fa9cad4b12c5bc751564e4 /strata
parent888021ec62166ca95b3e587c744dcbcac42e7dc6 (diff)
downloaddefinitions-baserock/markdoffman/google-compute-engine-rebase.tar.gz
Add strata, systems and cluster morpologies for google compute engine.baserock/markdoffman/google-compute-engine-rebase
Add the ability to create baserock images compatible with google compute engine. Add an example cluster morphology that does this. Change-Id: I3ecaef8c760fe2c539969d2f86fc704b3232e5bb
Diffstat (limited to 'strata')
-rw-r--r--strata/google-compute-engine.morph16
-rw-r--r--strata/google-compute-engine/google-daemon.morph5
-rw-r--r--strata/google-compute-engine/google-startup-scripts.morph5
3 files changed, 26 insertions, 0 deletions
diff --git a/strata/google-compute-engine.morph b/strata/google-compute-engine.morph
new file mode 100644
index 00000000..f0d11c16
--- /dev/null
+++ b/strata/google-compute-engine.morph
@@ -0,0 +1,16 @@
+name: google-compute-engine
+kind: stratum
+description: Packages to be installed on GCE images.
+build-depends:
+- morph: strata/core.morph
+chunks:
+- name: google-daemon
+ morph: strata/google-compute-engine/google-daemon.morph
+ repo: upstream:google-compute-image-packages
+ ref: 015c1c103b68a599d437a64f1d745e2b99e8c750
+ unpetrify-ref: master
+- name: google-startup-scripts
+ morph: strata/google-compute-engine/google-startup-scripts.morph
+ repo: upstream:google-compute-image-packages
+ ref: 015c1c103b68a599d437a64f1d745e2b99e8c750
+ unpetrify-ref: master
diff --git a/strata/google-compute-engine/google-daemon.morph b/strata/google-compute-engine/google-daemon.morph
new file mode 100644
index 00000000..eee3ea03
--- /dev/null
+++ b/strata/google-compute-engine/google-daemon.morph
@@ -0,0 +1,5 @@
+name: google-daemon
+kind: chunk
+install-commands:
+- cp -r google-daemon/* $DESTDIR
+- rm $DESTDIR/README.md
diff --git a/strata/google-compute-engine/google-startup-scripts.morph b/strata/google-compute-engine/google-startup-scripts.morph
new file mode 100644
index 00000000..29cd8328
--- /dev/null
+++ b/strata/google-compute-engine/google-startup-scripts.morph
@@ -0,0 +1,5 @@
+name: google-startup-scripts
+kind: chunk
+install-commands:
+- cp -r google-startup-scripts/* $DESTDIR
+- rm $DESTDIR/README.md