78 lines
2.8 KiB
YAML
78 lines
2.8 KiB
YAML
name: Linux Apache
|
|
type: linuxApacheService
|
|
|
|
description: >-
|
|
<strong> Linux Apache Service </strong>
|
|
Demonstrates a linux agent, which installs Apache web server.
|
|
|
|
unitTemplates:
|
|
- {}
|
|
|
|
forms:
|
|
- serviceConfiguration:
|
|
fields:
|
|
- name: name
|
|
type: string
|
|
label: Service Name
|
|
description: >-
|
|
To identify your service in logs please specify a service name
|
|
- name: deployApachePHP
|
|
label: PHP module
|
|
type: boolean
|
|
description: >-
|
|
Add php support into Apache web server.
|
|
initial: false
|
|
required: false
|
|
widgetMedia:
|
|
css: {all: [muranodashboard/css/checkbox.css]}
|
|
- name: dcInstances
|
|
type: instance
|
|
minValue: 1
|
|
maxValue: 10
|
|
attributeNames: [units, instanceCount]
|
|
initial: 1
|
|
label: Instance Count
|
|
description: Several instances with Apache web Service can be created at one time.
|
|
helpText: Enter an integer value between 1 and 10
|
|
- name: unitNamingPattern
|
|
type: string
|
|
label: Hostname
|
|
description: >-
|
|
For your convenience instance hostname can be specified.
|
|
Enter a name or leave blank for random name generation.
|
|
required: false
|
|
regexpValidator: '^(([a-zA-Z0-9#][a-zA-Z0-9-#]*[a-zA-Z0-9#])\.)*([A-Za-z0-9#]|[A-Za-z0-9#][A-Za-z0-9-#]*[A-Za-z0-9#])$'
|
|
helpText: Optional field for a machine hostname
|
|
# temporaryHack
|
|
widgetMedia:
|
|
js: [muranodashboard/js/support_placeholder.js]
|
|
css: {all: [muranodashboard/css/support_placeholder.css]}
|
|
- instanceConfiguration:
|
|
fields:
|
|
- name: title
|
|
type: string
|
|
required: false
|
|
hidden: true
|
|
attributeNames: false
|
|
descriptionTitle: Instance Configuration
|
|
description: Specify some instance parameters on which service would be created.
|
|
- name: flavor
|
|
type: flavor
|
|
label: Instance flavor
|
|
description: >-
|
|
Select registered in Openstack flavor. Consider that service performance
|
|
depends on this parameter.
|
|
required: false
|
|
- name: osImage
|
|
type: image
|
|
imageType: linux
|
|
label: Instance image
|
|
description: >-
|
|
Select valid image for a service. Image should already be prepared and
|
|
registered in glance.
|
|
- name: availabilityZone
|
|
type: azone
|
|
label: Availability zone
|
|
description: Select availability zone where service would be installed.
|
|
required: false
|