forked from cloudify-cosmo/cloudify-host-pool-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplugin.yaml
More file actions
116 lines (113 loc) · 4.34 KB
/
plugin.yaml
File metadata and controls
116 lines (113 loc) · 4.34 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
##################################################################################
# Cloudify host pool built in types and plugins definitions.
##################################################################################
plugins:
hostpool:
executor: central_deployment_agent
source: https://github.com/cloudify-cosmo/cloudify-host-pool-plugin/archive/1.3.zip
package_name: cloudify-host-pool-plugin
package_version: '1.3'
node_types:
cloudify.hostpool.nodes.Host:
derived_from: cloudify.nodes.Compute
interfaces:
cloudify.interfaces.worker_installer:
install:
implementation: agent.worker_installer.tasks.install
inputs:
cloudify_agent:
default:
user: { get_attribute: [SELF, user] }
key: { get_attribute: [SELF, key] }
password: { get_attribute: [SELF, password] }
port: { get_attribute: [SELF, port] }
start:
implementation: agent.worker_installer.tasks.start
inputs:
cloudify_agent:
default:
user: { get_attribute: [SELF, user] }
key: { get_attribute: [SELF, key] }
password: { get_attribute: [SELF, password] }
port: { get_attribute: [SELF, port] }
stop:
implementation: agent.worker_installer.tasks.stop
inputs:
cloudify_agent:
default:
user: { get_attribute: [SELF, user] }
key: { get_attribute: [SELF, key] }
password: { get_attribute: [SELF, password] }
port: { get_attribute: [SELF, port] }
uninstall:
implementation: agent.worker_installer.tasks.uninstall
inputs:
cloudify_agent:
default:
user: { get_attribute: [SELF, user] }
key: { get_attribute: [SELF, key] }
password: { get_attribute: [SELF, password] }
port: { get_attribute: [SELF, port] }
restart:
implementation: agent.worker_installer.tasks.restart
inputs:
cloudify_agent:
default:
user: { get_attribute: [SELF, user] }
key: { get_attribute: [SELF, key] }
password: { get_attribute: [SELF, password] }
port: { get_attribute: [SELF, port] }
cloudify.interfaces.lifecycle:
create:
implementation: hostpool.cloudify_hostpool_plugin.tasks.acquire
inputs:
service_url:
description: >
The url to hostpool service
type: string
delete:
implementation: hostpool.cloudify_hostpool_plugin.tasks.release
inputs:
service_url:
description: >
The url to hostpool service
type: string
cloudify.hostpool.nodes.WindowsHost:
derived_from: cloudify.hostpool.nodes.Host
interfaces:
cloudify.interfaces.worker_installer:
install:
implementation: agent.windows_agent_installer.tasks.install
inputs:
cloudify_agent:
default:
user: { get_attribute: [SELF, user] }
password: { get_attribute: [SELF, password] }
start:
implementation: agent.windows_agent_installer.tasks.start
inputs:
cloudify_agent:
default:
user: { get_attribute: [SELF, user] }
password: { get_attribute: [SELF, password] }
stop:
implementation: agent.windows_agent_installer.tasks.stop
inputs:
cloudify_agent:
default:
user: { get_attribute: [SELF, user] }
password: { get_attribute: [SELF, password] }
uninstall:
implementation: agent.windows_agent_installer.tasks.uninstall
inputs:
cloudify_agent:
default:
user: { get_attribute: [SELF, user] }
password: { get_attribute: [SELF, password] }
restart:
implementation: agent.windows_agent_installer.tasks.restart
inputs:
cloudify_agent:
default:
user: { get_attribute: [SELF, user] }
password: { get_attribute: [SELF, password] }