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-12 19:36:52 +0000
commitcdde56d5e6a1b60e24ab7a43d8bb81090a6f255d (patch)
treeec3f282ebff58214fd74e9f2c8593e8d8cb68844
parentbe121e885dc856b483a92c76c6e1d2205435aacc (diff)
downloaddefinitions-cdde56d5e6a1b60e24ab7a43d8bb81090a6f255d.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 8ec40c09..74c5d1c4 100644
--- a/strata/openstack-services.morph
+++ b/strata/openstack-services.morph
@@ -828,3 +828,9 @@ chunks:
build-depends:
- django-openstack-auth
- lockfile
+- 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