1
|
---
|
2
|
http_interactions:
|
3
|
- request:
|
4
|
method: get
|
5
|
uri: https://admin:changeme@satlap.example.com/api/status
|
6
|
body:
|
7
|
encoding: US-ASCII
|
8
|
string: ''
|
9
|
headers:
|
10
|
Accept-Encoding:
|
11
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
12
|
Accept:
|
13
|
- "*/*"
|
14
|
User-Agent:
|
15
|
- Ruby
|
16
|
Host:
|
17
|
- satlap.example.com
|
18
|
response:
|
19
|
status:
|
20
|
code: 200
|
21
|
message: OK
|
22
|
headers:
|
23
|
Date:
|
24
|
- Mon, 19 Dec 2016 16:43:54 GMT
|
25
|
Server:
|
26
|
- Apache/2.4.6 (Red Hat Enterprise Linux)
|
27
|
X-Frame-Options:
|
28
|
- SAMEORIGIN
|
29
|
X-Xss-Protection:
|
30
|
- 1; mode=block
|
31
|
X-Content-Type-Options:
|
32
|
- nosniff
|
33
|
Foreman-Version:
|
34
|
- 1.11.0.61
|
35
|
Foreman-Api-Version:
|
36
|
- '2'
|
37
|
Apipie-Checksum:
|
38
|
- 9793fd9909c89b81479655ed560c4340
|
39
|
Cache-Control:
|
40
|
- max-age=0, private, must-revalidate
|
41
|
X-Request-Id:
|
42
|
- 9e06abe3-744d-4563-be1d-977239bd6869
|
43
|
X-Runtime:
|
44
|
- '0.043884'
|
45
|
X-Powered-By:
|
46
|
- Phusion Passenger 4.0.18
|
47
|
Set-Cookie:
|
48
|
- _session_id=cee7f022899ee225acef9f58c9424993; path=/; secure; HttpOnly
|
49
|
Etag:
|
50
|
- '"6ec0375dc2b106a955e67a8139b7d9c5"'
|
51
|
Status:
|
52
|
- 200 OK
|
53
|
Content-Length:
|
54
|
- '66'
|
55
|
Content-Type:
|
56
|
- application/json; charset=utf-8
|
57
|
body:
|
58
|
encoding: UTF-8
|
59
|
string: '{"result":"ok","status":200,"version":"1.11.0.61","api_version":2}'
|
60
|
http_version:
|
61
|
recorded_at: Mon, 19 Dec 2016 16:43:37 GMT
|
62
|
- request:
|
63
|
method: get
|
64
|
uri: https://admin:changeme@satlap.example.com/api/v2/plugins
|
65
|
body:
|
66
|
encoding: US-ASCII
|
67
|
string: ''
|
68
|
headers:
|
69
|
Accept-Encoding:
|
70
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
71
|
Accept:
|
72
|
- "*/*"
|
73
|
User-Agent:
|
74
|
- Ruby
|
75
|
Host:
|
76
|
- satlap.example.com
|
77
|
response:
|
78
|
status:
|
79
|
code: 200
|
80
|
message: OK
|
81
|
headers:
|
82
|
Date:
|
83
|
- Mon, 19 Dec 2016 16:43:54 GMT
|
84
|
Server:
|
85
|
- Apache/2.4.6 (Red Hat Enterprise Linux)
|
86
|
X-Frame-Options:
|
87
|
- SAMEORIGIN
|
88
|
X-Xss-Protection:
|
89
|
- 1; mode=block
|
90
|
X-Content-Type-Options:
|
91
|
- nosniff
|
92
|
Foreman-Version:
|
93
|
- 1.11.0.61
|
94
|
Foreman-Api-Version:
|
95
|
- '2'
|
96
|
Apipie-Checksum:
|
97
|
- 9793fd9909c89b81479655ed560c4340
|
98
|
Cache-Control:
|
99
|
- max-age=0, private, must-revalidate
|
100
|
X-Request-Id:
|
101
|
- 3676a58b-0652-4e2e-a9af-c7c6e46b94d0
|
102
|
X-Runtime:
|
103
|
- '0.038263'
|
104
|
X-Powered-By:
|
105
|
- Phusion Passenger 4.0.18
|
106
|
Set-Cookie:
|
107
|
- _session_id=93fcb4082190fd544affe07b9c886e32; path=/; secure; HttpOnly
|
108
|
Etag:
|
109
|
- '"973c5d3fa1e5326b7762aec3d6a31dde-gzip"'
|
110
|
Status:
|
111
|
- 200 OK
|
112
|
Vary:
|
113
|
- Accept-Encoding
|
114
|
Content-Length:
|
115
|
- '1339'
|
116
|
Content-Type:
|
117
|
- application/json; charset=utf-8
|
118
|
body:
|
119
|
encoding: ASCII-8BIT
|
120
|
string: !binary |-
|
121
|
ewogICJ0b3RhbCI6IDEwLAogICJzdWJ0b3RhbCI6IDEwLAogICJwYWdlIjog
|
122
|
MSwKICAicGVyX3BhZ2UiOiAyMCwKICAic2VhcmNoIjogbnVsbCwKICAic29y
|
123
|
dCI6IHsKICAgICJieSI6IG51bGwsCiAgICAib3JkZXIiOiBudWxsCiAgfSwK
|
124
|
ICAicmVzdWx0cyI6IFt7ImlkIjoiZm9yZW1hbi10YXNrcyIsIm5hbWUiOiJm
|
125
|
b3JlbWFuLXRhc2tzIiwiYXV0aG9yIjoiSXZhbiBOZcSNYXMiLCJkZXNjcmlw
|
126
|
dGlvbiI6IlRoZSBnb2FsIG9mIHRoaXMgcGx1Z2luIGlzIHRvIHVuaWZ5IHRo
|
127
|
ZSB3YXkgb2Ygc2hvd2luZyB0YXNrIHN0YXR1c2VzIGFjcm9zcyB0aGUgRm9y
|
128
|
ZW1hbiBpbnN0YW5jZS5cbkl0IGRlZmluZXMgVGFzayBtb2RlbCBmb3Iga2Vl
|
129
|
cGluZyB0aGUgaW5mb3JtYXRpb24gYWJvdXQgdGhlIHRhc2tzIGFuZCBMb2Nr
|
130
|
IGZvciBhc3NpZ25pbmcgdGhlIHRhc2tzXG50byByZXNvdXJjZXMuIFRoZSBs
|
131
|
b2NraW5nIGFsbG93cyBkZWFsaW5nIHdpdGggcHJldmVudGluZyBtdWx0aXBs
|
132
|
ZSBjb2xsaWRpbmcgdGFza3MgdG8gYmUgcnVuIG9uIHRoZVxuc2FtZSByZXNv
|
133
|
dXJjZS4gSXQgYWxzbyBvcHRpb25hbGx5IHByb3ZpZGVzIER5bmZsb3cgaW5m
|
134
|
cmFzdHJ1Y3R1cmUgZm9yIHVzaW5nIGl0IGZvciBtYW5hZ2luZyB0aGUgdGFz
|
135
|
a3MuXG4iLCJ1cmwiOiJodHRwczovL2dpdGh1Yi5jb20vdGhlZm9yZW1hbi9m
|
136
|
b3JlbWFuLXRhc2tzIiwidmVyc2lvbiI6IjAuNy4xNC4xMSJ9LHsiaWQiOiJm
|
137
|
b3JlbWFuX2Jvb3RkaXNrIiwibmFtZSI6ImZvcmVtYW5fYm9vdGRpc2siLCJh
|
138
|
dXRob3IiOiJEb21pbmljIENsZWFsIiwiZGVzY3JpcHRpb24iOiJQbHVnaW4g
|
139
|
Zm9yIEZvcmVtYW4gdGhhdCBjcmVhdGVzIGlQWEUtYmFzZWQgYm9vdCBkaXNr
|
140
|
cyB0byBwcm92aXNpb24gaG9zdHMgd2l0aG91dCB0aGUgbmVlZCBmb3IgUFhF
|
141
|
IGluZnJhc3RydWN0dXJlLiIsInVybCI6Imh0dHA6Ly9naXRodWIuY29tL3Ro
|
142
|
ZWZvcmVtYW4vZm9yZW1hbl9ib290ZGlzayIsInZlcnNpb24iOiI2LjEuMC4z
|
143
|
In0seyJpZCI6ImZvcmVtYW5fZGlzY292ZXJ5IiwibmFtZSI6ImZvcmVtYW5f
|
144
|
ZGlzY292ZXJ5IiwiYXV0aG9yIjoiQW1vcyBCZW5hcmksQnJ5YW4gS2Vhcm5l
|
145
|
eSxDaGFpcm1hblR1YmVBbXAsRGFuaWVsIExvYmF0byBHYXJjw61hLERvbWlu
|
146
|
aWMgQ2xlYWwsRXJpYyBELiBIZWxtcyxGcmFuayBXYWxsLEdyZWcgU3V0Y2xp
|
147
|
ZmZlLEltcmkgWnZpayxKb3NlcGggTWl0Y2hlbGwgTWFnZW4sTHVrYXMgWmFw
|
148
|
bGV0YWwsTHVrw6HFoSBaYXBsZXRhbCxNYXJlayBIdWxhbixNYXJ0aW4gQmHE
|
149
|
jW92c2vDvSxNYXR0IEphcnZpcyxNaWNoYWVsIE1vbGwsTmljayxPaGFkIExl
|
150
|
dnksT3JpIFJhYmluLFBldHIgQ2hhbHVwYSxQaGlyaW5jZSBQaGlsaXAsU2N1
|
151
|
YmFmbG95ZCxTaGxvbWkgWmFkb2ssU3RlcGhlbiBCZW5qYW1pbixZYW5uIEPD
|
152
|
qXphcmQiLCJkZXNjcmlwdGlvbiI6Ik1hYVMgRGlzY292ZXJ5IFBsdWdpbiBl
|
153
|
bmdpbmUgZm9yIEZvcmVtYW4iLCJ1cmwiOiJodHRwOi8vZ2l0aHViLmNvbS90
|
154
|
aGVmb3JlbWFuL2ZvcmVtYW5fZGlzY292ZXJ5IiwidmVyc2lvbiI6IjUuMC4w
|
155
|
LjkifSx7ImlkIjoiZm9yZW1hbl9kb2NrZXIiLCJuYW1lIjoiZm9yZW1hbl9k
|
156
|
b2NrZXIiLCJhdXRob3IiOiJEYW5pZWwgTG9iYXRvLCBBbW9zIEJlbmFyaSIs
|
157
|
ImRlc2NyaXB0aW9uIjoiUHJvdmlzaW9uIGFuZCBtYW5hZ2UgRG9ja2VyIGNv
|
158
|
bnRhaW5lcnMgYW5kIGltYWdlcyBmcm9tIEZvcmVtYW4uIiwidXJsIjoiaHR0
|
159
|
cDovL2dpdGh1Yi5jb20vdGhlZm9yZW1hbi9mb3JlbWFuLWRvY2tlciIsInZl
|
160
|
cnNpb24iOiIyLjAuMS4xMSJ9LHsiaWQiOiJmb3JlbWFuX2hvb2tzIiwibmFt
|
161
|
ZSI6ImZvcmVtYW5faG9va3MiLCJhdXRob3IiOiJEb21pbmljIENsZWFsIiwi
|
162
|
ZGVzY3JpcHRpb24iOiJQbHVnaW4gZW5naW5lIGZvciBGb3JlbWFuIHRoYXQg
|
163
|
ZW5hYmxlcyBydW5uaW5nIGN1c3RvbSBob29rIHNjcmlwdHMgb24gRm9yZW1h
|
164
|
biBldmVudHMiLCJ1cmwiOiJodHRwOi8vZ2l0aHViLmNvbS90aGVmb3JlbWFu
|
165
|
L2ZvcmVtYW5faG9va3MiLCJ2ZXJzaW9uIjoiMC4zLjExIn0seyJpZCI6ImZv
|
166
|
cmVtYW5fb3BlbnNjYXAiLCJuYW1lIjoiZm9yZW1hbl9vcGVuc2NhcCIsImF1
|
167
|
dGhvciI6IsWgaW1vbiBMdWthxaHDrWssU2hsb21pIFphZG9rLE1hcmVrIEh1
|
168
|
bGFuLE9uZHJlaiBQcmF6YWsiLCJkZXNjcmlwdGlvbiI6IkZvcmVtYW4gcGx1
|
169
|
Zy1pbiBmb3IgbWFuYWdpbmcgc2VjdXJpdHkgY29tcGxpYW5jZSByZXBvcnRz
|
170
|
IiwidXJsIjoiaHR0cHM6Ly9naXRodWIuY29tL09wZW5TQ0FQL2ZvcmVtYW5f
|
171
|
b3BlbnNjYXAiLCJ2ZXJzaW9uIjoiMC41LjMuMTgifSx7ImlkIjoiZm9yZW1h
|
172
|
bl9yZW1vdGVfZXhlY3V0aW9uIiwibmFtZSI6ImZvcmVtYW5fcmVtb3RlX2V4
|
173
|
ZWN1dGlvbiIsImF1dGhvciI6IkZvcmVtYW4gUmVtb3RlIEV4ZWN1dGlvbiB0
|
174
|
ZWFtIiwiZGVzY3JpcHRpb24iOiJBIHBsdWdpbiBicmluZ2luZyByZW1vdGUg
|
175
|
ZXhlY3V0aW9uIHRvIHRoZSBGb3JlbWFuLCBjb21wbGV0aW5nIHRoZSBjb25m
|
176
|
aWcgbWFuYWdlbWVudCBmdW5jdGlvbmFsaXR5IHdpdGggcmVtb3RlIG1hbmFn
|
177
|
ZW1lbnQgZnVuY3Rpb25hbGl0eS4iLCJ1cmwiOiJodHRwczovL2dpdGh1Yi5j
|
178
|
b20vdGhlZm9yZW1hbi9mb3JlbWFuX3JlbW90ZV9leGVjdXRpb24iLCJ2ZXJz
|
179
|
aW9uIjoiMC4zLjAuMTIifSx7ImlkIjoiZm9yZW1hbl90aGVtZV9zYXRlbGxp
|
180
|
dGUiLCJuYW1lIjoiZm9yZW1hbl90aGVtZV9zYXRlbGxpdGUiLCJhdXRob3Ii
|
181
|
OiJBbG9uIEdvbGRib2ltLCBTaGltb24gU3RlaW4iLCJkZXNjcmlwdGlvbiI6
|
182
|
IlRoaXMgaXMgYSBwbHVnaW4gdGhhdCBlbmFibGVzIGJ1aWxkaW5nIGEgdGhl
|
183
|
bWUgZm9yIEZvcmVtYW4uIiwidXJsIjoiaHR0cHM6Ly9naXRodWIuY29tL2Fs
|
184
|
b25nb2xkYm9pbS9mb3JlbWFuX3RoZW1lX3NhdGVsbGl0ZSIsInZlcnNpb24i
|
185
|
OiIwLjEuMzYifSx7ImlkIjoia2F0ZWxsbyIsIm5hbWUiOiJrYXRlbGxvIiwi
|
186
|
YXV0aG9yIjoiTi9BIiwiZGVzY3JpcHRpb24iOiJDb250ZW50IGFuZCBTdWJz
|
187
|
Y3JpcHRpb24gTWFuYWdlbWVudCBwbHVnaW4gZm9yIEZvcmVtYW4iLCJ1cmwi
|
188
|
OiJodHRwOi8vd3d3LmthdGVsbG8ub3JnIiwidmVyc2lvbiI6IjMuMC4wLjkw
|
189
|
In0seyJpZCI6InJlZGhhdF9hY2Nlc3MiLCJuYW1lIjoicmVkaGF0X2FjY2Vz
|
190
|
cyIsImF1dGhvciI6IkxpbmRhbmkgUGhpcmkiLCJkZXNjcmlwdGlvbiI6IlRo
|
191
|
aXMgcGx1Z2luIGFkZHMgUmVkIEhhdCBBY2Nlc3Mga25vd2xlZGdlIGJhc2Ug
|
192
|
c2VhcmNoLCBjYXNlIG1hbmFnZW1lbnQgYW5kIGRpYWdub3N0aWNzIHRvIEZv
|
193
|
cmVtYW4iLCJ1cmwiOiJodHRwOi8vd3d3LmxwaGlyaS5yZWRoYXQuY29tIiwi
|
194
|
dmVyc2lvbiI6IjEuMC4xMyJ9XQp9Cg==
|
195
|
http_version:
|
196
|
recorded_at: Mon, 19 Dec 2016 16:43:37 GMT
|
197
|
- request:
|
198
|
method: get
|
199
|
uri: https://admin:changeme@satlap.example.com/api/locations?per_page=999999
|
200
|
body:
|
201
|
encoding: US-ASCII
|
202
|
string: ''
|
203
|
headers:
|
204
|
Accept:
|
205
|
- application/json;version=2
|
206
|
Accept-Encoding:
|
207
|
- gzip, deflate
|
208
|
User-Agent:
|
209
|
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
|
210
|
Content-Type:
|
211
|
- application/json
|
212
|
Accept-Language:
|
213
|
- en
|
214
|
Host:
|
215
|
- satlap.example.com
|
216
|
response:
|
217
|
status:
|
218
|
code: 200
|
219
|
message: OK
|
220
|
headers:
|
221
|
Date:
|
222
|
- Mon, 19 Dec 2016 16:43:54 GMT
|
223
|
Server:
|
224
|
- Apache/2.4.6 (Red Hat Enterprise Linux)
|
225
|
X-Frame-Options:
|
226
|
- SAMEORIGIN
|
227
|
X-Xss-Protection:
|
228
|
- 1; mode=block
|
229
|
X-Content-Type-Options:
|
230
|
- nosniff
|
231
|
Foreman-Version:
|
232
|
- 1.11.0.61
|
233
|
Foreman-Api-Version:
|
234
|
- '2'
|
235
|
Apipie-Checksum:
|
236
|
- 9793fd9909c89b81479655ed560c4340
|
237
|
Cache-Control:
|
238
|
- max-age=0, private, must-revalidate
|
239
|
X-Request-Id:
|
240
|
- f2646e16-0adb-41e0-899f-fac07bbba9e8
|
241
|
X-Runtime:
|
242
|
- '0.046061'
|
243
|
X-Powered-By:
|
244
|
- Phusion Passenger 4.0.18
|
245
|
Set-Cookie:
|
246
|
- _session_id=a510a2caeb9dcff68296c62b234184df; path=/; secure; HttpOnly
|
247
|
Etag:
|
248
|
- '"7cf41e79e0eb9c2cafbad18be7b049e0-gzip"'
|
249
|
Status:
|
250
|
- 200 OK
|
251
|
Vary:
|
252
|
- Accept-Encoding
|
253
|
Content-Length:
|
254
|
- '1350'
|
255
|
Content-Type:
|
256
|
- application/json; charset=utf-8
|
257
|
body:
|
258
|
encoding: ASCII-8BIT
|
259
|
string: |
|
260
|
{
|
261
|
"total": 6,
|
262
|
"subtotal": 6,
|
263
|
"page": 1,
|
264
|
"per_page": 999999,
|
265
|
"search": null,
|
266
|
"sort": {
|
267
|
"by": null,
|
268
|
"order": null
|
269
|
},
|
270
|
"results": [{"ancestry":null,"parent_id":null,"parent_name":null,"created_at":"2016-12-07 03:03:54 UTC","updated_at":"2016-12-07 03:03:54 UTC","id":2,"name":"Default Location","title":"Default Location","description":null},{"ancestry":null,"parent_id":null,"parent_name":null,"created_at":"2016-12-13 10:58:24 UTC","updated_at":"2016-12-19 16:39:57 UTC","id":4,"name":"Test East","title":"Test East","description":null},{"ancestry":null,"parent_id":null,"parent_name":null,"created_at":"2016-12-13 10:58:23 UTC","updated_at":"2016-12-19 16:42:45 UTC","id":3,"name":"Testing","title":"Testing","description":null},{"ancestry":null,"parent_id":null,"parent_name":null,"created_at":"2016-12-13 10:58:24 UTC","updated_at":"2016-12-19 16:39:57 UTC","id":5,"name":"Test North","title":"Test North","description":null},{"ancestry":null,"parent_id":null,"parent_name":null,"created_at":"2016-12-13 10:58:25 UTC","updated_at":"2016-12-19 16:39:58 UTC","id":6,"name":"Test South","title":"Test South","description":null},{"ancestry":null,"parent_id":null,"parent_name":null,"created_at":"2016-12-13 10:58:25 UTC","updated_at":"2016-12-19 16:39:58 UTC","id":7,"name":"Test West","title":"Test West","description":null}]
|
271
|
}
|
272
|
http_version:
|
273
|
recorded_at: Mon, 19 Dec 2016 16:43:37 GMT
|
274
|
- request:
|
275
|
method: put
|
276
|
uri: https://admin:changeme@satlap.example.com/api/locations/3
|
277
|
body:
|
278
|
encoding: UTF-8
|
279
|
string: '{"location":{"parent_id":null}}'
|
280
|
headers:
|
281
|
Accept:
|
282
|
- application/json;version=2
|
283
|
Accept-Encoding:
|
284
|
- gzip, deflate
|
285
|
User-Agent:
|
286
|
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
|
287
|
Content-Type:
|
288
|
- application/json
|
289
|
Accept-Language:
|
290
|
- en
|
291
|
Content-Length:
|
292
|
- '31'
|
293
|
Host:
|
294
|
- satlap.example.com
|
295
|
response:
|
296
|
status:
|
297
|
code: 200
|
298
|
message: OK
|
299
|
headers:
|
300
|
Date:
|
301
|
- Mon, 19 Dec 2016 16:43:54 GMT
|
302
|
Server:
|
303
|
- Apache/2.4.6 (Red Hat Enterprise Linux)
|
304
|
X-Frame-Options:
|
305
|
- SAMEORIGIN
|
306
|
X-Xss-Protection:
|
307
|
- 1; mode=block
|
308
|
X-Content-Type-Options:
|
309
|
- nosniff
|
310
|
Foreman-Version:
|
311
|
- 1.11.0.61
|
312
|
Foreman-Api-Version:
|
313
|
- '2'
|
314
|
Apipie-Checksum:
|
315
|
- 9793fd9909c89b81479655ed560c4340
|
316
|
Cache-Control:
|
317
|
- max-age=0, private, must-revalidate
|
318
|
X-Request-Id:
|
319
|
- a86d0333-5075-40b3-a508-f8d2cafa1336
|
320
|
X-Runtime:
|
321
|
- '0.269079'
|
322
|
X-Powered-By:
|
323
|
- Phusion Passenger 4.0.18
|
324
|
Set-Cookie:
|
325
|
- _session_id=825387be7828917adeb40994ef62198e; path=/; secure; HttpOnly
|
326
|
- request_method=PUT; path=/
|
327
|
Etag:
|
328
|
- '"e328282a98e7b8b6424f589161ffcda4-gzip"'
|
329
|
Status:
|
330
|
- 200 OK
|
331
|
Vary:
|
332
|
- Accept-Encoding
|
333
|
Content-Length:
|
334
|
- '13345'
|
335
|
Content-Type:
|
336
|
- application/json; charset=utf-8
|
337
|
body:
|
338
|
encoding: ASCII-8BIT
|
339
|
string: '{"select_all_types":["ProvisioningTemplate","Hostgroup"],"description":null,"created_at":"2016-12-13
|
340
|
10:58:23 UTC","updated_at":"2016-12-19 16:43:54 UTC","ancestry":null,"parent_id":null,"parent_name":null,"id":3,"name":"Testing","title":"Testing","users":[],"smart_proxies":[],"subnets":[{"id":1,"name":"Test
|
341
|
Subnet","network_address":"192.168.100.1/24"}],"compute_resources":[],"media":[],"config_templates":[{"id":7,"name":"Alterator
|
342
|
default","template_kind_id":5,"template_kind_name":"provision"},{"id":8,"name":"Alterator
|
343
|
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":9,"name":"Alterator
|
344
|
default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":41,"name":"alterator_pkglist","template_kind_id":null,"template_kind_name":null},{"id":10,"name":"Atomic
|
345
|
Kickstart default","template_kind_id":5,"template_kind_name":"provision"},{"id":11,"name":"AutoYaST
|
346
|
default","template_kind_id":5,"template_kind_name":"provision"},{"id":14,"name":"AutoYaST
|
347
|
default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":13,"name":"AutoYaST
|
348
|
default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":12,"name":"AutoYaST
|
349
|
SLES default","template_kind_id":5,"template_kind_name":"provision"},{"id":72,"name":"Boot
|
350
|
disk iPXE - generic host","template_kind_id":1,"template_kind_name":"Bootdisk"},{"id":71,"name":"Boot
|
351
|
disk iPXE - host","template_kind_id":1,"template_kind_name":"Bootdisk"},{"id":42,"name":"chef_client","template_kind_id":null,"template_kind_name":null},{"id":43,"name":"coreos_cloudconfig","template_kind_id":null,"template_kind_name":null},{"id":15,"name":"CoreOS
|
352
|
provision","template_kind_id":5,"template_kind_name":"provision"},{"id":16,"name":"CoreOS
|
353
|
PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":73,"name":"Discovery
|
354
|
Red Hat kexec","template_kind_id":11,"template_kind_name":"kexec"},{"id":44,"name":"epel","template_kind_id":null,"template_kind_name":null},{"id":45,"name":"fix_hosts","template_kind_id":null,"template_kind_name":null},{"id":17,"name":"FreeBSD
|
355
|
(mfsBSD) finish","template_kind_id":6,"template_kind_name":"finish"},{"id":18,"name":"FreeBSD
|
356
|
(mfsBSD) provision","template_kind_id":5,"template_kind_name":"provision"},{"id":19,"name":"FreeBSD
|
357
|
(mfsBSD) PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":46,"name":"freeipa_register","template_kind_id":null,"template_kind_name":null},{"id":20,"name":"Grubby
|
358
|
default","template_kind_id":7,"template_kind_name":"script"},{"id":47,"name":"http_proxy","template_kind_id":null,"template_kind_name":null},{"id":89,"name":"idm_register","template_kind_id":null,"template_kind_name":null},{"id":21,"name":"Jumpstart
|
359
|
default","template_kind_id":5,"template_kind_name":"provision"},{"id":22,"name":"Jumpstart
|
360
|
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":23,"name":"Jumpstart
|
361
|
default PXEGrub","template_kind_id":3,"template_kind_name":"PXEGrub"},{"id":39,"name":"Junos
|
362
|
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":37,"name":"Junos
|
363
|
default SLAX","template_kind_id":5,"template_kind_name":"provision"},{"id":38,"name":"Junos
|
364
|
default ZTP config","template_kind_id":9,"template_kind_name":"ZTP"},{"id":26,"name":"Kickstart
|
365
|
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":28,"name":"Kickstart
|
366
|
default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":27,"name":"Kickstart
|
367
|
default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":29,"name":"Kickstart
|
368
|
default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":48,"name":"kickstart_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":40,"name":"NX-OS
|
369
|
default POAP setup","template_kind_id":10,"template_kind_name":"POAP"},{"id":30,"name":"Preseed
|
370
|
default","template_kind_id":5,"template_kind_name":"provision"},{"id":31,"name":"Preseed
|
371
|
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":33,"name":"Preseed
|
372
|
default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":32,"name":"Preseed
|
373
|
default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":34,"name":"Preseed
|
374
|
default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":49,"name":"preseed_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":50,"name":"puppet.conf","template_kind_id":null,"template_kind_name":null},{"id":4,"name":"PXEGrub
|
375
|
default local boot","template_kind_id":3,"template_kind_name":"PXEGrub"},{"id":5,"name":"PXELinux
|
376
|
chain iPXE","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":6,"name":"PXELinux
|
377
|
chain iPXE UNDI","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":2,"name":"PXELinux
|
378
|
default local boot","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":3,"name":"PXELinux
|
379
|
default memdisk","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":1,"name":"PXELinux
|
380
|
global default","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":51,"name":"redhat_register","template_kind_id":null,"template_kind_name":null},{"id":52,"name":"remote_execution_ssh_keys","template_kind_id":null,"template_kind_name":null},{"id":53,"name":"saltstack_minion","template_kind_id":null,"template_kind_name":null},{"id":90,"name":"Satellite
|
381
|
Atomic Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":86,"name":"Satellite
|
382
|
Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":88,"name":"Satellite
|
383
|
Kickstart Default Finish","template_kind_id":6,"template_kind_name":"finish"},{"id":87,"name":"Satellite
|
384
|
Kickstart Default User Data","template_kind_id":8,"template_kind_name":"user_data"},{"id":69,"name":"subscription_manager_registration","template_kind_id":null,"template_kind_name":null},{"id":35,"name":"UserData
|
385
|
default","template_kind_id":8,"template_kind_name":"user_data"},{"id":36,"name":"WAIK
|
386
|
default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"}],"ptables":[{"os_family":"Suse","created_at":"2016-12-07
|
387
|
03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"AutoYaST entire
|
388
|
SCSI disk","id":54},{"os_family":"Suse","created_at":"2016-12-07 03:03:57
|
389
|
UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"AutoYaST entire virtual
|
390
|
disk","id":55},{"os_family":"Suse","created_at":"2016-12-07 03:03:57 UTC","updated_at":"2016-12-07
|
391
|
03:03:57 UTC","name":"AutoYaST LVM","id":56},{"os_family":"Coreos","created_at":"2016-12-07
|
392
|
03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"CoreOS default
|
393
|
fake","id":57},{"os_family":"Freebsd","created_at":"2016-12-07 03:03:57 UTC","updated_at":"2016-12-07
|
394
|
03:03:57 UTC","name":"FreeBSD","id":58},{"os_family":"Solaris","created_at":"2016-12-07
|
395
|
03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"Jumpstart default","id":59},{"os_family":"Solaris","created_at":"2016-12-07
|
396
|
03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"Jumpstart mirrored","id":60},{"os_family":"Junos","created_at":"2016-12-07
|
397
|
03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"Junos default
|
398
|
fake","id":64},{"os_family":"Redhat","created_at":"2016-12-07 03:03:57 UTC","updated_at":"2016-12-07
|
399
|
03:03:57 UTC","name":"Kickstart default","id":61},{"os_family":"NXOS","created_at":"2016-12-07
|
400
|
03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"NX-OS default
|
401
|
fake","id":65},{"os_family":"Debian","created_at":"2016-12-07 03:03:57 UTC","updated_at":"2016-12-07
|
402
|
03:03:57 UTC","name":"Preseed custom LVM","id":63},{"os_family":"Debian","created_at":"2016-12-07
|
403
|
03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"Preseed default","id":62}],"provisioning_templates":[{"id":7,"name":"Alterator
|
404
|
default","template_kind_id":5,"template_kind_name":"provision"},{"id":8,"name":"Alterator
|
405
|
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":9,"name":"Alterator
|
406
|
default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":41,"name":"alterator_pkglist","template_kind_id":null,"template_kind_name":null},{"id":10,"name":"Atomic
|
407
|
Kickstart default","template_kind_id":5,"template_kind_name":"provision"},{"id":11,"name":"AutoYaST
|
408
|
default","template_kind_id":5,"template_kind_name":"provision"},{"id":14,"name":"AutoYaST
|
409
|
default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":13,"name":"AutoYaST
|
410
|
default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":12,"name":"AutoYaST
|
411
|
SLES default","template_kind_id":5,"template_kind_name":"provision"},{"id":72,"name":"Boot
|
412
|
disk iPXE - generic host","template_kind_id":1,"template_kind_name":"Bootdisk"},{"id":71,"name":"Boot
|
413
|
disk iPXE - host","template_kind_id":1,"template_kind_name":"Bootdisk"},{"id":42,"name":"chef_client","template_kind_id":null,"template_kind_name":null},{"id":43,"name":"coreos_cloudconfig","template_kind_id":null,"template_kind_name":null},{"id":15,"name":"CoreOS
|
414
|
provision","template_kind_id":5,"template_kind_name":"provision"},{"id":16,"name":"CoreOS
|
415
|
PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":73,"name":"Discovery
|
416
|
Red Hat kexec","template_kind_id":11,"template_kind_name":"kexec"},{"id":44,"name":"epel","template_kind_id":null,"template_kind_name":null},{"id":45,"name":"fix_hosts","template_kind_id":null,"template_kind_name":null},{"id":17,"name":"FreeBSD
|
417
|
(mfsBSD) finish","template_kind_id":6,"template_kind_name":"finish"},{"id":18,"name":"FreeBSD
|
418
|
(mfsBSD) provision","template_kind_id":5,"template_kind_name":"provision"},{"id":19,"name":"FreeBSD
|
419
|
(mfsBSD) PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":46,"name":"freeipa_register","template_kind_id":null,"template_kind_name":null},{"id":20,"name":"Grubby
|
420
|
default","template_kind_id":7,"template_kind_name":"script"},{"id":47,"name":"http_proxy","template_kind_id":null,"template_kind_name":null},{"id":89,"name":"idm_register","template_kind_id":null,"template_kind_name":null},{"id":21,"name":"Jumpstart
|
421
|
default","template_kind_id":5,"template_kind_name":"provision"},{"id":22,"name":"Jumpstart
|
422
|
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":23,"name":"Jumpstart
|
423
|
default PXEGrub","template_kind_id":3,"template_kind_name":"PXEGrub"},{"id":39,"name":"Junos
|
424
|
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":37,"name":"Junos
|
425
|
default SLAX","template_kind_id":5,"template_kind_name":"provision"},{"id":38,"name":"Junos
|
426
|
default ZTP config","template_kind_id":9,"template_kind_name":"ZTP"},{"id":26,"name":"Kickstart
|
427
|
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":28,"name":"Kickstart
|
428
|
default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":27,"name":"Kickstart
|
429
|
default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":29,"name":"Kickstart
|
430
|
default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":48,"name":"kickstart_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":40,"name":"NX-OS
|
431
|
default POAP setup","template_kind_id":10,"template_kind_name":"POAP"},{"id":30,"name":"Preseed
|
432
|
default","template_kind_id":5,"template_kind_name":"provision"},{"id":31,"name":"Preseed
|
433
|
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":33,"name":"Preseed
|
434
|
default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":32,"name":"Preseed
|
435
|
default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":34,"name":"Preseed
|
436
|
default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":49,"name":"preseed_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":50,"name":"puppet.conf","template_kind_id":null,"template_kind_name":null},{"id":4,"name":"PXEGrub
|
437
|
default local boot","template_kind_id":3,"template_kind_name":"PXEGrub"},{"id":5,"name":"PXELinux
|
438
|
chain iPXE","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":6,"name":"PXELinux
|
439
|
chain iPXE UNDI","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":2,"name":"PXELinux
|
440
|
default local boot","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":3,"name":"PXELinux
|
441
|
default memdisk","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":1,"name":"PXELinux
|
442
|
global default","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":51,"name":"redhat_register","template_kind_id":null,"template_kind_name":null},{"id":52,"name":"remote_execution_ssh_keys","template_kind_id":null,"template_kind_name":null},{"id":53,"name":"saltstack_minion","template_kind_id":null,"template_kind_name":null},{"id":90,"name":"Satellite
|
443
|
Atomic Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":86,"name":"Satellite
|
444
|
Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":88,"name":"Satellite
|
445
|
Kickstart Default Finish","template_kind_id":6,"template_kind_name":"finish"},{"id":87,"name":"Satellite
|
446
|
Kickstart Default User Data","template_kind_id":8,"template_kind_name":"user_data"},{"id":69,"name":"subscription_manager_registration","template_kind_id":null,"template_kind_name":null},{"id":35,"name":"UserData
|
447
|
default","template_kind_id":8,"template_kind_name":"user_data"},{"id":36,"name":"WAIK
|
448
|
default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"}],"domains":[],"realms":[],"environments":[],"hostgroups":[],"organizations":[],"parameters":[]}'
|
449
|
http_version:
|
450
|
recorded_at: Mon, 19 Dec 2016 16:43:38 GMT
|
451
|
- request:
|
452
|
method: put
|
453
|
uri: https://admin:changeme@satlap.example.com/api/locations/4
|
454
|
body:
|
455
|
encoding: UTF-8
|
456
|
string: '{"location":{"parent_id":null}}'
|
457
|
headers:
|
458
|
Accept:
|
459
|
- application/json;version=2
|
460
|
Accept-Encoding:
|
461
|
- gzip, deflate
|
462
|
User-Agent:
|
463
|
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
|
464
|
Content-Type:
|
465
|
- application/json
|
466
|
Accept-Language:
|
467
|
- en
|
468
|
Content-Length:
|
469
|
- '31'
|
470
|
Host:
|
471
|
- satlap.example.com
|
472
|
response:
|
473
|
status:
|
474
|
code: 200
|
475
|
message: OK
|
476
|
headers:
|
477
|
Date:
|
478
|
- Mon, 19 Dec 2016 16:43:54 GMT
|
479
|
Server:
|
480
|
- Apache/2.4.6 (Red Hat Enterprise Linux)
|
481
|
X-Frame-Options:
|
482
|
- SAMEORIGIN
|
483
|
X-Xss-Protection:
|
484
|
- 1; mode=block
|
485
|
X-Content-Type-Options:
|
486
|
- nosniff
|
487
|
Foreman-Version:
|
488
|
- 1.11.0.61
|
489
|
Foreman-Api-Version:
|
490
|
- '2'
|
491
|
Apipie-Checksum:
|
492
|
- 9793fd9909c89b81479655ed560c4340
|
493
|
Cache-Control:
|
494
|
- max-age=0, private, must-revalidate
|
495
|
X-Request-Id:
|
496
|
- cafc7788-9483-4684-b59a-a65ad1fc5ff4
|
497
|
X-Runtime:
|
498
|
- '0.270754'
|
499
|
X-Powered-By:
|
500
|
- Phusion Passenger 4.0.18
|
501
|
Set-Cookie:
|
502
|
- _session_id=92be87e01dc4203e24bcf6d0164ae974; path=/; secure; HttpOnly
|
503
|
- request_method=PUT; path=/
|
504
|
Etag:
|
505
|
- '"b3275c4984148c5d4c531fd4f6605ba2-gzip"'
|
506
|
Status:
|
507
|
- 200 OK
|
508
|
Vary:
|
509
|
- Accept-Encoding
|
510
|
Content-Length:
|
511
|
- '13283'
|
512
|
Content-Type:
|
513
|
- application/json; charset=utf-8
|
514
|
body:
|
515
|
encoding: ASCII-8BIT
|
516
|
string: '{"select_all_types":["ProvisioningTemplate","Hostgroup"],"description":null,"created_at":"2016-12-13
|
517
|
10:58:24 UTC","updated_at":"2016-12-19 16:43:54 UTC","ancestry":null,"parent_id":null,"parent_name":null,"id":4,"name":"Test
|
518
|
East","title":"Test East","users":[],"smart_proxies":[],"subnets":[],"compute_resources":[],"media":[],"config_templates":[{"id":7,"name":"Alterator
|
519
|
default","template_kind_id":5,"template_kind_name":"provision"},{"id":8,"name":"Alterator
|
520
|
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":9,"name":"Alterator
|
521
|
default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":41,"name":"alterator_pkglist","template_kind_id":null,"template_kind_name":null},{"id":10,"name":"Atomic
|
522
|
Kickstart default","template_kind_id":5,"template_kind_name":"provision"},{"id":11,"name":"AutoYaST
|
523
|
default","template_kind_id":5,"template_kind_name":"provision"},{"id":14,"name":"AutoYaST
|
524
|
default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":13,"name":"AutoYaST
|
525
|
default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":12,"name":"AutoYaST
|
526
|
SLES default","template_kind_id":5,"template_kind_name":"provision"},{"id":72,"name":"Boot
|
527
|
disk iPXE - generic host","template_kind_id":1,"template_kind_name":"Bootdisk"},{"id":71,"name":"Boot
|
528
|
disk iPXE - host","template_kind_id":1,"template_kind_name":"Bootdisk"},{"id":42,"name":"chef_client","template_kind_id":null,"template_kind_name":null},{"id":43,"name":"coreos_cloudconfig","template_kind_id":null,"template_kind_name":null},{"id":15,"name":"CoreOS
|
529
|
provision","template_kind_id":5,"template_kind_name":"provision"},{"id":16,"name":"CoreOS
|
530
|
PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":73,"name":"Discovery
|
531
|
Red Hat kexec","template_kind_id":11,"template_kind_name":"kexec"},{"id":44,"name":"epel","template_kind_id":null,"template_kind_name":null},{"id":45,"name":"fix_hosts","template_kind_id":null,"template_kind_name":null},{"id":17,"name":"FreeBSD
|
532
|
(mfsBSD) finish","template_kind_id":6,"template_kind_name":"finish"},{"id":18,"name":"FreeBSD
|
533
|
(mfsBSD) provision","template_kind_id":5,"template_kind_name":"provision"},{"id":19,"name":"FreeBSD
|
534
|
(mfsBSD) PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":46,"name":"freeipa_register","template_kind_id":null,"template_kind_name":null},{"id":20,"name":"Grubby
|
535
|
default","template_kind_id":7,"template_kind_name":"script"},{"id":47,"name":"http_proxy","template_kind_id":null,"template_kind_name":null},{"id":89,"name":"idm_register","template_kind_id":null,"template_kind_name":null},{"id":21,"name":"Jumpstart
|
536
|
default","template_kind_id":5,"template_kind_name":"provision"},{"id":22,"name":"Jumpstart
|
537
|
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":23,"name":"Jumpstart
|
538
|
default PXEGrub","template_kind_id":3,"template_kind_name":"PXEGrub"},{"id":39,"name":"Junos
|
539
|
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":37,"name":"Junos
|
540
|
default SLAX","template_kind_id":5,"template_kind_name":"provision"},{"id":38,"name":"Junos
|
541
|
default ZTP config","template_kind_id":9,"template_kind_name":"ZTP"},{"id":26,"name":"Kickstart
|
542
|
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":28,"name":"Kickstart
|
543
|
default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":27,"name":"Kickstart
|
544
|
default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":29,"name":"Kickstart
|
545
|
default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":48,"name":"kickstart_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":40,"name":"NX-OS
|
546
|
default POAP setup","template_kind_id":10,"template_kind_name":"POAP"},{"id":30,"name":"Preseed
|
547
|
default","template_kind_id":5,"template_kind_name":"provision"},{"id":31,"name":"Preseed
|
548
|
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":33,"name":"Preseed
|
549
|
default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":32,"name":"Preseed
|
550
|
default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":34,"name":"Preseed
|
551
|
default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":49,"name":"preseed_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":50,"name":"puppet.conf","template_kind_id":null,"template_kind_name":null},{"id":4,"name":"PXEGrub
|
552
|
default local boot","template_kind_id":3,"template_kind_name":"PXEGrub"},{"id":5,"name":"PXELinux
|
553
|
chain iPXE","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":6,"name":"PXELinux
|
554
|
chain iPXE UNDI","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":2,"name":"PXELinux
|
555
|
default local boot","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":3,"name":"PXELinux
|
556
|
default memdisk","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":1,"name":"PXELinux
|
557
|
global default","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":51,"name":"redhat_register","template_kind_id":null,"template_kind_name":null},{"id":52,"name":"remote_execution_ssh_keys","template_kind_id":null,"template_kind_name":null},{"id":53,"name":"saltstack_minion","template_kind_id":null,"template_kind_name":null},{"id":90,"name":"Satellite
|
558
|
Atomic Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":86,"name":"Satellite
|
559
|
Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":88,"name":"Satellite
|
560
|
Kickstart Default Finish","template_kind_id":6,"template_kind_name":"finish"},{"id":87,"name":"Satellite
|
561
|
Kickstart Default User Data","template_kind_id":8,"template_kind_name":"user_data"},{"id":69,"name":"subscription_manager_registration","template_kind_id":null,"template_kind_name":null},{"id":35,"name":"UserData
|
562
|
default","template_kind_id":8,"template_kind_name":"user_data"},{"id":36,"name":"WAIK
|
563
|
default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"}],"ptables":[{"os_family":"Suse","created_at":"2016-12-07
|
564
|
03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"AutoYaST entire
|
565
|
SCSI disk","id":54},{"os_family":"Suse","created_at":"2016-12-07 03:03:57
|
566
|
UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"AutoYaST entire virtual
|
567
|
disk","id":55},{"os_family":"Suse","created_at":"2016-12-07 03:03:57 UTC","updated_at":"2016-12-07
|
568
|
03:03:57 UTC","name":"AutoYaST LVM","id":56},{"os_family":"Coreos","created_at":"2016-12-07
|
569
|
03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"CoreOS default
|
570
|
fake","id":57},{"os_family":"Freebsd","created_at":"2016-12-07 03:03:57 UTC","updated_at":"2016-12-07
|
571
|
03:03:57 UTC","name":"FreeBSD","id":58},{"os_family":"Solaris","created_at":"2016-12-07
|
572
|
03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"Jumpstart default","id":59},{"os_family":"Solaris","created_at":"2016-12-07
|
573
|
03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"Jumpstart mirrored","id":60},{"os_family":"Junos","created_at":"2016-12-07
|
574
|
03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"Junos default
|
575
|
fake","id":64},{"os_family":"Redhat","created_at":"2016-12-07 03:03:57 UTC","updated_at":"2016-12-07
|
576
|
03:03:57 UTC","name":"Kickstart default","id":61},{"os_family":"NXOS","created_at":"2016-12-07
|
577
|
03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"NX-OS default
|
578
|
fake","id":65},{"os_family":"Debian","created_at":"2016-12-07 03:03:57 UTC","updated_at":"2016-12-07
|
579
|
03:03:57 UTC","name":"Preseed custom LVM","id":63},{"os_family":"Debian","created_at":"2016-12-07
|
580
|
03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"Preseed default","id":62}],"provisioning_templates":[{"id":7,"name":"Alterator
|
581
|
default","template_kind_id":5,"template_kind_name":"provision"},{"id":8,"name":"Alterator
|
582
|
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":9,"name":"Alterator
|
583
|
default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":41,"name":"alterator_pkglist","template_kind_id":null,"template_kind_name":null},{"id":10,"name":"Atomic
|
584
|
Kickstart default","template_kind_id":5,"template_kind_name":"provision"},{"id":11,"name":"AutoYaST
|
585
|
default","template_kind_id":5,"template_kind_name":"provision"},{"id":14,"name":"AutoYaST
|
586
|
default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":13,"name":"AutoYaST
|
587
|
default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":12,"name":"AutoYaST
|
588
|
SLES default","template_kind_id":5,"template_kind_name":"provision"},{"id":72,"name":"Boot
|
589
|
disk iPXE - generic host","template_kind_id":1,"template_kind_name":"Bootdisk"},{"id":71,"name":"Boot
|
590
|
disk iPXE - host","template_kind_id":1,"template_kind_name":"Bootdisk"},{"id":42,"name":"chef_client","template_kind_id":null,"template_kind_name":null},{"id":43,"name":"coreos_cloudconfig","template_kind_id":null,"template_kind_name":null},{"id":15,"name":"CoreOS
|
591
|
provision","template_kind_id":5,"template_kind_name":"provision"},{"id":16,"name":"CoreOS
|
592
|
PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":73,"name":"Discovery
|
593
|
Red Hat kexec","template_kind_id":11,"template_kind_name":"kexec"},{"id":44,"name":"epel","template_kind_id":null,"template_kind_name":null},{"id":45,"name":"fix_hosts","template_kind_id":null,"template_kind_name":null},{"id":17,"name":"FreeBSD
|
594
|
(mfsBSD) finish","template_kind_id":6,"template_kind_name":"finish"},{"id":18,"name":"FreeBSD
|
595
|
(mfsBSD) provision","template_kind_id":5,"template_kind_name":"provision"},{"id":19,"name":"FreeBSD
|
596
|
(mfsBSD) PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":46,"name":"freeipa_register","template_kind_id":null,"template_kind_name":null},{"id":20,"name":"Grubby
|
597
|
default","template_kind_id":7,"template_kind_name":"script"},{"id":47,"name":"http_proxy","template_kind_id":null,"template_kind_name":null},{"id":89,"name":"idm_register","template_kind_id":null,"template_kind_name":null},{"id":21,"name":"Jumpstart
|
598
|
default","template_kind_id":5,"template_kind_name":"provision"},{"id":22,"name":"Jumpstart
|
599
|
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":23,"name":"Jumpstart
|
600
|
default PXEGrub","template_kind_id":3,"template_kind_name":"PXEGrub"},{"id":39,"name":"Junos
|
601
|
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":37,"name":"Junos
|
602
|
default SLAX","template_kind_id":5,"template_kind_name":"provision"},{"id":38,"name":"Junos
|
603
|
default ZTP config","template_kind_id":9,"template_kind_name":"ZTP"},{"id":26,"name":"Kickstart
|
604
|
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":28,"name":"Kickstart
|
605
|
default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":27,"name":"Kickstart
|
606
|
default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":29,"name":"Kickstart
|
607
|
default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":48,"name":"kickstart_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":40,"name":"NX-OS
|
608
|
default POAP setup","template_kind_id":10,"template_kind_name":"POAP"},{"id":30,"name":"Preseed
|
609
|
default","template_kind_id":5,"template_kind_name":"provision"},{"id":31,"name":"Preseed
|
610
|
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":33,"name":"Preseed
|
611
|
default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":32,"name":"Preseed
|
612
|
default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":34,"name":"Preseed
|
613
|
default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":49,"name":"preseed_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":50,"name":"puppet.conf","template_kind_id":null,"template_kind_name":null},{"id":4,"name":"PXEGrub
|
614
|
default local boot","template_kind_id":3,"template_kind_name":"PXEGrub"},{"id":5,"name":"PXELinux
|
615
|
chain iPXE","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":6,"name":"PXELinux
|
616
|
chain iPXE UNDI","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":2,"name":"PXELinux
|
617
|
default local boot","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":3,"name":"PXELinux
|
618
|
default memdisk","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":1,"name":"PXELinux
|
619
|
global default","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":51,"name":"redhat_register","template_kind_id":null,"template_kind_name":null},{"id":52,"name":"remote_execution_ssh_keys","template_kind_id":null,"template_kind_name":null},{"id":53,"name":"saltstack_minion","template_kind_id":null,"template_kind_name":null},{"id":90,"name":"Satellite
|
620
|
Atomic Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":86,"name":"Satellite
|
621
|
Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":88,"name":"Satellite
|
622
|
Kickstart Default Finish","template_kind_id":6,"template_kind_name":"finish"},{"id":87,"name":"Satellite
|
623
|
Kickstart Default User Data","template_kind_id":8,"template_kind_name":"user_data"},{"id":69,"name":"subscription_manager_registration","template_kind_id":null,"template_kind_name":null},{"id":35,"name":"UserData
|
624
|
default","template_kind_id":8,"template_kind_name":"user_data"},{"id":36,"name":"WAIK
|
625
|
default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"}],"domains":[],"realms":[],"environments":[],"hostgroups":[],"organizations":[],"parameters":[]}'
|
626
|
http_version:
|
627
|
recorded_at: Mon, 19 Dec 2016 16:43:38 GMT
|
628
|
- request:
|
629
|
method: put
|
630
|
uri: https://admin:changeme@satlap.example.com/api/locations/5
|
631
|
body:
|
632
|
encoding: UTF-8
|
633
|
string: '{"location":{"parent_id":null}}'
|
634
|
headers:
|
635
|
Accept:
|
636
|
- application/json;version=2
|
637
|
Accept-Encoding:
|
638
|
- gzip, deflate
|
639
|
User-Agent:
|
640
|
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
|
641
|
Content-Type:
|
642
|
- application/json
|
643
|
Accept-Language:
|
644
|
- en
|
645
|
Content-Length:
|
646
|
- '31'
|
647
|
Host:
|
648
|
- satlap.example.com
|
649
|
response:
|
650
|
status:
|
651
|
code: 200
|
652
|
message: OK
|
653
|
headers:
|
654
|
Date:
|
655
|
- Mon, 19 Dec 2016 16:43:54 GMT
|
656
|
Server:
|
657
|
- Apache/2.4.6 (Red Hat Enterprise Linux)
|
658
|
X-Frame-Options:
|
659
|
- SAMEORIGIN
|
660
|
X-Xss-Protection:
|
661
|
- 1; mode=block
|
662
|
X-Content-Type-Options:
|
663
|
- nosniff
|
664
|
Foreman-Version:
|
665
|
- 1.11.0.61
|
666
|
Foreman-Api-Version:
|
667
|
- '2'
|
668
|
Apipie-Checksum:
|
669
|
- 9793fd9909c89b81479655ed560c4340
|
670
|
Cache-Control:
|
671
|
- max-age=0, private, must-revalidate
|
672
|
X-Request-Id:
|
673
|
- 0b307064-b714-401c-a6c0-86014f8e9454
|
674
|
X-Runtime:
|
675
|
- '0.298311'
|
676
|
X-Powered-By:
|
677
|
- Phusion Passenger 4.0.18
|
678
|
Set-Cookie:
|
679
|
- _session_id=090c2c77565179c1e8812f242ee9aed2; path=/; secure; HttpOnly
|
680
|
- request_method=PUT; path=/
|
681
|
Etag:
|
682
|
- '"b1227d67c8f1d9e4242ddd73d689958c-gzip"'
|
683
|
Status:
|
684
|
- 200 OK
|
685
|
Vary:
|
686
|
- Accept-Encoding
|
687
|
Content-Length:
|
688
|
- '13285'
|
689
|
Content-Type:
|
690
|
- application/json; charset=utf-8
|
691
|
body:
|
692
|
encoding: ASCII-8BIT
|
693
|
string: '{"select_all_types":["ProvisioningTemplate","Hostgroup"],"description":null,"created_at":"2016-12-13
|
694
|
10:58:24 UTC","updated_at":"2016-12-19 16:43:54 UTC","ancestry":null,"parent_id":null,"parent_name":null,"id":5,"name":"Test
|
695
|
North","title":"Test North","users":[],"smart_proxies":[],"subnets":[],"compute_resources":[],"media":[],"config_templates":[{"id":7,"name":"Alterator
|
696
|
default","template_kind_id":5,"template_kind_name":"provision"},{"id":8,"name":"Alterator
|
697
|
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":9,"name":"Alterator
|
698
|
default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":41,"name":"alterator_pkglist","template_kind_id":null,"template_kind_name":null},{"id":10,"name":"Atomic
|
699
|
Kickstart default","template_kind_id":5,"template_kind_name":"provision"},{"id":11,"name":"AutoYaST
|
700
|
default","template_kind_id":5,"template_kind_name":"provision"},{"id":14,"name":"AutoYaST
|
701
|
default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":13,"name":"AutoYaST
|
702
|
default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":12,"name":"AutoYaST
|
703
|
SLES default","template_kind_id":5,"template_kind_name":"provision"},{"id":72,"name":"Boot
|
704
|
disk iPXE - generic host","template_kind_id":1,"template_kind_name":"Bootdisk"},{"id":71,"name":"Boot
|
705
|
disk iPXE - host","template_kind_id":1,"template_kind_name":"Bootdisk"},{"id":42,"name":"chef_client","template_kind_id":null,"template_kind_name":null},{"id":43,"name":"coreos_cloudconfig","template_kind_id":null,"template_kind_name":null},{"id":15,"name":"CoreOS
|
706
|
provision","template_kind_id":5,"template_kind_name":"provision"},{"id":16,"name":"CoreOS
|
707
|
PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":73,"name":"Discovery
|
708
|
Red Hat kexec","template_kind_id":11,"template_kind_name":"kexec"},{"id":44,"name":"epel","template_kind_id":null,"template_kind_name":null},{"id":45,"name":"fix_hosts","template_kind_id":null,"template_kind_name":null},{"id":17,"name":"FreeBSD
|
709
|
(mfsBSD) finish","template_kind_id":6,"template_kind_name":"finish"},{"id":18,"name":"FreeBSD
|
710
|
(mfsBSD) provision","template_kind_id":5,"template_kind_name":"provision"},{"id":19,"name":"FreeBSD
|
711
|
(mfsBSD) PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":46,"name":"freeipa_register","template_kind_id":null,"template_kind_name":null},{"id":20,"name":"Grubby
|
712
|
default","template_kind_id":7,"template_kind_name":"script"},{"id":47,"name":"http_proxy","template_kind_id":null,"template_kind_name":null},{"id":89,"name":"idm_register","template_kind_id":null,"template_kind_name":null},{"id":21,"name":"Jumpstart
|
713
|
default","template_kind_id":5,"template_kind_name":"provision"},{"id":22,"name":"Jumpstart
|
714
|
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":23,"name":"Jumpstart
|
715
|
default PXEGrub","template_kind_id":3,"template_kind_name":"PXEGrub"},{"id":39,"name":"Junos
|
716
|
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":37,"name":"Junos
|
717
|
default SLAX","template_kind_id":5,"template_kind_name":"provision"},{"id":38,"name":"Junos
|
718
|
default ZTP config","template_kind_id":9,"template_kind_name":"ZTP"},{"id":26,"name":"Kickstart
|
719
|
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":28,"name":"Kickstart
|
720
|
default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":27,"name":"Kickstart
|
721
|
default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":29,"name":"Kickstart
|
722
|
default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":48,"name":"kickstart_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":40,"name":"NX-OS
|
723
|
default POAP setup","template_kind_id":10,"template_kind_name":"POAP"},{"id":30,"name":"Preseed
|
724
|
default","template_kind_id":5,"template_kind_name":"provision"},{"id":31,"name":"Preseed
|
725
|
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":33,"name":"Preseed
|
726
|
default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":32,"name":"Preseed
|
727
|
default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":34,"name":"Preseed
|
728
|
default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":49,"name":"preseed_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":50,"name":"puppet.conf","template_kind_id":null,"template_kind_name":null},{"id":4,"name":"PXEGrub
|
729
|
default local boot","template_kind_id":3,"template_kind_name":"PXEGrub"},{"id":5,"name":"PXELinux
|
730
|
chain iPXE","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":6,"name":"PXELinux
|
731
|
chain iPXE UNDI","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":2,"name":"PXELinux
|
732
|
default local boot","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":3,"name":"PXELinux
|
733
|
default memdisk","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":1,"name":"PXELinux
|
734
|
global default","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":51,"name":"redhat_register","template_kind_id":null,"template_kind_name":null},{"id":52,"name":"remote_execution_ssh_keys","template_kind_id":null,"template_kind_name":null},{"id":53,"name":"saltstack_minion","template_kind_id":null,"template_kind_name":null},{"id":90,"name":"Satellite
|
735
|
Atomic Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":86,"name":"Satellite
|
736
|
Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":88,"name":"Satellite
|
737
|
Kickstart Default Finish","template_kind_id":6,"template_kind_name":"finish"},{"id":87,"name":"Satellite
|
738
|
Kickstart Default User Data","template_kind_id":8,"template_kind_name":"user_data"},{"id":69,"name":"subscription_manager_registration","template_kind_id":null,"template_kind_name":null},{"id":35,"name":"UserData
|
739
|
default","template_kind_id":8,"template_kind_name":"user_data"},{"id":36,"name":"WAIK
|
740
|
default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"}],"ptables":[{"os_family":"Suse","created_at":"2016-12-07
|
741
|
03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"AutoYaST entire
|
742
|
SCSI disk","id":54},{"os_family":"Suse","created_at":"2016-12-07 03:03:57
|
743
|
UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"AutoYaST entire virtual
|
744
|
disk","id":55},{"os_family":"Suse","created_at":"2016-12-07 03:03:57 UTC","updated_at":"2016-12-07
|
745
|
03:03:57 UTC","name":"AutoYaST LVM","id":56},{"os_family":"Coreos","created_at":"2016-12-07
|
746
|
03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"CoreOS default
|
747
|
fake","id":57},{"os_family":"Freebsd","created_at":"2016-12-07 03:03:57 UTC","updated_at":"2016-12-07
|
748
|
03:03:57 UTC","name":"FreeBSD","id":58},{"os_family":"Solaris","created_at":"2016-12-07
|
749
|
03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"Jumpstart default","id":59},{"os_family":"Solaris","created_at":"2016-12-07
|
750
|
03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"Jumpstart mirrored","id":60},{"os_family":"Junos","created_at":"2016-12-07
|
751
|
03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"Junos default
|
752
|
fake","id":64},{"os_family":"Redhat","created_at":"2016-12-07 03:03:57 UTC","updated_at":"2016-12-07
|
753
|
03:03:57 UTC","name":"Kickstart default","id":61},{"os_family":"NXOS","created_at":"2016-12-07
|
754
|
03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"NX-OS default
|
755
|
fake","id":65},{"os_family":"Debian","created_at":"2016-12-07 03:03:57 UTC","updated_at":"2016-12-07
|
756
|
03:03:57 UTC","name":"Preseed custom LVM","id":63},{"os_family":"Debian","created_at":"2016-12-07
|
757
|
03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"Preseed default","id":62}],"provisioning_templates":[{"id":7,"name":"Alterator
|
758
|
default","template_kind_id":5,"template_kind_name":"provision"},{"id":8,"name":"Alterator
|
759
|
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":9,"name":"Alterator
|
760
|
default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":41,"name":"alterator_pkglist","template_kind_id":null,"template_kind_name":null},{"id":10,"name":"Atomic
|
761
|
Kickstart default","template_kind_id":5,"template_kind_name":"provision"},{"id":11,"name":"AutoYaST
|
762
|
default","template_kind_id":5,"template_kind_name":"provision"},{"id":14,"name":"AutoYaST
|
763
|
default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":13,"name":"AutoYaST
|
764
|
default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":12,"name":"AutoYaST
|
765
|
SLES default","template_kind_id":5,"template_kind_name":"provision"},{"id":72,"name":"Boot
|
766
|
disk iPXE - generic host","template_kind_id":1,"template_kind_name":"Bootdisk"},{"id":71,"name":"Boot
|
767
|
disk iPXE - host","template_kind_id":1,"template_kind_name":"Bootdisk"},{"id":42,"name":"chef_client","template_kind_id":null,"template_kind_name":null},{"id":43,"name":"coreos_cloudconfig","template_kind_id":null,"template_kind_name":null},{"id":15,"name":"CoreOS
|
768
|
provision","template_kind_id":5,"template_kind_name":"provision"},{"id":16,"name":"CoreOS
|
769
|
PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":73,"name":"Discovery
|
770
|
Red Hat kexec","template_kind_id":11,"template_kind_name":"kexec"},{"id":44,"name":"epel","template_kind_id":null,"template_kind_name":null},{"id":45,"name":"fix_hosts","template_kind_id":null,"template_kind_name":null},{"id":17,"name":"FreeBSD
|
771
|
(mfsBSD) finish","template_kind_id":6,"template_kind_name":"finish"},{"id":18,"name":"FreeBSD
|
772
|
(mfsBSD) provision","template_kind_id":5,"template_kind_name":"provision"},{"id":19,"name":"FreeBSD
|
773
|
(mfsBSD) PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":46,"name":"freeipa_register","template_kind_id":null,"template_kind_name":null},{"id":20,"name":"Grubby
|
774
|
default","template_kind_id":7,"template_kind_name":"script"},{"id":47,"name":"http_proxy","template_kind_id":null,"template_kind_name":null},{"id":89,"name":"idm_register","template_kind_id":null,"template_kind_name":null},{"id":21,"name":"Jumpstart
|
775
|
default","template_kind_id":5,"template_kind_name":"provision"},{"id":22,"name":"Jumpstart
|
776
|
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":23,"name":"Jumpstart
|
777
|
default PXEGrub","template_kind_id":3,"template_kind_name":"PXEGrub"},{"id":39,"name":"Junos
|
778
|
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":37,"name":"Junos
|
779
|
default SLAX","template_kind_id":5,"template_kind_name":"provision"},{"id":38,"name":"Junos
|
780
|
default ZTP config","template_kind_id":9,"template_kind_name":"ZTP"},{"id":26,"name":"Kickstart
|
781
|
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":28,"name":"Kickstart
|
782
|
default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":27,"name":"Kickstart
|
783
|
default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":29,"name":"Kickstart
|
784
|
default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":48,"name":"kickstart_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":40,"name":"NX-OS
|
785
|
default POAP setup","template_kind_id":10,"template_kind_name":"POAP"},{"id":30,"name":"Preseed
|
786
|
default","template_kind_id":5,"template_kind_name":"provision"},{"id":31,"name":"Preseed
|
787
|
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":33,"name":"Preseed
|
788
|
default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":32,"name":"Preseed
|
789
|
default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":34,"name":"Preseed
|
790
|
default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":49,"name":"preseed_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":50,"name":"puppet.conf","template_kind_id":null,"template_kind_name":null},{"id":4,"name":"PXEGrub
|
791
|
default local boot","template_kind_id":3,"template_kind_name":"PXEGrub"},{"id":5,"name":"PXELinux
|
792
|
chain iPXE","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":6,"name":"PXELinux
|
793
|
chain iPXE UNDI","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":2,"name":"PXELinux
|
794
|
default local boot","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":3,"name":"PXELinux
|
795
|
default memdisk","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":1,"name":"PXELinux
|
796
|
global default","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":51,"name":"redhat_register","template_kind_id":null,"template_kind_name":null},{"id":52,"name":"remote_execution_ssh_keys","template_kind_id":null,"template_kind_name":null},{"id":53,"name":"saltstack_minion","template_kind_id":null,"template_kind_name":null},{"id":90,"name":"Satellite
|
797
|
Atomic Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":86,"name":"Satellite
|
798
|
Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":88,"name":"Satellite
|
799
|
Kickstart Default Finish","template_kind_id":6,"template_kind_name":"finish"},{"id":87,"name":"Satellite
|
800
|
Kickstart Default User Data","template_kind_id":8,"template_kind_name":"user_data"},{"id":69,"name":"subscription_manager_registration","template_kind_id":null,"template_kind_name":null},{"id":35,"name":"UserData
|
801
|
default","template_kind_id":8,"template_kind_name":"user_data"},{"id":36,"name":"WAIK
|
802
|
default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"}],"domains":[],"realms":[],"environments":[],"hostgroups":[],"organizations":[],"parameters":[]}'
|
803
|
http_version:
|
804
|
recorded_at: Mon, 19 Dec 2016 16:43:38 GMT
|
805
|
- request:
|
806
|
method: put
|
807
|
uri: https://admin:changeme@satlap.example.com/api/locations/6
|
808
|
body:
|
809
|
encoding: UTF-8
|
810
|
string: '{"location":{"parent_id":null}}'
|
811
|
headers:
|
812
|
Accept:
|
813
|
- application/json;version=2
|
814
|
Accept-Encoding:
|
815
|
- gzip, deflate
|
816
|
User-Agent:
|
817
|
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
|
818
|
Content-Type:
|
819
|
- application/json
|
820
|
Accept-Language:
|
821
|
- en
|
822
|
Content-Length:
|
823
|
- '31'
|
824
|
Host:
|
825
|
- satlap.example.com
|
826
|
response:
|
827
|
status:
|
828
|
code: 200
|
829
|
message: OK
|
830
|
headers:
|
831
|
Date:
|
832
|
- Mon, 19 Dec 2016 16:43:55 GMT
|
833
|
Server:
|
834
|
- Apache/2.4.6 (Red Hat Enterprise Linux)
|
835
|
X-Frame-Options:
|
836
|
- SAMEORIGIN
|
837
|
X-Xss-Protection:
|
838
|
- 1; mode=block
|
839
|
X-Content-Type-Options:
|
840
|
- nosniff
|
841
|
Foreman-Version:
|
842
|
- 1.11.0.61
|
843
|
Foreman-Api-Version:
|
844
|
- '2'
|
845
|
Apipie-Checksum:
|
846
|
- 9793fd9909c89b81479655ed560c4340
|
847
|
Cache-Control:
|
848
|
- max-age=0, private, must-revalidate
|
849
|
X-Request-Id:
|
850
|
- 8a230474-88aa-4f8d-a468-98910c673288
|
851
|
X-Runtime:
|
852
|
- '0.350845'
|
853
|
X-Powered-By:
|
854
|
- Phusion Passenger 4.0.18
|
855
|
Set-Cookie:
|
856
|
- _session_id=5f0cd6aa8ff003de4f287e3a1e822f4d; path=/; secure; HttpOnly
|
857
|
- request_method=PUT; path=/
|
858
|
Etag:
|
859
|
- '"b7bff135718b23c9b48b783bc3ecd8b7-gzip"'
|
860
|
Status:
|
861
|
- 200 OK
|
862
|
Vary:
|
863
|
- Accept-Encoding
|
864
|
Content-Length:
|
865
|
- '13285'
|
866
|
Content-Type:
|
867
|
- application/json; charset=utf-8
|
868
|
body:
|
869
|
encoding: ASCII-8BIT
|
870
|
string: '{"select_all_types":["ProvisioningTemplate","Hostgroup"],"description":null,"created_at":"2016-12-13
|
871
|
10:58:25 UTC","updated_at":"2016-12-19 16:43:55 UTC","ancestry":null,"parent_id":null,"parent_name":null,"id":6,"name":"Test
|
872
|
South","title":"Test South","users":[],"smart_proxies":[],"subnets":[],"compute_resources":[],"media":[],"config_templates":[{"id":7,"name":"Alterator
|
873
|
default","template_kind_id":5,"template_kind_name":"provision"},{"id":8,"name":"Alterator
|
874
|
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":9,"name":"Alterator
|
875
|
default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":41,"name":"alterator_pkglist","template_kind_id":null,"template_kind_name":null},{"id":10,"name":"Atomic
|
876
|
Kickstart default","template_kind_id":5,"template_kind_name":"provision"},{"id":11,"name":"AutoYaST
|
877
|
default","template_kind_id":5,"template_kind_name":"provision"},{"id":14,"name":"AutoYaST
|
878
|
default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":13,"name":"AutoYaST
|
879
|
default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":12,"name":"AutoYaST
|
880
|
SLES default","template_kind_id":5,"template_kind_name":"provision"},{"id":72,"name":"Boot
|
881
|
disk iPXE - generic host","template_kind_id":1,"template_kind_name":"Bootdisk"},{"id":71,"name":"Boot
|
882
|
disk iPXE - host","template_kind_id":1,"template_kind_name":"Bootdisk"},{"id":42,"name":"chef_client","template_kind_id":null,"template_kind_name":null},{"id":43,"name":"coreos_cloudconfig","template_kind_id":null,"template_kind_name":null},{"id":15,"name":"CoreOS
|
883
|
provision","template_kind_id":5,"template_kind_name":"provision"},{"id":16,"name":"CoreOS
|
884
|
PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":73,"name":"Discovery
|
885
|
Red Hat kexec","template_kind_id":11,"template_kind_name":"kexec"},{"id":44,"name":"epel","template_kind_id":null,"template_kind_name":null},{"id":45,"name":"fix_hosts","template_kind_id":null,"template_kind_name":null},{"id":17,"name":"FreeBSD
|
886
|
(mfsBSD) finish","template_kind_id":6,"template_kind_name":"finish"},{"id":18,"name":"FreeBSD
|
887
|
(mfsBSD) provision","template_kind_id":5,"template_kind_name":"provision"},{"id":19,"name":"FreeBSD
|
888
|
(mfsBSD) PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":46,"name":"freeipa_register","template_kind_id":null,"template_kind_name":null},{"id":20,"name":"Grubby
|
889
|
default","template_kind_id":7,"template_kind_name":"script"},{"id":47,"name":"http_proxy","template_kind_id":null,"template_kind_name":null},{"id":89,"name":"idm_register","template_kind_id":null,"template_kind_name":null},{"id":21,"name":"Jumpstart
|
890
|
default","template_kind_id":5,"template_kind_name":"provision"},{"id":22,"name":"Jumpstart
|
891
|
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":23,"name":"Jumpstart
|
892
|
default PXEGrub","template_kind_id":3,"template_kind_name":"PXEGrub"},{"id":39,"name":"Junos
|
893
|
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":37,"name":"Junos
|
894
|
default SLAX","template_kind_id":5,"template_kind_name":"provision"},{"id":38,"name":"Junos
|
895
|
default ZTP config","template_kind_id":9,"template_kind_name":"ZTP"},{"id":26,"name":"Kickstart
|
896
|
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":28,"name":"Kickstart
|
897
|
default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":27,"name":"Kickstart
|
898
|
default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":29,"name":"Kickstart
|
899
|
default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":48,"name":"kickstart_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":40,"name":"NX-OS
|
900
|
default POAP setup","template_kind_id":10,"template_kind_name":"POAP"},{"id":30,"name":"Preseed
|
901
|
default","template_kind_id":5,"template_kind_name":"provision"},{"id":31,"name":"Preseed
|
902
|
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":33,"name":"Preseed
|
903
|
default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":32,"name":"Preseed
|
904
|
default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":34,"name":"Preseed
|
905
|
default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":49,"name":"preseed_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":50,"name":"puppet.conf","template_kind_id":null,"template_kind_name":null},{"id":4,"name":"PXEGrub
|
906
|
default local boot","template_kind_id":3,"template_kind_name":"PXEGrub"},{"id":5,"name":"PXELinux
|
907
|
chain iPXE","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":6,"name":"PXELinux
|
908
|
chain iPXE UNDI","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":2,"name":"PXELinux
|
909
|
default local boot","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":3,"name":"PXELinux
|
910
|
default memdisk","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":1,"name":"PXELinux
|
911
|
global default","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":51,"name":"redhat_register","template_kind_id":null,"template_kind_name":null},{"id":52,"name":"remote_execution_ssh_keys","template_kind_id":null,"template_kind_name":null},{"id":53,"name":"saltstack_minion","template_kind_id":null,"template_kind_name":null},{"id":90,"name":"Satellite
|
912
|
Atomic Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":86,"name":"Satellite
|
913
|
Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":88,"name":"Satellite
|
914
|
Kickstart Default Finish","template_kind_id":6,"template_kind_name":"finish"},{"id":87,"name":"Satellite
|
915
|
Kickstart Default User Data","template_kind_id":8,"template_kind_name":"user_data"},{"id":69,"name":"subscription_manager_registration","template_kind_id":null,"template_kind_name":null},{"id":35,"name":"UserData
|
916
|
default","template_kind_id":8,"template_kind_name":"user_data"},{"id":36,"name":"WAIK
|
917
|
default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"}],"ptables":[{"os_family":"Suse","created_at":"2016-12-07
|
918
|
03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"AutoYaST entire
|
919
|
SCSI disk","id":54},{"os_family":"Suse","created_at":"2016-12-07 03:03:57
|
920
|
UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"AutoYaST entire virtual
|
921
|
disk","id":55},{"os_family":"Suse","created_at":"2016-12-07 03:03:57 UTC","updated_at":"2016-12-07
|
922
|
03:03:57 UTC","name":"AutoYaST LVM","id":56},{"os_family":"Coreos","created_at":"2016-12-07
|
923
|
03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"CoreOS default
|
924
|
fake","id":57},{"os_family":"Freebsd","created_at":"2016-12-07 03:03:57 UTC","updated_at":"2016-12-07
|
925
|
03:03:57 UTC","name":"FreeBSD","id":58},{"os_family":"Solaris","created_at":"2016-12-07
|
926
|
03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"Jumpstart default","id":59},{"os_family":"Solaris","created_at":"2016-12-07
|
927
|
03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"Jumpstart mirrored","id":60},{"os_family":"Junos","created_at":"2016-12-07
|
928
|
03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"Junos default
|
929
|
fake","id":64},{"os_family":"Redhat","created_at":"2016-12-07 03:03:57 UTC","updated_at":"2016-12-07
|
930
|
03:03:57 UTC","name":"Kickstart default","id":61},{"os_family":"NXOS","created_at":"2016-12-07
|
931
|
03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"NX-OS default
|
932
|
fake","id":65},{"os_family":"Debian","created_at":"2016-12-07 03:03:57 UTC","updated_at":"2016-12-07
|
933
|
03:03:57 UTC","name":"Preseed custom LVM","id":63},{"os_family":"Debian","created_at":"2016-12-07
|
934
|
03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"Preseed default","id":62}],"provisioning_templates":[{"id":7,"name":"Alterator
|
935
|
default","template_kind_id":5,"template_kind_name":"provision"},{"id":8,"name":"Alterator
|
936
|
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":9,"name":"Alterator
|
937
|
default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":41,"name":"alterator_pkglist","template_kind_id":null,"template_kind_name":null},{"id":10,"name":"Atomic
|
938
|
Kickstart default","template_kind_id":5,"template_kind_name":"provision"},{"id":11,"name":"AutoYaST
|
939
|
default","template_kind_id":5,"template_kind_name":"provision"},{"id":14,"name":"AutoYaST
|
940
|
default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":13,"name":"AutoYaST
|
941
|
default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":12,"name":"AutoYaST
|
942
|
SLES default","template_kind_id":5,"template_kind_name":"provision"},{"id":72,"name":"Boot
|
943
|
disk iPXE - generic host","template_kind_id":1,"template_kind_name":"Bootdisk"},{"id":71,"name":"Boot
|
944
|
disk iPXE - host","template_kind_id":1,"template_kind_name":"Bootdisk"},{"id":42,"name":"chef_client","template_kind_id":null,"template_kind_name":null},{"id":43,"name":"coreos_cloudconfig","template_kind_id":null,"template_kind_name":null},{"id":15,"name":"CoreOS
|
945
|
provision","template_kind_id":5,"template_kind_name":"provision"},{"id":16,"name":"CoreOS
|
946
|
PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":73,"name":"Discovery
|
947
|
Red Hat kexec","template_kind_id":11,"template_kind_name":"kexec"},{"id":44,"name":"epel","template_kind_id":null,"template_kind_name":null},{"id":45,"name":"fix_hosts","template_kind_id":null,"template_kind_name":null},{"id":17,"name":"FreeBSD
|
948
|
(mfsBSD) finish","template_kind_id":6,"template_kind_name":"finish"},{"id":18,"name":"FreeBSD
|
949
|
(mfsBSD) provision","template_kind_id":5,"template_kind_name":"provision"},{"id":19,"name":"FreeBSD
|
950
|
(mfsBSD) PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":46,"name":"freeipa_register","template_kind_id":null,"template_kind_name":null},{"id":20,"name":"Grubby
|
951
|
default","template_kind_id":7,"template_kind_name":"script"},{"id":47,"name":"http_proxy","template_kind_id":null,"template_kind_name":null},{"id":89,"name":"idm_register","template_kind_id":null,"template_kind_name":null},{"id":21,"name":"Jumpstart
|
952
|
default","template_kind_id":5,"template_kind_name":"provision"},{"id":22,"name":"Jumpstart
|
953
|
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":23,"name":"Jumpstart
|
954
|
default PXEGrub","template_kind_id":3,"template_kind_name":"PXEGrub"},{"id":39,"name":"Junos
|
955
|
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":37,"name":"Junos
|
956
|
default SLAX","template_kind_id":5,"template_kind_name":"provision"},{"id":38,"name":"Junos
|
957
|
default ZTP config","template_kind_id":9,"template_kind_name":"ZTP"},{"id":26,"name":"Kickstart
|
958
|
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":28,"name":"Kickstart
|
959
|
default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":27,"name":"Kickstart
|
960
|
default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":29,"name":"Kickstart
|
961
|
default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":48,"name":"kickstart_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":40,"name":"NX-OS
|
962
|
default POAP setup","template_kind_id":10,"template_kind_name":"POAP"},{"id":30,"name":"Preseed
|
963
|
default","template_kind_id":5,"template_kind_name":"provision"},{"id":31,"name":"Preseed
|
964
|
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":33,"name":"Preseed
|
965
|
default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":32,"name":"Preseed
|
966
|
default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":34,"name":"Preseed
|
967
|
default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":49,"name":"preseed_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":50,"name":"puppet.conf","template_kind_id":null,"template_kind_name":null},{"id":4,"name":"PXEGrub
|
968
|
default local boot","template_kind_id":3,"template_kind_name":"PXEGrub"},{"id":5,"name":"PXELinux
|
969
|
chain iPXE","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":6,"name":"PXELinux
|
970
|
chain iPXE UNDI","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":2,"name":"PXELinux
|
971
|
default local boot","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":3,"name":"PXELinux
|
972
|
default memdisk","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":1,"name":"PXELinux
|
973
|
global default","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":51,"name":"redhat_register","template_kind_id":null,"template_kind_name":null},{"id":52,"name":"remote_execution_ssh_keys","template_kind_id":null,"template_kind_name":null},{"id":53,"name":"saltstack_minion","template_kind_id":null,"template_kind_name":null},{"id":90,"name":"Satellite
|
974
|
Atomic Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":86,"name":"Satellite
|
975
|
Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":88,"name":"Satellite
|
976
|
Kickstart Default Finish","template_kind_id":6,"template_kind_name":"finish"},{"id":87,"name":"Satellite
|
977
|
Kickstart Default User Data","template_kind_id":8,"template_kind_name":"user_data"},{"id":69,"name":"subscription_manager_registration","template_kind_id":null,"template_kind_name":null},{"id":35,"name":"UserData
|
978
|
default","template_kind_id":8,"template_kind_name":"user_data"},{"id":36,"name":"WAIK
|
979
|
default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"}],"domains":[],"realms":[],"environments":[],"hostgroups":[],"organizations":[],"parameters":[]}'
|
980
|
http_version:
|
981
|
recorded_at: Mon, 19 Dec 2016 16:43:39 GMT
|
982
|
- request:
|
983
|
method: put
|
984
|
uri: https://admin:changeme@satlap.example.com/api/locations/7
|
985
|
body:
|
986
|
encoding: UTF-8
|
987
|
string: '{"location":{"parent_id":null}}'
|
988
|
headers:
|
989
|
Accept:
|
990
|
- application/json;version=2
|
991
|
Accept-Encoding:
|
992
|
- gzip, deflate
|
993
|
User-Agent:
|
994
|
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
|
995
|
Content-Type:
|
996
|
- application/json
|
997
|
Accept-Language:
|
998
|
- en
|
999
|
Content-Length:
|
1000
|
- '31'
|
1001
|
Host:
|
1002
|
- satlap.example.com
|
1003
|
response:
|
1004
|
status:
|
1005
|
code: 200
|
1006
|
message: OK
|
1007
|
headers:
|
1008
|
Date:
|
1009
|
- Mon, 19 Dec 2016 16:43:55 GMT
|
1010
|
Server:
|
1011
|
- Apache/2.4.6 (Red Hat Enterprise Linux)
|
1012
|
X-Frame-Options:
|
1013
|
- SAMEORIGIN
|
1014
|
X-Xss-Protection:
|
1015
|
- 1; mode=block
|
1016
|
X-Content-Type-Options:
|
1017
|
- nosniff
|
1018
|
Foreman-Version:
|
1019
|
- 1.11.0.61
|
1020
|
Foreman-Api-Version:
|
1021
|
- '2'
|
1022
|
Apipie-Checksum:
|
1023
|
- 9793fd9909c89b81479655ed560c4340
|
1024
|
Cache-Control:
|
1025
|
- max-age=0, private, must-revalidate
|
1026
|
X-Request-Id:
|
1027
|
- f636d660-4cff-4088-97c8-f829f7ba0e19
|
1028
|
X-Runtime:
|
1029
|
- '0.278466'
|
1030
|
X-Powered-By:
|
1031
|
- Phusion Passenger 4.0.18
|
1032
|
Set-Cookie:
|
1033
|
- _session_id=34e3f1a83565423d9705dc8ae5af693c; path=/; secure; HttpOnly
|
1034
|
- request_method=PUT; path=/
|
1035
|
Etag:
|
1036
|
- '"a7b72b23dd13cf7724ed8a7fbd84ba25-gzip"'
|
1037
|
Status:
|
1038
|
- 200 OK
|
1039
|
Vary:
|
1040
|
- Accept-Encoding
|
1041
|
Content-Length:
|
1042
|
- '13283'
|
1043
|
Content-Type:
|
1044
|
- application/json; charset=utf-8
|
1045
|
body:
|
1046
|
encoding: ASCII-8BIT
|
1047
|
string: '{"select_all_types":["ProvisioningTemplate","Hostgroup"],"description":null,"created_at":"2016-12-13
|
1048
|
10:58:25 UTC","updated_at":"2016-12-19 16:43:55 UTC","ancestry":null,"parent_id":null,"parent_name":null,"id":7,"name":"Test
|
1049
|
West","title":"Test West","users":[],"smart_proxies":[],"subnets":[],"compute_resources":[],"media":[],"config_templates":[{"id":7,"name":"Alterator
|
1050
|
default","template_kind_id":5,"template_kind_name":"provision"},{"id":8,"name":"Alterator
|
1051
|
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":9,"name":"Alterator
|
1052
|
default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":41,"name":"alterator_pkglist","template_kind_id":null,"template_kind_name":null},{"id":10,"name":"Atomic
|
1053
|
Kickstart default","template_kind_id":5,"template_kind_name":"provision"},{"id":11,"name":"AutoYaST
|
1054
|
default","template_kind_id":5,"template_kind_name":"provision"},{"id":14,"name":"AutoYaST
|
1055
|
default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":13,"name":"AutoYaST
|
1056
|
default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":12,"name":"AutoYaST
|
1057
|
SLES default","template_kind_id":5,"template_kind_name":"provision"},{"id":72,"name":"Boot
|
1058
|
disk iPXE - generic host","template_kind_id":1,"template_kind_name":"Bootdisk"},{"id":71,"name":"Boot
|
1059
|
disk iPXE - host","template_kind_id":1,"template_kind_name":"Bootdisk"},{"id":42,"name":"chef_client","template_kind_id":null,"template_kind_name":null},{"id":43,"name":"coreos_cloudconfig","template_kind_id":null,"template_kind_name":null},{"id":15,"name":"CoreOS
|
1060
|
provision","template_kind_id":5,"template_kind_name":"provision"},{"id":16,"name":"CoreOS
|
1061
|
PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":73,"name":"Discovery
|
1062
|
Red Hat kexec","template_kind_id":11,"template_kind_name":"kexec"},{"id":44,"name":"epel","template_kind_id":null,"template_kind_name":null},{"id":45,"name":"fix_hosts","template_kind_id":null,"template_kind_name":null},{"id":17,"name":"FreeBSD
|
1063
|
(mfsBSD) finish","template_kind_id":6,"template_kind_name":"finish"},{"id":18,"name":"FreeBSD
|
1064
|
(mfsBSD) provision","template_kind_id":5,"template_kind_name":"provision"},{"id":19,"name":"FreeBSD
|
1065
|
(mfsBSD) PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":46,"name":"freeipa_register","template_kind_id":null,"template_kind_name":null},{"id":20,"name":"Grubby
|
1066
|
default","template_kind_id":7,"template_kind_name":"script"},{"id":47,"name":"http_proxy","template_kind_id":null,"template_kind_name":null},{"id":89,"name":"idm_register","template_kind_id":null,"template_kind_name":null},{"id":21,"name":"Jumpstart
|
1067
|
default","template_kind_id":5,"template_kind_name":"provision"},{"id":22,"name":"Jumpstart
|
1068
|
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":23,"name":"Jumpstart
|
1069
|
default PXEGrub","template_kind_id":3,"template_kind_name":"PXEGrub"},{"id":39,"name":"Junos
|
1070
|
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":37,"name":"Junos
|
1071
|
default SLAX","template_kind_id":5,"template_kind_name":"provision"},{"id":38,"name":"Junos
|
1072
|
default ZTP config","template_kind_id":9,"template_kind_name":"ZTP"},{"id":26,"name":"Kickstart
|
1073
|
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":28,"name":"Kickstart
|
1074
|
default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":27,"name":"Kickstart
|
1075
|
default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":29,"name":"Kickstart
|
1076
|
default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":48,"name":"kickstart_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":40,"name":"NX-OS
|
1077
|
default POAP setup","template_kind_id":10,"template_kind_name":"POAP"},{"id":30,"name":"Preseed
|
1078
|
default","template_kind_id":5,"template_kind_name":"provision"},{"id":31,"name":"Preseed
|
1079
|
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":33,"name":"Preseed
|
1080
|
default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":32,"name":"Preseed
|
1081
|
default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":34,"name":"Preseed
|
1082
|
default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":49,"name":"preseed_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":50,"name":"puppet.conf","template_kind_id":null,"template_kind_name":null},{"id":4,"name":"PXEGrub
|
1083
|
default local boot","template_kind_id":3,"template_kind_name":"PXEGrub"},{"id":5,"name":"PXELinux
|
1084
|
chain iPXE","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":6,"name":"PXELinux
|
1085
|
chain iPXE UNDI","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":2,"name":"PXELinux
|
1086
|
default local boot","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":3,"name":"PXELinux
|
1087
|
default memdisk","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":1,"name":"PXELinux
|
1088
|
global default","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":51,"name":"redhat_register","template_kind_id":null,"template_kind_name":null},{"id":52,"name":"remote_execution_ssh_keys","template_kind_id":null,"template_kind_name":null},{"id":53,"name":"saltstack_minion","template_kind_id":null,"template_kind_name":null},{"id":90,"name":"Satellite
|
1089
|
Atomic Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":86,"name":"Satellite
|
1090
|
Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":88,"name":"Satellite
|
1091
|
Kickstart Default Finish","template_kind_id":6,"template_kind_name":"finish"},{"id":87,"name":"Satellite
|
1092
|
Kickstart Default User Data","template_kind_id":8,"template_kind_name":"user_data"},{"id":69,"name":"subscription_manager_registration","template_kind_id":null,"template_kind_name":null},{"id":35,"name":"UserData
|
1093
|
default","template_kind_id":8,"template_kind_name":"user_data"},{"id":36,"name":"WAIK
|
1094
|
default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"}],"ptables":[{"os_family":"Suse","created_at":"2016-12-07
|
1095
|
03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"AutoYaST entire
|
1096
|
SCSI disk","id":54},{"os_family":"Suse","created_at":"2016-12-07 03:03:57
|
1097
|
UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"AutoYaST entire virtual
|
1098
|
disk","id":55},{"os_family":"Suse","created_at":"2016-12-07 03:03:57 UTC","updated_at":"2016-12-07
|
1099
|
03:03:57 UTC","name":"AutoYaST LVM","id":56},{"os_family":"Coreos","created_at":"2016-12-07
|
1100
|
03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"CoreOS default
|
1101
|
fake","id":57},{"os_family":"Freebsd","created_at":"2016-12-07 03:03:57 UTC","updated_at":"2016-12-07
|
1102
|
03:03:57 UTC","name":"FreeBSD","id":58},{"os_family":"Solaris","created_at":"2016-12-07
|
1103
|
03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"Jumpstart default","id":59},{"os_family":"Solaris","created_at":"2016-12-07
|
1104
|
03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"Jumpstart mirrored","id":60},{"os_family":"Junos","created_at":"2016-12-07
|
1105
|
03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"Junos default
|
1106
|
fake","id":64},{"os_family":"Redhat","created_at":"2016-12-07 03:03:57 UTC","updated_at":"2016-12-07
|
1107
|
03:03:57 UTC","name":"Kickstart default","id":61},{"os_family":"NXOS","created_at":"2016-12-07
|
1108
|
03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"NX-OS default
|
1109
|
fake","id":65},{"os_family":"Debian","created_at":"2016-12-07 03:03:57 UTC","updated_at":"2016-12-07
|
1110
|
03:03:57 UTC","name":"Preseed custom LVM","id":63},{"os_family":"Debian","created_at":"2016-12-07
|
1111
|
03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"Preseed default","id":62}],"provisioning_templates":[{"id":7,"name":"Alterator
|
1112
|
default","template_kind_id":5,"template_kind_name":"provision"},{"id":8,"name":"Alterator
|
1113
|
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":9,"name":"Alterator
|
1114
|
default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":41,"name":"alterator_pkglist","template_kind_id":null,"template_kind_name":null},{"id":10,"name":"Atomic
|
1115
|
Kickstart default","template_kind_id":5,"template_kind_name":"provision"},{"id":11,"name":"AutoYaST
|
1116
|
default","template_kind_id":5,"template_kind_name":"provision"},{"id":14,"name":"AutoYaST
|
1117
|
default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":13,"name":"AutoYaST
|
1118
|
default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":12,"name":"AutoYaST
|
1119
|
SLES default","template_kind_id":5,"template_kind_name":"provision"},{"id":72,"name":"Boot
|
1120
|
disk iPXE - generic host","template_kind_id":1,"template_kind_name":"Bootdisk"},{"id":71,"name":"Boot
|
1121
|
disk iPXE - host","template_kind_id":1,"template_kind_name":"Bootdisk"},{"id":42,"name":"chef_client","template_kind_id":null,"template_kind_name":null},{"id":43,"name":"coreos_cloudconfig","template_kind_id":null,"template_kind_name":null},{"id":15,"name":"CoreOS
|
1122
|
provision","template_kind_id":5,"template_kind_name":"provision"},{"id":16,"name":"CoreOS
|
1123
|
PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":73,"name":"Discovery
|
1124
|
Red Hat kexec","template_kind_id":11,"template_kind_name":"kexec"},{"id":44,"name":"epel","template_kind_id":null,"template_kind_name":null},{"id":45,"name":"fix_hosts","template_kind_id":null,"template_kind_name":null},{"id":17,"name":"FreeBSD
|
1125
|
(mfsBSD) finish","template_kind_id":6,"template_kind_name":"finish"},{"id":18,"name":"FreeBSD
|
1126
|
(mfsBSD) provision","template_kind_id":5,"template_kind_name":"provision"},{"id":19,"name":"FreeBSD
|
1127
|
(mfsBSD) PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":46,"name":"freeipa_register","template_kind_id":null,"template_kind_name":null},{"id":20,"name":"Grubby
|
1128
|
default","template_kind_id":7,"template_kind_name":"script"},{"id":47,"name":"http_proxy","template_kind_id":null,"template_kind_name":null},{"id":89,"name":"idm_register","template_kind_id":null,"template_kind_name":null},{"id":21,"name":"Jumpstart
|
1129
|
default","template_kind_id":5,"template_kind_name":"provision"},{"id":22,"name":"Jumpstart
|
1130
|
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":23,"name":"Jumpstart
|
1131
|
default PXEGrub","template_kind_id":3,"template_kind_name":"PXEGrub"},{"id":39,"name":"Junos
|
1132
|
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":37,"name":"Junos
|
1133
|
default SLAX","template_kind_id":5,"template_kind_name":"provision"},{"id":38,"name":"Junos
|
1134
|
default ZTP config","template_kind_id":9,"template_kind_name":"ZTP"},{"id":26,"name":"Kickstart
|
1135
|
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":28,"name":"Kickstart
|
1136
|
default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":27,"name":"Kickstart
|
1137
|
default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":29,"name":"Kickstart
|
1138
|
default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":48,"name":"kickstart_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":40,"name":"NX-OS
|
1139
|
default POAP setup","template_kind_id":10,"template_kind_name":"POAP"},{"id":30,"name":"Preseed
|
1140
|
default","template_kind_id":5,"template_kind_name":"provision"},{"id":31,"name":"Preseed
|
1141
|
default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":33,"name":"Preseed
|
1142
|
default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":32,"name":"Preseed
|
1143
|
default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":34,"name":"Preseed
|
1144
|
default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":49,"name":"preseed_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":50,"name":"puppet.conf","template_kind_id":null,"template_kind_name":null},{"id":4,"name":"PXEGrub
|
1145
|
default local boot","template_kind_id":3,"template_kind_name":"PXEGrub"},{"id":5,"name":"PXELinux
|
1146
|
chain iPXE","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":6,"name":"PXELinux
|
1147
|
chain iPXE UNDI","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":2,"name":"PXELinux
|
1148
|
default local boot","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":3,"name":"PXELinux
|
1149
|
default memdisk","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":1,"name":"PXELinux
|
1150
|
global default","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":51,"name":"redhat_register","template_kind_id":null,"template_kind_name":null},{"id":52,"name":"remote_execution_ssh_keys","template_kind_id":null,"template_kind_name":null},{"id":53,"name":"saltstack_minion","template_kind_id":null,"template_kind_name":null},{"id":90,"name":"Satellite
|
1151
|
Atomic Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":86,"name":"Satellite
|
1152
|
Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":88,"name":"Satellite
|
1153
|
Kickstart Default Finish","template_kind_id":6,"template_kind_name":"finish"},{"id":87,"name":"Satellite
|
1154
|
Kickstart Default User Data","template_kind_id":8,"template_kind_name":"user_data"},{"id":69,"name":"subscription_manager_registration","template_kind_id":null,"template_kind_name":null},{"id":35,"name":"UserData
|
1155
|
default","template_kind_id":8,"template_kind_name":"user_data"},{"id":36,"name":"WAIK
|
1156
|
default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"}],"domains":[],"realms":[],"environments":[],"hostgroups":[],"organizations":[],"parameters":[]}'
|
1157
|
http_version:
|
1158
|
recorded_at: Mon, 19 Dec 2016 16:43:39 GMT
|
1159
|
recorded_with: VCR 3.0.3
|