-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.yaml
207 lines (207 loc) · 6.99 KB
/
plugin.yaml
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
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
name: "@name@"
rundeckPluginVersion: 2.0
author: "@author@"
description: "@description@"
rundeckCompatibilityVersion: 3.x
targetHostCompatibility: unix
license: Apache 2.0
tags:
- script
- NodeExecutor
- salt
version: "@version@"
date: "@date@"
providers:
- name: salt-node-executor
service: NodeExecutor
title: Salt Adhoc Node Executor
description: Run commands via Salt-Api
plugin-type: script
script-interpreter: python -u
script-file: salt_node_executor.py
script-args: ''
config:
- type: String
name: runas
title: 'Run as'
description: 'Specify an alternative user to run the command on the node'
scope: Project
- type: String
name: cmd-run-args
title: 'Additional arguments'
description: "Specify additional arguments for salt's cmd.run execution module"
scope: Project
- type: String
name: url
title: 'API URL'
description: 'Address for the Salt-API endpoint, e.g. https://salt.example.com:9080'
scope: Project
renderingOptions:
groupName: API
- type: String
name: eauth
title: 'Eauth Module'
description: 'Configured backend for authenticating the credentials'
scope: Project
renderingOptions:
groupName: API
- type: String
name: user
title: Username
description: 'User or identifier used to authenticate with the Salt-API'
scope: Project
renderingOptions:
groupName: API
- type: String
name: password
title: Password
description: 'Key storage path for the pasword or secret used to authenticate with the Salt-API'
scope: Project
renderingOptions:
selectionAccessor: STORAGE_PATH
valueConversion: STORAGE_PATH_AUTOMATIC_READ
storage-file-meta-filter: "Rundeck-data-type=password"
groupName: API
- type: Boolean
name: verifySSL
title: 'Verify SSL'
description: 'Whether the script should verify the SSL connection to the Salt-API endpoint; Defaults to true'
default: true
scope: Project
renderingOptions:
groupName: API
- name: salt-file-copier
service: FileCopier
title: Salt File Copier
description: Upload files via Salt-Api; not intended for large files
plugin-type: script
script-interpreter: python -u
script-file: salt_file_copier.py
script-args: ''
config:
- type: String
name: salt-file-copy-chunk-size
title: 'Chunk size'
description: 'Specify the Chunk size used to transmit files via the Salt Event Bus'
scope: Project
- type: String
name: url
title: 'API URL'
description: 'Address for the Salt-API endpoint, e.g. https://salt.example.com:9080'
scope: Project
renderingOptions:
groupName: API
- type: String
name: eauth
title: 'Eauth Module'
description: 'Configured backend for authenticating the credentials'
scope: Project
renderingOptions:
groupName: API
- type: String
name: user
title: Username
description: 'User or identifier used to authenticate with the Salt-API'
scope: Project
renderingOptions:
groupName: API
- type: String
name: password
title: Password
description: 'Key storage path for the pasword or secret used to authenticate with the Salt-API'
scope: Project
renderingOptions:
selectionAccessor: STORAGE_PATH
valueConversion: STORAGE_PATH_AUTOMATIC_READ
storage-file-meta-filter: "Rundeck-data-type=password"
groupName: API
- type: Boolean
name: verifySSL
title: 'Verify SSL'
description: 'Whether the script should verify the SSL connection to the Salt-API endpoint; Defaults to true'
default: true
scope: Project
renderingOptions:
groupName: API
- name: salt-resource-model-source
service: ResourceModelSource
title: Salt Minion Resource Model Source
description: Use Salt minions as node source
plugin-type: script
script-interpreter: python -u
script-file: salt_resource_model_source.py
script-args: ''
resource-format: resourcejson
config:
- type: String
name: prefix
title: 'Nodename prefix'
description: "Optionally prefix the nodename. By default no prefix is used, hence the nodename equals the minion's id"
- type: String
name: tgt
title: 'Minion target'
description: "Use salt's compound targeting to control the generated notes. Defaults to '*'"
scope: Project
default: '*'
- type: String
name: tags
title: 'Node tags'
description: 'Create node tags from the values of grains. Use comma-separated list for multiple grains.'
scope: Project
- type: String
name: attributes
title: 'Node attributes'
description: 'Create node attributes from grains and their values. use comma-separated list for multiple grains. Nested values of grains are not supported, but nested keys are, such as systemd.version .'
scope: Project
default: 'master'
- type: Integer
name: timeout
title: 'Minion timeout'
description: 'Specify minion timeout to gather grains'
scope: Project
default: 10
- type: Integer
name: gather-timeout
title: 'Gather timeout'
description: 'Specify the master can wait for responses of minions'
scope: Project
default: 20
- type: String
name: url
title: 'API URL'
description: 'Address for the Salt-API endpoint, e.g. https://salt.example.com:9080'
scope: Project
renderingOptions:
groupName: API
- type: String
name: eauth
title: 'Eauth Module'
description: 'Configured backend for authenticating the credentials'
scope: Project
renderingOptions:
groupName: API
- type: String
name: user
title: Username
description: 'User or identifier used to authenticate with the Salt-API'
scope: Project
renderingOptions:
groupName: API
- type: String
name: password
title: Password
description: 'Key storage path for the pasword or secret used to authenticate with the Salt-API'
scope: Project
renderingOptions:
selectionAccessor: STORAGE_PATH
valueConversion: STORAGE_PATH_AUTOMATIC_READ
storage-file-meta-filter: "Rundeck-data-type=password"
groupName: API
- type: Boolean
name: verifySSL
title: 'Verify SSL'
description: 'Whether the script should verify the SSL connection to the Salt-API endpoint; Defaults to true'
default: true
scope: Project
renderingOptions:
groupName: API