make distinct templates for different versions for Plone (#363)

* make distinct templates for plone 4.3 and plone 5.0

* remove version variable from zeoserver as well
This commit is contained in:
Antonio De Marinis
2016-12-12 18:43:21 +01:00
committed by Hussein Galal
parent 16859801eb
commit 7bffa9210e
6 changed files with 126 additions and 15 deletions
+4 -3
View File
@@ -1,11 +1,12 @@
# Plone
# Plone 4.3
This templates deploys a Plone server with all its companions (Zeoserver) to be able to run Plone on top of you Rancher infrastructure
This templates deploys a Plone 4.3 server with all its companions (Zeoserver) to be able to run Plone on top of you Rancher infrastructure.
# How to use it ?
Just create and launch the stack.
After that you can login with the regular user/password combination admin/admin.
For more information on how to configure and use Plone visit [Plone 4 documentation site](http://docs.plone.org/4/en/).
+2 -2
View File
@@ -1,5 +1,5 @@
zeoserver:
image: plone:${version}
image: plone:4.3
labels:
io.rancher.scheduler.affinity:host_label: ${host_label}
io.rancher.scheduler.affinity:container_label_soft_ne: io.rancher.community.plone=true
@@ -10,7 +10,7 @@ zeoserver:
command: ["zeoserver"]
plone:
image: plone:${version}
image: plone:4.3
labels:
io.rancher.scheduler.affinity:host_label: ${host_label}
io.rancher.scheduler.affinity:container_label_soft_ne: io.rancher.community.plone=true
+1 -10
View File
@@ -1,19 +1,10 @@
.catalog:
name: "Plone"
version: "5.0-rancher1"
version: "4.3-rancher1"
description: |
Plone CMS
uuid: plone-1
questions:
- variable: "version"
label: "Plone version"
description: "Select Plone version to run"
required: true
type: "enum"
options:
- 5.0
- 4.3
default: 5.0
- variable: "addons"
type: "string"
label: "Plone add-ons"