-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathhost-pool-service.yaml
More file actions
63 lines (62 loc) · 1.96 KB
/
host-pool-service.yaml
File metadata and controls
63 lines (62 loc) · 1.96 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
node_types:
cloudify.nodes.HostPoolService:
derived_from: cloudify.nodes.SoftwareComponent
properties:
pool:
type: string
description: Path to the service configuration file (YAML)
default: ~
host:
type: string
description: The host IP.
port:
type: integer
description: Port to run the service on
default: 8080
debug:
type: boolean
description: Enable debug logging of the deployment
default: false
gunicorn_debug:
type: boolean
description: Enable debug logging of the Gunicorn server
default: false
source:
type: string
description: URL to the source code of the service
default: https://github.com/cloudify-cosmo/cloudify-host-pool-service/archive/master.zip
working_directory:
type: string
description: Working directory for the service workflows
default: ~
run_as_daemon:
type: boolean
description: Set to true to enable the service to run as a SysV daemon
default: true
interfaces:
cloudify.interfaces.lifecycle:
create:
implementation: script.script_runner.tasks.run
inputs:
script_path:
default: examples/scripts/create.py
configure:
implementation: script.script_runner.tasks.run
inputs:
script_path:
default: examples/scripts/configure.py
start:
implementation: script.script_runner.tasks.run
inputs:
script_path:
default: examples/scripts/start.py
stop:
implementation: script.script_runner.tasks.run
inputs:
script_path:
default: examples/scripts/stop.py
delete:
implementation: script.script_runner.tasks.run
inputs:
script_path:
default: examples/scripts/delete.py