summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alvarez <pedro.alvarez@codethink.co.uk>2015-02-26 17:02:30 +0000
committerPedro Alvarez <pedro.alvarez@codethink.co.uk>2015-03-02 16:22:33 +0000
commitf83f8bd3ab395871711347ff1b15a4bd89de478a (patch)
tree1c205f0318f9cf277c751cdc1192bcf0e0fe363f
parentb5384dbf8172082c9143d7475231ace5031ce03c (diff)
downloaddefinitions-f83f8bd3ab395871711347ff1b15a4bd89de478a.tar.gz
Add novnc
-rw-r--r--strata/openstack-services.morph6
-rw-r--r--strata/openstack-services/novnc.morph11
2 files changed, 17 insertions, 0 deletions
diff --git a/strata/openstack-services.morph b/strata/openstack-services.morph
index f81eac63..95d430bf 100644
--- a/strata/openstack-services.morph
+++ b/strata/openstack-services.morph
@@ -841,3 +841,9 @@ chunks:
unpetrify-ref: 2014.2.1
build-depends:
- django-openstack-auth
+- name: novnc
+ morph: strata/openstack-services/novnc.morph
+ repo: https://github.com/kanaka/noVNC.git
+ ref: fc00821eba469641c6c94706726c3d78e46460a2
+ unpetrify-ref: v0.5.1
+ build-depends: []
diff --git a/strata/openstack-services/novnc.morph b/strata/openstack-services/novnc.morph
new file mode 100644
index 00000000..858320a0
--- /dev/null
+++ b/strata/openstack-services/novnc.morph
@@ -0,0 +1,11 @@
+name: novnc
+kind: chunk
+install-commands:
+- mkdir -p "$DESTDIR$PREFIX"/share/novnc/utils
+- install -m 444 *html "$DESTDIR$PREFIX"/share/novnc
+- install -m 444 vnc.html "$DESTDIR$PREFIX"/share/novnc/index.html
+- mkdir -p "$DESTDIR$PREFIX"/share/novnc/include
+- install -m 444 include/*.* "$DESTDIR$PREFIX"/share/novnc/include
+- mkdir -p "$DESTDIR$PREFIX"/share/novnc/images
+- install -m 444 images/*.* "$DESTDIR$PREFIX"/share/novnc/images
+- install -d "$DESTDIR"/etc/sysconfig