forked from cloudify-cosmo/cloudify-fabric-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplugin.yaml.template
More file actions
146 lines (133 loc) · 5.81 KB
/
plugin.yaml.template
File metadata and controls
146 lines (133 loc) · 5.81 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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
##################################################################################
# Cloudify Fabric built in types and plugins definitions.
##################################################################################
imports:
- http://www.getcloudify.org/spec/cloudify/{{ cloudify_version }}/types.yaml
plugins:
fabric_plugin:
derived_from: cloudify.plugins.management_plugin
properties:
url: https://github.com/cloudify-cosmo/cloudify-fabric-plugin/archive/{{ plugin_branch }}.zip
types:
# task types
# A web server configured with fabric tasks
cloudify.types.fabric_task.web_server:
derived_from: cloudify.types.web_server
interfaces:
cloudify.interfaces.lifecycle:
- create: fabric_plugin.tasks.run_task
- configure: fabric_plugin.tasks.run_task
- start: fabric_plugin.tasks.run_task
- stop: fabric_plugin.tasks.run_task
- delete: fabric_plugin.tasks.run_task
properties:
- tasks_file
# An app server configured with fabric tasks
cloudify.types.fabric_task.app_server:
derived_from: cloudify.types.app_server
interfaces:
cloudify.interfaces.lifecycle:
- create: fabric_plugin.tasks.run_task
- configure: fabric_plugin.tasks.run_task
- start: fabric_plugin.tasks.run_task
- stop: fabric_plugin.tasks.run_task
- delete: fabric_plugin.tasks.run_task
properties:
- tasks_file
# A db server configured with fabric tasks
cloudify.types.fabric_task.db_server:
derived_from: cloudify.types.db_server
interfaces:
cloudify.interfaces.lifecycle:
- create: fabric_plugin.tasks.run_task
- configure: fabric_plugin.tasks.run_task
- start: fabric_plugin.tasks.run_task
- stop: fabric_plugin.tasks.run_task
- delete: fabric_plugin.tasks.run_task
properties:
- tasks_file
# A message bus server configured with fabric tasks
cloudify.types.fabric_task.message_bus_server:
derived_from: cloudify.types.message_bus_server
interfaces:
cloudify.interfaces.lifecycle:
- create: fabric_plugin.tasks.run_task
- configure: fabric_plugin.tasks.run_task
- start: fabric_plugin.tasks.run_task
- stop: fabric_plugin.tasks.run_task
- delete: fabric_plugin.tasks.run_task
properties:
- tasks_file
# An app module configured with fabric tasks
cloudify.types.fabric_task.app_module:
derived_from: cloudify.types.app_module
interfaces:
cloudify.interfaces.lifecycle:
- create: fabric_plugin.tasks.run_task
- configure: fabric_plugin.tasks.run_task
- start: fabric_plugin.tasks.run_task
- stop: fabric_plugin.tasks.run_task
- delete: fabric_plugin.tasks.run_task
properties:
- tasks_file
# command types
# A web server configured with fabric commands
cloudify.types.fabric_cmd.web_server:
derived_from: cloudify.types.web_server
interfaces:
cloudify.interfaces.lifecycle:
- create: fabric_plugin.tasks.run_commands
- configure: fabric_plugin.tasks.run_commands
- start: fabric_plugin.tasks.run_commands
- stop: fabric_plugin.tasks.run_commands
- delete: fabric_plugin.tasks.run_commands
properties:
- commands
# An app server configured with fabric commands
cloudify.types.fabric_cmd.app_server:
derived_from: cloudify.types.app_server
interfaces:
cloudify.interfaces.lifecycle:
- create: fabric_plugin.tasks.run_commands
- configure: fabric_plugin.tasks.run_commands
- start: fabric_plugin.tasks.run_commands
- stop: fabric_plugin.tasks.run_commands
- delete: fabric_plugin.tasks.run_commands
properties:
- commands
# A db server configured with fabric commands
cloudify.types.fabric_cmd.db_server:
derived_from: cloudify.types.db_server
interfaces:
cloudify.interfaces.lifecycle:
- create: fabric_plugin.tasks.run_commands
- configure: fabric_plugin.tasks.run_commands
- start: fabric_plugin.tasks.run_commands
- stop: fabric_plugin.tasks.run_commands
- delete: fabric_plugin.tasks.run_commands
properties:
- commands
# A message bus server configured with fabric commands
cloudify.types.fabric_cmd.message_bus_server:
derived_from: cloudify.types.message_bus_server
interfaces:
cloudify.interfaces.lifecycle:
- create: fabric_plugin.tasks.run_commands
- configure: fabric_plugin.tasks.run_commands
- start: fabric_plugin.tasks.run_commands
- stop: fabric_plugin.tasks.run_commands
- delete: fabric_plugin.tasks.run_commands
properties:
- commands
# An app module configured with fabric commands
cloudify.types.fabric_cmd.app_module:
derived_from: cloudify.types.app_module
interfaces:
cloudify.interfaces.lifecycle:
- create: fabric_plugin.tasks.run_commands
- configure: fabric_plugin.tasks.run_commands
- start: fabric_plugin.tasks.run_commands
- stop: fabric_plugin.tasks.run_commands
- delete: fabric_plugin.tasks.run_commands
properties:
- commands