summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alvarez <pedro.alvarez@codethink.co.uk>2015-02-26 17:02:30 +0000
committerFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2015-03-16 11:32:27 +0000
commit11d959e4fafd2ad8086aff2cd8770deba7c5acd9 (patch)
tree15266eee98e736881eccf62197f4180bb5b2b9ff
parentb1e46478fa50ae0fa2bb0885f22acabe30971ac0 (diff)
downloaddefinitions-11d959e4fafd2ad8086aff2cd8770deba7c5acd9.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