Project

General

Profile

Download (89.1 KB) Statistics
| Branch: | Tag: | Revision:

hammer-cli-csv / test / fixtures / vcr_cassettes / setup / setup_domains / setup.yml @ ff467024

1
---
2
http_interactions:
3
- request:
4
    method: put
5
    uri: https://admin:changeme@satlap.example.com/api/domains/2
6
    body:
7
      encoding: UTF-8
8
      string: '{"domain":{"name":"test.com","fullname":"","dns_id":null}}'
9
    headers:
10
      Accept:
11
      - application/json;version=2
12
      Accept-Encoding:
13
      - gzip, deflate
14
      User-Agent:
15
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
16
      Content-Type:
17
      - application/json
18
      Accept-Language:
19
      - en
20
      Content-Length:
21
      - '58'
22
      Host:
23
      - satlap.example.com
24
  response:
25
    status:
26
      code: 200
27
      message: OK
28
    headers:
29
      Date:
30
      - Mon, 19 Dec 2016 16:43:52 GMT
31
      Server:
32
      - Apache/2.4.6 (Red Hat Enterprise Linux)
33
      X-Frame-Options:
34
      - SAMEORIGIN
35
      X-Xss-Protection:
36
      - 1; mode=block
37
      X-Content-Type-Options:
38
      - nosniff
39
      Foreman-Version:
40
      - 1.11.0.61
41
      Foreman-Api-Version:
42
      - '2'
43
      Apipie-Checksum:
44
      - 9793fd9909c89b81479655ed560c4340
45
      Cache-Control:
46
      - max-age=0, private, must-revalidate
47
      X-Request-Id:
48
      - 9918dbb3-d98b-4dfa-b66b-54539d6801b2
49
      X-Runtime:
50
      - '0.063367'
51
      X-Powered-By:
52
      - Phusion Passenger 4.0.18
53
      Set-Cookie:
54
      - _session_id=467d53ea331d8a1cbc7c2442d032e945; path=/; secure; HttpOnly
55
      - request_method=PUT; path=/
56
      Etag:
57
      - '"c4e5a74bd8e14093c1644355a0aa2140-gzip"'
58
      Status:
59
      - 200 OK
60
      Vary:
61
      - Accept-Encoding
62
      Content-Length:
63
      - '390'
64
      Content-Type:
65
      - application/json; charset=utf-8
66
    body:
67
      encoding: ASCII-8BIT
68
      string: '{"fullname":"","dns_id":null,"created_at":"2016-12-13 10:58:23 UTC","updated_at":"2016-12-13
69
        10:58:23 UTC","id":2,"name":"test.com","subnets":[{"id":1,"name":"Test Subnet","network_address":"192.168.100.1/24"}],"parameters":[],"interfaces":[],"locations":[],"organizations":[{"id":8,"name":"Test
70
        Corporation","title":"Test Corporation","description":"Testing today for a
71
        better tomorrow"}]}'
72
    http_version: 
73
  recorded_at: Mon, 19 Dec 2016 16:43:35 GMT
74
- request:
75
    method: get
76
    uri: https://admin:changeme@satlap.example.com/katello/api/organizations/8
77
    body:
78
      encoding: US-ASCII
79
      string: ''
80
    headers:
81
      Accept:
82
      - application/json;version=2
83
      Accept-Encoding:
84
      - gzip, deflate
85
      User-Agent:
86
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
87
      Content-Type:
88
      - application/json
89
      Accept-Language:
90
      - en
91
      Host:
92
      - satlap.example.com
93
  response:
94
    status:
95
      code: 200
96
      message: OK
97
    headers:
98
      Date:
99
      - Mon, 19 Dec 2016 16:43:52 GMT
100
      Server:
101
      - Apache/2.4.6 (Red Hat Enterprise Linux)
102
      X-Frame-Options:
103
      - SAMEORIGIN
104
      X-Xss-Protection:
105
      - 1; mode=block
106
      X-Content-Type-Options:
107
      - nosniff
108
      Foreman-Version:
109
      - 1.11.0.61
110
      Foreman-Api-Version:
111
      - '2'
112
      Apipie-Checksum:
113
      - 9793fd9909c89b81479655ed560c4340
114
      Cache-Control:
115
      - max-age=0, private, must-revalidate
116
      X-Request-Id:
117
      - f4188605-12f2-40cb-9fff-99399ecd65a9
118
      X-Runtime:
119
      - '0.287047'
120
      X-Powered-By:
121
      - Phusion Passenger 4.0.18
122
      Set-Cookie:
123
      - _session_id=1c6de5ea1b8429040b8af4024ae70407; path=/; secure; HttpOnly
124
      Etag:
125
      - '"c0f22016708fafb7b2a32908bd8c1cde-gzip"'
126
      Status:
127
      - 200 OK
128
      Vary:
129
      - Accept-Encoding
130
      Content-Length:
131
      - '18746'
132
      Content-Type:
133
      - application/json; charset=utf-8
134
    body:
135
      encoding: ASCII-8BIT
136
      string: '{"label":"testcorp","owner_details":{"parentOwner":null,"id":"4028f99158f378890158f7d5665f03ed","key":"testcorp","displayName":"Test
137
        Corporation","contentPrefix":"/testcorp/$env","defaultServiceLevel":null,"upstreamConsumer":{"id":"4028f99159040819015917f7360505fe","uuid":"d45ac754-56e8-425e-a6ef-2028953f6f2c","name":"TestCorp","idCert":{"key":"-----BEGIN
138
        RSA PRIVATE KEY-----\nMIIEowIBAAKCAQEAnR41trDH6LJ4Tobp73rsvM7Sl+nMItXNW7HSjhKQg78nFotM\naGRB9XS3z7wzKtunqIHcj38UwGBE01qLIO7aBXJHAeDiZVJdRaq03fcpQU3OywCw\nzjzfIRxYP8u5S1bjE60QXwv+ao0nbEYJ45EBmFybL6NJBcATsvPTadRzy236kk0h\nnOJl+IXXU+29eGjY7GWXjm+QYf//CHN+ngEh8g/sxSafDM6w7ZlPi9HJSaXK363R\n/nuy+4KqYE0MHa/7Iyb+HnyQEn/XTuFLJk3/EKr7gwxOVV2in6CQEeXLNuWek1Xt\nUzBDL/jPNoowFM18kmYBBg5/M3gqMX4eXBVfxQIDAQABAoIBAAeWduecv/rH67F3\nKIMNP7OalWcKvnYMNz+vZcjAssP6Dkwza/w6o0jUWzAoGZx/QSiNJPa1H25u98Px\nQnjTsCnFLBK2JpjYEnMT3Go/znk95be+D8vV+ryhns1t7EPsLUk8+WZtsNq6eGXt\nN/sKfLY7+q6hRxyE+y6QQeyBexoe4OnELeeb9KFxpE9H8TV67Ed9jqLbtXsR/8Nq\nWZW7ZYHBuvYuGHgZQWY9wWks3HW1ygC+y1BpfeYA9z85HH+t1x7mG8lOBoe0eV95\nhmHDwQInPPdBB20szGTRB2UjKmFCIGX/EYn/RJZvi/kxlpTzSLTiBDDUKqjAyWC/\ngdRhp/0CgYEA7qh1ng34FXTXYs0otOpCTrjnB17vdJb1SAc2kvWSQiCr9Gr5etGR\nDu7g6EAAvsV8HbQkcBmXyqnVuDhR0Ijt0UaldqGWbp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b3DQEBBQUAA4ICAQBp4djGKuE+NCfYE0Br3IlpKnrm\nCpDF8qs4/r9A/tr+PLLhDnRmzkygSJ7KsIUXYV8oW+QhU5fe2ggPaJFfynY2AVOc\nZHbwvHKoQoUUrVlZFkcwhWcL7vvTEJQUONaOOLUgAzGIdfAmBYPWBqbwf80croGh\nY5xBcNqRw3cxfi0joE+LY4brEW5vJF8DnxhEX0eIJtjas+zb3ckeUJgYIyirXdHJ\nqrAANWjUfh9JFehwjAigx6TnGK+pr+zpbKTX9O7lhmvsCf+82NVlZmY342IUE8Ss\npWjhsydl8NT80fGJV/1fwpgyos9EvpjayXh9bYxZhDkiHaUUL/WBInEdyi4xFJgf\nPXnaV+2q48/3oOVZa2Ng/vcaBG5nEZYvK+jTG205t9d9X9Tp46iH/mvyIH8VIF0H\np/OtIoRnGLjliYP0dHp91G4UTTEpg8Cxa77r77qlwASORsFF8MJGMKMJg/YNO7fQ\nCskpqb7UZfSXmvZ5AIZ/Kzncuj1IvZMLhjMr/QAwSO0/v/GnmSqLwMamM2viq8un\nef2TQy9Xcuxcp0n7mcDHUUaTpiW1tPc5ikUmCUQ2ZuNTjE6Noa0kSV3AHG3TbSkU\n+qT9B5RSL1YBAEw5xwttvjlju2jaYaYT6xI4LioXIVJ8lEwdrggxmqTj1ArgqP2c\nHAtS6vziTnwbP+sS3g==\n-----END
140
        CERTIFICATE-----\n","id":"4028f99159040819015917f7360405fd","serial":{"id":1876219475313738186,"revoked":false,"collected":false,"expiration":"2017-08-16T12:29:31.000+0000","serial":1876219475313738186,"created":"2016-12-19T16:43:14.305+0000","updated":"2016-12-19T16:43:14.305+0000"},"created":"2016-12-19T16:43:14.308+0000","updated":"2016-12-19T16:43:14.308+0000"},"type":{"id":"4028f99158d73c980158d7417b9c0005","label":"satellite","manifest":true,"created":"2016-12-07T03:09:02.748+0000","updated":"2016-12-07T03:09:02.748+0000"},"ownerId":"4028f99158f378890158f7d5665f03ed","webUrl":"access.stage.redhat.com/management/distributors/","apiUrl":"https://subscription.rhn.stage.redhat.com/subscription/consumers/","created":"2016-12-19T16:43:14.309+0000","updated":"2016-12-19T16:43:14.309+0000"},"logLevel":null,"autobindDisabled":null,"href":"/owners/testcorp","created":"2016-12-13T10:58:27.551+0000","updated":"2016-12-19T16:43:14.418+0000"},"redhat_repository_url":"https://cdn.redhat.com","service_levels":["Premium","Standard"],"service_level":null,"select_all_types":[],"description":"Testing
141
        today for a better tomorrow","created_at":"2016-12-13 10:58:26 UTC","updated_at":"2016-12-19
142
        16:42:44 UTC","ancestry":null,"parent_id":null,"parent_name":null,"id":8,"name":"Test
143
        Corporation","title":"Test Corporation","users":[],"smart_proxies":[{"name":"sat-rhel7.example.com","id":1,"url":"https://sat-rhel7.example.com:9090"}],"subnets":[{"id":1,"name":"Test
144
        Subnet","network_address":"192.168.100.1/24"}],"compute_resources":[],"media":[],"config_templates":[{"id":7,"name":"Alterator
145
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":8,"name":"Alterator
146
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":9,"name":"Alterator
147
        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
148
        Kickstart default","template_kind_id":5,"template_kind_name":"provision"},{"id":11,"name":"AutoYaST
149
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":14,"name":"AutoYaST
150
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":13,"name":"AutoYaST
151
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":12,"name":"AutoYaST
152
        SLES default","template_kind_id":5,"template_kind_name":"provision"},{"id":72,"name":"Boot
153
        disk iPXE - generic host","template_kind_id":1,"template_kind_name":"Bootdisk"},{"id":71,"name":"Boot
154
        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
155
        provision","template_kind_id":5,"template_kind_name":"provision"},{"id":16,"name":"CoreOS
156
        PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":73,"name":"Discovery
157
        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
158
        (mfsBSD) finish","template_kind_id":6,"template_kind_name":"finish"},{"id":18,"name":"FreeBSD
159
        (mfsBSD) provision","template_kind_id":5,"template_kind_name":"provision"},{"id":19,"name":"FreeBSD
160
        (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
161
        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
162
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":22,"name":"Jumpstart
163
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":23,"name":"Jumpstart
164
        default PXEGrub","template_kind_id":3,"template_kind_name":"PXEGrub"},{"id":39,"name":"Junos
165
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":37,"name":"Junos
166
        default SLAX","template_kind_id":5,"template_kind_name":"provision"},{"id":38,"name":"Junos
167
        default ZTP config","template_kind_id":9,"template_kind_name":"ZTP"},{"id":26,"name":"Kickstart
168
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":28,"name":"Kickstart
169
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":27,"name":"Kickstart
170
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":29,"name":"Kickstart
171
        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
172
        default POAP setup","template_kind_id":10,"template_kind_name":"POAP"},{"id":30,"name":"Preseed
173
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":31,"name":"Preseed
174
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":33,"name":"Preseed
175
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":32,"name":"Preseed
176
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":34,"name":"Preseed
177
        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
178
        default local boot","template_kind_id":3,"template_kind_name":"PXEGrub"},{"id":5,"name":"PXELinux
179
        chain iPXE","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":6,"name":"PXELinux
180
        chain iPXE UNDI","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":2,"name":"PXELinux
181
        default local boot","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":3,"name":"PXELinux
182
        default memdisk","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":1,"name":"PXELinux
183
        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
184
        Atomic Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":86,"name":"Satellite
185
        Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":88,"name":"Satellite
186
        Kickstart Default Finish","template_kind_id":6,"template_kind_name":"finish"},{"id":87,"name":"Satellite
187
        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
188
        default","template_kind_id":8,"template_kind_name":"user_data"},{"id":36,"name":"WAIK
189
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"}],"ptables":[{"os_family":"Suse","created_at":"2016-12-07
190
        03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"AutoYaST entire
191
        SCSI disk","id":54},{"os_family":"Suse","created_at":"2016-12-07 03:03:57
192
        UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"AutoYaST entire virtual
193
        disk","id":55},{"os_family":"Suse","created_at":"2016-12-07 03:03:57 UTC","updated_at":"2016-12-07
194
        03:03:57 UTC","name":"AutoYaST LVM","id":56},{"os_family":"Coreos","created_at":"2016-12-07
195
        03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"CoreOS default
196
        fake","id":57},{"os_family":"Freebsd","created_at":"2016-12-07 03:03:57 UTC","updated_at":"2016-12-07
197
        03:03:57 UTC","name":"FreeBSD","id":58},{"os_family":"Solaris","created_at":"2016-12-07
198
        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
199
        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
200
        03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"Junos default
201
        fake","id":64},{"os_family":"Redhat","created_at":"2016-12-07 03:03:57 UTC","updated_at":"2016-12-07
202
        03:03:57 UTC","name":"Kickstart default","id":61},{"os_family":"NXOS","created_at":"2016-12-07
203
        03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"NX-OS default
204
        fake","id":65},{"os_family":"Debian","created_at":"2016-12-07 03:03:57 UTC","updated_at":"2016-12-07
205
        03:03:57 UTC","name":"Preseed custom LVM","id":63},{"os_family":"Debian","created_at":"2016-12-07
206
        03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"Preseed default","id":62}],"provisioning_templates":[{"id":7,"name":"Alterator
207
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":8,"name":"Alterator
208
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":9,"name":"Alterator
209
        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
210
        Kickstart default","template_kind_id":5,"template_kind_name":"provision"},{"id":11,"name":"AutoYaST
211
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":14,"name":"AutoYaST
212
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":13,"name":"AutoYaST
213
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":12,"name":"AutoYaST
214
        SLES default","template_kind_id":5,"template_kind_name":"provision"},{"id":72,"name":"Boot
215
        disk iPXE - generic host","template_kind_id":1,"template_kind_name":"Bootdisk"},{"id":71,"name":"Boot
216
        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
217
        provision","template_kind_id":5,"template_kind_name":"provision"},{"id":16,"name":"CoreOS
218
        PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":73,"name":"Discovery
219
        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
220
        (mfsBSD) finish","template_kind_id":6,"template_kind_name":"finish"},{"id":18,"name":"FreeBSD
221
        (mfsBSD) provision","template_kind_id":5,"template_kind_name":"provision"},{"id":19,"name":"FreeBSD
222
        (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
223
        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
224
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":22,"name":"Jumpstart
225
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":23,"name":"Jumpstart
226
        default PXEGrub","template_kind_id":3,"template_kind_name":"PXEGrub"},{"id":39,"name":"Junos
227
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":37,"name":"Junos
228
        default SLAX","template_kind_id":5,"template_kind_name":"provision"},{"id":38,"name":"Junos
229
        default ZTP config","template_kind_id":9,"template_kind_name":"ZTP"},{"id":26,"name":"Kickstart
230
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":28,"name":"Kickstart
231
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":27,"name":"Kickstart
232
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":29,"name":"Kickstart
233
        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
234
        default POAP setup","template_kind_id":10,"template_kind_name":"POAP"},{"id":30,"name":"Preseed
235
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":31,"name":"Preseed
236
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":33,"name":"Preseed
237
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":32,"name":"Preseed
238
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":34,"name":"Preseed
239
        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
240
        default local boot","template_kind_id":3,"template_kind_name":"PXEGrub"},{"id":5,"name":"PXELinux
241
        chain iPXE","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":6,"name":"PXELinux
242
        chain iPXE UNDI","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":2,"name":"PXELinux
243
        default local boot","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":3,"name":"PXELinux
244
        default memdisk","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":1,"name":"PXELinux
245
        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
246
        Atomic Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":86,"name":"Satellite
247
        Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":88,"name":"Satellite
248
        Kickstart Default Finish","template_kind_id":6,"template_kind_name":"finish"},{"id":87,"name":"Satellite
249
        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
250
        default","template_kind_id":8,"template_kind_name":"user_data"},{"id":36,"name":"WAIK
251
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"}],"domains":[{"id":2,"name":"test.com"}],"realms":[],"environments":[],"hostgroups":[],"locations":[{"id":2,"name":"Default
252
        Location","title":"Default Location","description":null}],"parameters":[],"default_content_view_id":2,"library_id":2}'
253
    http_version: 
254
  recorded_at: Mon, 19 Dec 2016 16:43:36 GMT
255
- request:
256
    method: put
257
    uri: https://admin:changeme@satlap.example.com/katello/api/organizations/8
258
    body:
259
      encoding: UTF-8
260
      string: '{"organization":{"domain_ids":[2]}}'
261
    headers:
262
      Accept:
263
      - application/json;version=2
264
      Accept-Encoding:
265
      - gzip, deflate
266
      User-Agent:
267
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
268
      Content-Type:
269
      - application/json
270
      Accept-Language:
271
      - en
272
      Content-Length:
273
      - '35'
274
      Host:
275
      - satlap.example.com
276
  response:
277
    status:
278
      code: 200
279
      message: OK
280
    headers:
281
      Date:
282
      - Mon, 19 Dec 2016 16:43:52 GMT
283
      Server:
284
      - Apache/2.4.6 (Red Hat Enterprise Linux)
285
      X-Frame-Options:
286
      - SAMEORIGIN
287
      X-Xss-Protection:
288
      - 1; mode=block
289
      X-Content-Type-Options:
290
      - nosniff
291
      Foreman-Version:
292
      - 1.11.0.61
293
      Foreman-Api-Version:
294
      - '2'
295
      Apipie-Checksum:
296
      - 9793fd9909c89b81479655ed560c4340
297
      Cache-Control:
298
      - max-age=0, private, must-revalidate
299
      X-Request-Id:
300
      - 292a6db0-04b2-4947-bc83-5d030b06c5b7
301
      X-Runtime:
302
      - '0.349277'
303
      X-Powered-By:
304
      - Phusion Passenger 4.0.18
305
      Set-Cookie:
306
      - _session_id=ad2e4d4bd7553ae28b135e8372851bcd; path=/; secure; HttpOnly
307
      - request_method=PUT; path=/
308
      Etag:
309
      - '"4ea0d498f88fab8b3056ca4a6e82c484-gzip"'
310
      Status:
311
      - 200 OK
312
      Vary:
313
      - Accept-Encoding
314
      Content-Length:
315
      - '13546'
316
      Content-Type:
317
      - application/json; charset=utf-8
318
    body:
319
      encoding: ASCII-8BIT
320
      string: '{"select_all_types":[],"description":"Testing today for a better tomorrow","created_at":"2016-12-13
321
        10:58:26 UTC","updated_at":"2016-12-19 16:43:52 UTC","ancestry":null,"parent_id":null,"parent_name":null,"id":8,"name":"Test
322
        Corporation","title":"Test Corporation","users":[],"smart_proxies":[{"name":"sat-rhel7.example.com","id":1,"url":"https://sat-rhel7.example.com:9090"}],"subnets":[{"id":1,"name":"Test
323
        Subnet","network_address":"192.168.100.1/24"}],"compute_resources":[],"media":[],"config_templates":[{"id":7,"name":"Alterator
324
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":8,"name":"Alterator
325
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":9,"name":"Alterator
326
        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
327
        Kickstart default","template_kind_id":5,"template_kind_name":"provision"},{"id":11,"name":"AutoYaST
328
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":14,"name":"AutoYaST
329
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":13,"name":"AutoYaST
330
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":12,"name":"AutoYaST
331
        SLES default","template_kind_id":5,"template_kind_name":"provision"},{"id":72,"name":"Boot
332
        disk iPXE - generic host","template_kind_id":1,"template_kind_name":"Bootdisk"},{"id":71,"name":"Boot
333
        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
334
        provision","template_kind_id":5,"template_kind_name":"provision"},{"id":16,"name":"CoreOS
335
        PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":73,"name":"Discovery
336
        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
337
        (mfsBSD) finish","template_kind_id":6,"template_kind_name":"finish"},{"id":18,"name":"FreeBSD
338
        (mfsBSD) provision","template_kind_id":5,"template_kind_name":"provision"},{"id":19,"name":"FreeBSD
339
        (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
340
        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
341
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":22,"name":"Jumpstart
342
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":23,"name":"Jumpstart
343
        default PXEGrub","template_kind_id":3,"template_kind_name":"PXEGrub"},{"id":39,"name":"Junos
344
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":37,"name":"Junos
345
        default SLAX","template_kind_id":5,"template_kind_name":"provision"},{"id":38,"name":"Junos
346
        default ZTP config","template_kind_id":9,"template_kind_name":"ZTP"},{"id":26,"name":"Kickstart
347
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":28,"name":"Kickstart
348
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":27,"name":"Kickstart
349
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":29,"name":"Kickstart
350
        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
351
        default POAP setup","template_kind_id":10,"template_kind_name":"POAP"},{"id":30,"name":"Preseed
352
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":31,"name":"Preseed
353
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":33,"name":"Preseed
354
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":32,"name":"Preseed
355
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":34,"name":"Preseed
356
        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
357
        default local boot","template_kind_id":3,"template_kind_name":"PXEGrub"},{"id":5,"name":"PXELinux
358
        chain iPXE","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":6,"name":"PXELinux
359
        chain iPXE UNDI","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":2,"name":"PXELinux
360
        default local boot","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":3,"name":"PXELinux
361
        default memdisk","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":1,"name":"PXELinux
362
        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
363
        Atomic Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":86,"name":"Satellite
364
        Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":88,"name":"Satellite
365
        Kickstart Default Finish","template_kind_id":6,"template_kind_name":"finish"},{"id":87,"name":"Satellite
366
        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
367
        default","template_kind_id":8,"template_kind_name":"user_data"},{"id":36,"name":"WAIK
368
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"}],"ptables":[{"os_family":"Suse","created_at":"2016-12-07
369
        03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"AutoYaST entire
370
        SCSI disk","id":54},{"os_family":"Suse","created_at":"2016-12-07 03:03:57
371
        UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"AutoYaST entire virtual
372
        disk","id":55},{"os_family":"Suse","created_at":"2016-12-07 03:03:57 UTC","updated_at":"2016-12-07
373
        03:03:57 UTC","name":"AutoYaST LVM","id":56},{"os_family":"Coreos","created_at":"2016-12-07
374
        03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"CoreOS default
375
        fake","id":57},{"os_family":"Freebsd","created_at":"2016-12-07 03:03:57 UTC","updated_at":"2016-12-07
376
        03:03:57 UTC","name":"FreeBSD","id":58},{"os_family":"Solaris","created_at":"2016-12-07
377
        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
378
        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
379
        03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"Junos default
380
        fake","id":64},{"os_family":"Redhat","created_at":"2016-12-07 03:03:57 UTC","updated_at":"2016-12-07
381
        03:03:57 UTC","name":"Kickstart default","id":61},{"os_family":"NXOS","created_at":"2016-12-07
382
        03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"NX-OS default
383
        fake","id":65},{"os_family":"Debian","created_at":"2016-12-07 03:03:57 UTC","updated_at":"2016-12-07
384
        03:03:57 UTC","name":"Preseed custom LVM","id":63},{"os_family":"Debian","created_at":"2016-12-07
385
        03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"Preseed default","id":62}],"provisioning_templates":[{"id":7,"name":"Alterator
386
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":8,"name":"Alterator
387
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":9,"name":"Alterator
388
        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
389
        Kickstart default","template_kind_id":5,"template_kind_name":"provision"},{"id":11,"name":"AutoYaST
390
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":14,"name":"AutoYaST
391
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":13,"name":"AutoYaST
392
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":12,"name":"AutoYaST
393
        SLES default","template_kind_id":5,"template_kind_name":"provision"},{"id":72,"name":"Boot
394
        disk iPXE - generic host","template_kind_id":1,"template_kind_name":"Bootdisk"},{"id":71,"name":"Boot
395
        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
396
        provision","template_kind_id":5,"template_kind_name":"provision"},{"id":16,"name":"CoreOS
397
        PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":73,"name":"Discovery
398
        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
399
        (mfsBSD) finish","template_kind_id":6,"template_kind_name":"finish"},{"id":18,"name":"FreeBSD
400
        (mfsBSD) provision","template_kind_id":5,"template_kind_name":"provision"},{"id":19,"name":"FreeBSD
401
        (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
402
        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
403
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":22,"name":"Jumpstart
404
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":23,"name":"Jumpstart
405
        default PXEGrub","template_kind_id":3,"template_kind_name":"PXEGrub"},{"id":39,"name":"Junos
406
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":37,"name":"Junos
407
        default SLAX","template_kind_id":5,"template_kind_name":"provision"},{"id":38,"name":"Junos
408
        default ZTP config","template_kind_id":9,"template_kind_name":"ZTP"},{"id":26,"name":"Kickstart
409
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":28,"name":"Kickstart
410
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":27,"name":"Kickstart
411
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":29,"name":"Kickstart
412
        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
413
        default POAP setup","template_kind_id":10,"template_kind_name":"POAP"},{"id":30,"name":"Preseed
414
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":31,"name":"Preseed
415
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":33,"name":"Preseed
416
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":32,"name":"Preseed
417
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":34,"name":"Preseed
418
        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
419
        default local boot","template_kind_id":3,"template_kind_name":"PXEGrub"},{"id":5,"name":"PXELinux
420
        chain iPXE","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":6,"name":"PXELinux
421
        chain iPXE UNDI","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":2,"name":"PXELinux
422
        default local boot","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":3,"name":"PXELinux
423
        default memdisk","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":1,"name":"PXELinux
424
        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
425
        Atomic Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":86,"name":"Satellite
426
        Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":88,"name":"Satellite
427
        Kickstart Default Finish","template_kind_id":6,"template_kind_name":"finish"},{"id":87,"name":"Satellite
428
        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
429
        default","template_kind_id":8,"template_kind_name":"user_data"},{"id":36,"name":"WAIK
430
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"}],"domains":[{"id":2,"name":"test.com"}],"realms":[],"environments":[],"hostgroups":[],"locations":[{"id":2,"name":"Default
431
        Location","title":"Default Location","description":null}],"parameters":[]}'
432
    http_version: 
433
  recorded_at: Mon, 19 Dec 2016 16:43:36 GMT
434
- request:
435
    method: get
436
    uri: https://admin:changeme@devel.example.com:50083/api/status
437
    body:
438
      encoding: US-ASCII
439
      string: ''
440
    headers:
441
      Accept-Encoding:
442
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
443
      Accept:
444
      - "*/*"
445
      User-Agent:
446
      - Ruby
447
      Host:
448
      - devel.example.com:50083
449
  response:
450
    status:
451
      code: 200
452
      message: OK
453
    headers:
454
      Date:
455
      - Mon, 27 Mar 2017 18:36:46 GMT
456
      Server:
457
      - Apache/2.4.6 (Red Hat Enterprise Linux)
458
      X-Frame-Options:
459
      - SAMEORIGIN
460
      X-Xss-Protection:
461
      - 1; mode=block
462
      X-Content-Type-Options:
463
      - nosniff
464
      Foreman-Version:
465
      - 1.11.0.54
466
      Foreman-Api-Version:
467
      - '2'
468
      Apipie-Checksum:
469
      - e1df2e8d43e22495b02a53b48e3b5298
470
      Cache-Control:
471
      - max-age=0, private, must-revalidate
472
      X-Request-Id:
473
      - c13c0aa6-f761-48fc-952d-39e4ba55633b
474
      X-Runtime:
475
      - '0.069668'
476
      X-Powered-By:
477
      - Phusion Passenger 4.0.18
478
      Etag:
479
      - '"8e3341d0a4cc328651f7391aed11fef8"'
480
      Status:
481
      - 200 OK
482
      Content-Length:
483
      - '66'
484
      Content-Type:
485
      - application/json; charset=utf-8
486
      Set-Cookie:
487
      - _session_id=4c9fccbc97d786fb817c4b6bf2570e28; path=/; secure; HttpOnly
488
    body:
489
      encoding: UTF-8
490
      string: '{"result":"ok","status":200,"version":"1.11.0.54","api_version":2}'
491
    http_version: 
492
  recorded_at: Mon, 27 Mar 2017 18:36:52 GMT
493
- request:
494
    method: get
495
    uri: https://admin:changeme@devel.example.com:50083/api/v2/plugins
496
    body:
497
      encoding: US-ASCII
498
      string: ''
499
    headers:
500
      Accept-Encoding:
501
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
502
      Accept:
503
      - "*/*"
504
      User-Agent:
505
      - Ruby
506
      Host:
507
      - devel.example.com:50083
508
  response:
509
    status:
510
      code: 200
511
      message: OK
512
    headers:
513
      Date:
514
      - Mon, 27 Mar 2017 18:36:46 GMT
515
      Server:
516
      - Apache/2.4.6 (Red Hat Enterprise Linux)
517
      X-Frame-Options:
518
      - SAMEORIGIN
519
      X-Xss-Protection:
520
      - 1; mode=block
521
      X-Content-Type-Options:
522
      - nosniff
523
      Foreman-Version:
524
      - 1.11.0.54
525
      Foreman-Api-Version:
526
      - '2'
527
      Apipie-Checksum:
528
      - e1df2e8d43e22495b02a53b48e3b5298
529
      Cache-Control:
530
      - max-age=0, private, must-revalidate
531
      X-Request-Id:
532
      - 8c5d43ce-6a83-482d-a9b0-eb117d3dafc4
533
      X-Runtime:
534
      - '0.070312'
535
      X-Powered-By:
536
      - Phusion Passenger 4.0.18
537
      Etag:
538
      - '"077fb42a553a8a1a1bbf6262a2cc79ec-gzip"'
539
      Status:
540
      - 200 OK
541
      Vary:
542
      - Accept-Encoding
543
      Content-Length:
544
      - '1338'
545
      Content-Type:
546
      - application/json; charset=utf-8
547
      Set-Cookie:
548
      - _session_id=d3f197cf5dc9dfb82efd4394d400fcc5; path=/; secure; HttpOnly
549
    body:
550
      encoding: ASCII-8BIT
551
      string: !binary |-
552
        ewogICJ0b3RhbCI6IDEwLAogICJzdWJ0b3RhbCI6IDEwLAogICJwYWdlIjog
553
        MSwKICAicGVyX3BhZ2UiOiAyMCwKICAic2VhcmNoIjogbnVsbCwKICAic29y
554
        dCI6IHsKICAgICJieSI6IG51bGwsCiAgICAib3JkZXIiOiBudWxsCiAgfSwK
555
        ICAicmVzdWx0cyI6IFt7ImlkIjoiZm9yZW1hbi10YXNrcyIsIm5hbWUiOiJm
556
        b3JlbWFuLXRhc2tzIiwiYXV0aG9yIjoiSXZhbiBOZcSNYXMiLCJkZXNjcmlw
557
        dGlvbiI6IlRoZSBnb2FsIG9mIHRoaXMgcGx1Z2luIGlzIHRvIHVuaWZ5IHRo
558
        ZSB3YXkgb2Ygc2hvd2luZyB0YXNrIHN0YXR1c2VzIGFjcm9zcyB0aGUgRm9y
559
        ZW1hbiBpbnN0YW5jZS5cbkl0IGRlZmluZXMgVGFzayBtb2RlbCBmb3Iga2Vl
560
        cGluZyB0aGUgaW5mb3JtYXRpb24gYWJvdXQgdGhlIHRhc2tzIGFuZCBMb2Nr
561
        IGZvciBhc3NpZ25pbmcgdGhlIHRhc2tzXG50byByZXNvdXJjZXMuIFRoZSBs
562
        b2NraW5nIGFsbG93cyBkZWFsaW5nIHdpdGggcHJldmVudGluZyBtdWx0aXBs
563
        ZSBjb2xsaWRpbmcgdGFza3MgdG8gYmUgcnVuIG9uIHRoZVxuc2FtZSByZXNv
564
        dXJjZS4gSXQgYWxzbyBvcHRpb25hbGx5IHByb3ZpZGVzIER5bmZsb3cgaW5m
565
        cmFzdHJ1Y3R1cmUgZm9yIHVzaW5nIGl0IGZvciBtYW5hZ2luZyB0aGUgdGFz
566
        a3MuXG4iLCJ1cmwiOiJodHRwczovL2dpdGh1Yi5jb20vdGhlZm9yZW1hbi9m
567
        b3JlbWFuLXRhc2tzIiwidmVyc2lvbiI6IjAuNy4xNC45In0seyJpZCI6ImZv
568
        cmVtYW5fYm9vdGRpc2siLCJuYW1lIjoiZm9yZW1hbl9ib290ZGlzayIsImF1
569
        dGhvciI6IkRvbWluaWMgQ2xlYWwiLCJkZXNjcmlwdGlvbiI6IlBsdWdpbiBm
570
        b3IgRm9yZW1hbiB0aGF0IGNyZWF0ZXMgaVBYRS1iYXNlZCBib290IGRpc2tz
571
        IHRvIHByb3Zpc2lvbiBob3N0cyB3aXRob3V0IHRoZSBuZWVkIGZvciBQWEUg
572
        aW5mcmFzdHJ1Y3R1cmUuIiwidXJsIjoiaHR0cDovL2dpdGh1Yi5jb20vdGhl
573
        Zm9yZW1hbi9mb3JlbWFuX2Jvb3RkaXNrIiwidmVyc2lvbiI6IjYuMS4wLjMi
574
        fSx7ImlkIjoiZm9yZW1hbl9kaXNjb3ZlcnkiLCJuYW1lIjoiZm9yZW1hbl9k
575
        aXNjb3ZlcnkiLCJhdXRob3IiOiJBbW9zIEJlbmFyaSxCcnlhbiBLZWFybmV5
576
        LENoYWlybWFuVHViZUFtcCxEYW5pZWwgTG9iYXRvIEdhcmPDrWEsRG9taW5p
577
        YyBDbGVhbCxFcmljIEQuIEhlbG1zLEZyYW5rIFdhbGwsR3JlZyBTdXRjbGlm
578
        ZmUsSW1yaSBadmlrLEpvc2VwaCBNaXRjaGVsbCBNYWdlbixMdWthcyBaYXBs
579
        ZXRhbCxMdWvDocWhIFphcGxldGFsLE1hcmVrIEh1bGFuLE1hcnRpbiBCYcSN
580
        b3Zza8O9LE1hdHQgSmFydmlzLE1pY2hhZWwgTW9sbCxOaWNrLE9oYWQgTGV2
581
        eSxPcmkgUmFiaW4sUGV0ciBDaGFsdXBhLFBoaXJpbmNlIFBoaWxpcCxTY3Vi
582
        YWZsb3lkLFNobG9taSBaYWRvayxTdGVwaGVuIEJlbmphbWluLFlhbm4gQ8Op
583
        emFyZCIsImRlc2NyaXB0aW9uIjoiTWFhUyBEaXNjb3ZlcnkgUGx1Z2luIGVu
584
        Z2luZSBmb3IgRm9yZW1hbiIsInVybCI6Imh0dHA6Ly9naXRodWIuY29tL3Ro
585
        ZWZvcmVtYW4vZm9yZW1hbl9kaXNjb3ZlcnkiLCJ2ZXJzaW9uIjoiNS4wLjAu
586
        OSJ9LHsiaWQiOiJmb3JlbWFuX2RvY2tlciIsIm5hbWUiOiJmb3JlbWFuX2Rv
587
        Y2tlciIsImF1dGhvciI6IkRhbmllbCBMb2JhdG8sIEFtb3MgQmVuYXJpIiwi
588
        ZGVzY3JpcHRpb24iOiJQcm92aXNpb24gYW5kIG1hbmFnZSBEb2NrZXIgY29u
589
        dGFpbmVycyBhbmQgaW1hZ2VzIGZyb20gRm9yZW1hbi4iLCJ1cmwiOiJodHRw
590
        Oi8vZ2l0aHViLmNvbS90aGVmb3JlbWFuL2ZvcmVtYW4tZG9ja2VyIiwidmVy
591
        c2lvbiI6IjIuMC4xLjExIn0seyJpZCI6ImZvcmVtYW5faG9va3MiLCJuYW1l
592
        IjoiZm9yZW1hbl9ob29rcyIsImF1dGhvciI6IkRvbWluaWMgQ2xlYWwiLCJk
593
        ZXNjcmlwdGlvbiI6IlBsdWdpbiBlbmdpbmUgZm9yIEZvcmVtYW4gdGhhdCBl
594
        bmFibGVzIHJ1bm5pbmcgY3VzdG9tIGhvb2sgc2NyaXB0cyBvbiBGb3JlbWFu
595
        IGV2ZW50cyIsInVybCI6Imh0dHA6Ly9naXRodWIuY29tL3RoZWZvcmVtYW4v
596
        Zm9yZW1hbl9ob29rcyIsInZlcnNpb24iOiIwLjMuMTEifSx7ImlkIjoiZm9y
597
        ZW1hbl9vcGVuc2NhcCIsIm5hbWUiOiJmb3JlbWFuX29wZW5zY2FwIiwiYXV0
598
        aG9yIjoixaBpbW9uIEx1a2HFocOtayxTaGxvbWkgWmFkb2ssTWFyZWsgSHVs
599
        YW4sT25kcmVqIFByYXphayIsImRlc2NyaXB0aW9uIjoiRm9yZW1hbiBwbHVn
600
        LWluIGZvciBtYW5hZ2luZyBzZWN1cml0eSBjb21wbGlhbmNlIHJlcG9ydHMi
601
        LCJ1cmwiOiJodHRwczovL2dpdGh1Yi5jb20vT3BlblNDQVAvZm9yZW1hbl9v
602
        cGVuc2NhcCIsInZlcnNpb24iOiIwLjUuMy4xOCJ9LHsiaWQiOiJmb3JlbWFu
603
        X3JlbW90ZV9leGVjdXRpb24iLCJuYW1lIjoiZm9yZW1hbl9yZW1vdGVfZXhl
604
        Y3V0aW9uIiwiYXV0aG9yIjoiRm9yZW1hbiBSZW1vdGUgRXhlY3V0aW9uIHRl
605
        YW0iLCJkZXNjcmlwdGlvbiI6IkEgcGx1Z2luIGJyaW5naW5nIHJlbW90ZSBl
606
        eGVjdXRpb24gdG8gdGhlIEZvcmVtYW4sIGNvbXBsZXRpbmcgdGhlIGNvbmZp
607
        ZyBtYW5hZ2VtZW50IGZ1bmN0aW9uYWxpdHkgd2l0aCByZW1vdGUgbWFuYWdl
608
        bWVudCBmdW5jdGlvbmFsaXR5LiIsInVybCI6Imh0dHBzOi8vZ2l0aHViLmNv
609
        bS90aGVmb3JlbWFuL2ZvcmVtYW5fcmVtb3RlX2V4ZWN1dGlvbiIsInZlcnNp
610
        b24iOiIwLjMuMC4xMiJ9LHsiaWQiOiJmb3JlbWFuX3RoZW1lX3NhdGVsbGl0
611
        ZSIsIm5hbWUiOiJmb3JlbWFuX3RoZW1lX3NhdGVsbGl0ZSIsImF1dGhvciI6
612
        IkFsb24gR29sZGJvaW0sIFNoaW1vbiBTdGVpbiIsImRlc2NyaXB0aW9uIjoi
613
        VGhpcyBpcyBhIHBsdWdpbiB0aGF0IGVuYWJsZXMgYnVpbGRpbmcgYSB0aGVt
614
        ZSBmb3IgRm9yZW1hbi4iLCJ1cmwiOiJodHRwczovL2dpdGh1Yi5jb20vYWxv
615
        bmdvbGRib2ltL2ZvcmVtYW5fdGhlbWVfc2F0ZWxsaXRlIiwidmVyc2lvbiI6
616
        IjAuMS4zMyJ9LHsiaWQiOiJrYXRlbGxvIiwibmFtZSI6ImthdGVsbG8iLCJh
617
        dXRob3IiOiJOL0EiLCJkZXNjcmlwdGlvbiI6IkNvbnRlbnQgYW5kIFN1YnNj
618
        cmlwdGlvbiBNYW5hZ2VtZW50IHBsdWdpbiBmb3IgRm9yZW1hbiIsInVybCI6
619
        Imh0dHA6Ly93d3cua2F0ZWxsby5vcmciLCJ2ZXJzaW9uIjoiMy4wLjAuODIi
620
        fSx7ImlkIjoicmVkaGF0X2FjY2VzcyIsIm5hbWUiOiJyZWRoYXRfYWNjZXNz
621
        IiwiYXV0aG9yIjoiTGluZGFuaSBQaGlyaSIsImRlc2NyaXB0aW9uIjoiVGhp
622
        cyBwbHVnaW4gYWRkcyBSZWQgSGF0IEFjY2VzcyBrbm93bGVkZ2UgYmFzZSBz
623
        ZWFyY2gsIGNhc2UgbWFuYWdlbWVudCBhbmQgZGlhZ25vc3RpY3MgdG8gRm9y
624
        ZW1hbiIsInVybCI6Imh0dHA6Ly93d3cubHBoaXJpLnJlZGhhdC5jb20iLCJ2
625
        ZXJzaW9uIjoiMS4wLjEzIn1dCn0K
626
    http_version: 
627
  recorded_at: Mon, 27 Mar 2017 18:36:53 GMT
628
- request:
629
    method: get
630
    uri: https://admin:changeme@devel.example.com:50083/api/domains?per_page=999999
631
    body:
632
      encoding: US-ASCII
633
      string: ''
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
      Host:
646
      - devel.example.com:50083
647
  response:
648
    status:
649
      code: 200
650
      message: OK
651
    headers:
652
      Date:
653
      - Mon, 27 Mar 2017 18:36:46 GMT
654
      Server:
655
      - Apache/2.4.6 (Red Hat Enterprise Linux)
656
      X-Frame-Options:
657
      - SAMEORIGIN
658
      X-Xss-Protection:
659
      - 1; mode=block
660
      X-Content-Type-Options:
661
      - nosniff
662
      Foreman-Version:
663
      - 1.11.0.54
664
      Foreman-Api-Version:
665
      - '2'
666
      Apipie-Checksum:
667
      - e1df2e8d43e22495b02a53b48e3b5298
668
      Cache-Control:
669
      - max-age=0, private, must-revalidate
670
      X-Request-Id:
671
      - eecd66fe-c112-42c3-9f4b-43d23f352214
672
      X-Runtime:
673
      - '0.053927'
674
      X-Powered-By:
675
      - Phusion Passenger 4.0.18
676
      Etag:
677
      - '"5a187cdcbd3eaf736ba860036bd24426-gzip"'
678
      Status:
679
      - 200 OK
680
      Vary:
681
      - Accept-Encoding
682
      Content-Length:
683
      - '425'
684
      Content-Type:
685
      - application/json; charset=utf-8
686
      Set-Cookie:
687
      - _session_id=c32d8027aeda4bb149315b1aff479673; path=/; secure; HttpOnly
688
    body:
689
      encoding: ASCII-8BIT
690
      string: |
691
        {
692
          "total": 2,
693
          "subtotal": 2,
694
          "page": 1,
695
          "per_page": 999999,
696
          "search": null,
697
          "sort": {
698
            "by": null,
699
            "order": null
700
          },
701
          "results": [{"fullname":null,"dns_id":null,"created_at":"2016-12-01 19:52:10 UTC","updated_at":"2016-12-01 19:52:11 UTC","id":2,"name":"example.com"},{"fullname":"","dns_id":null,"created_at":"2016-12-01 19:37:20 UTC","updated_at":"2016-12-01 19:37:20 UTC","id":1,"name":"test.com"}]
702
        }
703
    http_version: 
704
  recorded_at: Mon, 27 Mar 2017 18:36:53 GMT
705
- request:
706
    method: put
707
    uri: https://admin:changeme@devel.example.com:50083/api/domains/1
708
    body:
709
      encoding: UTF-8
710
      string: '{"domain":{"name":"test.com","fullname":"","dns_id":null}}'
711
    headers:
712
      Accept:
713
      - application/json;version=2
714
      Accept-Encoding:
715
      - gzip, deflate
716
      User-Agent:
717
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
718
      Content-Type:
719
      - application/json
720
      Accept-Language:
721
      - en
722
      Content-Length:
723
      - '58'
724
      Host:
725
      - devel.example.com:50083
726
  response:
727
    status:
728
      code: 200
729
      message: OK
730
    headers:
731
      Date:
732
      - Mon, 27 Mar 2017 18:36:46 GMT
733
      Server:
734
      - Apache/2.4.6 (Red Hat Enterprise Linux)
735
      X-Frame-Options:
736
      - SAMEORIGIN
737
      X-Xss-Protection:
738
      - 1; mode=block
739
      X-Content-Type-Options:
740
      - nosniff
741
      Foreman-Version:
742
      - 1.11.0.54
743
      Foreman-Api-Version:
744
      - '2'
745
      Apipie-Checksum:
746
      - e1df2e8d43e22495b02a53b48e3b5298
747
      Cache-Control:
748
      - max-age=0, private, must-revalidate
749
      X-Request-Id:
750
      - 7aeefae1-05b1-4f0c-972f-abbad351f1bd
751
      X-Runtime:
752
      - '0.050653'
753
      X-Powered-By:
754
      - Phusion Passenger 4.0.18
755
      Etag:
756
      - '"92b3cab549a587e9a0ad537e5e9c556e-gzip"'
757
      Status:
758
      - 200 OK
759
      Vary:
760
      - Accept-Encoding
761
      Content-Length:
762
      - '390'
763
      Content-Type:
764
      - application/json; charset=utf-8
765
      Set-Cookie:
766
      - _session_id=0d4e2b6edbb7302526dbe08f1d8881d5; path=/; secure; HttpOnly
767
      - request_method=PUT; path=/
768
    body:
769
      encoding: ASCII-8BIT
770
      string: '{"fullname":"","dns_id":null,"created_at":"2016-12-01 19:37:20 UTC","updated_at":"2016-12-01
771
        19:37:20 UTC","id":1,"name":"test.com","subnets":[{"id":1,"name":"Test Subnet","network_address":"192.168.100.1/24"}],"parameters":[],"interfaces":[],"locations":[],"organizations":[{"id":3,"name":"Test
772
        Corporation","title":"Test Corporation","description":"Testing today for a
773
        better tomorrow"}]}'
774
    http_version: 
775
  recorded_at: Mon, 27 Mar 2017 18:36:53 GMT
776
- request:
777
    method: get
778
    uri: https://admin:changeme@devel.example.com:50083/katello/api/organizations?per_page=999999&search=name=%22Test%20Corporation%22
779
    body:
780
      encoding: US-ASCII
781
      string: ''
782
    headers:
783
      Accept:
784
      - application/json;version=2
785
      Accept-Encoding:
786
      - gzip, deflate
787
      User-Agent:
788
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
789
      Content-Type:
790
      - application/json
791
      Accept-Language:
792
      - en
793
      Host:
794
      - devel.example.com:50083
795
  response:
796
    status:
797
      code: 200
798
      message: OK
799
    headers:
800
      Date:
801
      - Mon, 27 Mar 2017 18:36:47 GMT
802
      Server:
803
      - Apache/2.4.6 (Red Hat Enterprise Linux)
804
      X-Frame-Options:
805
      - SAMEORIGIN
806
      X-Xss-Protection:
807
      - 1; mode=block
808
      X-Content-Type-Options:
809
      - nosniff
810
      Foreman-Version:
811
      - 1.11.0.54
812
      Foreman-Api-Version:
813
      - '2'
814
      Apipie-Checksum:
815
      - e1df2e8d43e22495b02a53b48e3b5298
816
      Cache-Control:
817
      - max-age=0, private, must-revalidate
818
      X-Request-Id:
819
      - 96d6311c-b1bc-4f37-b20c-afeb72a05093
820
      X-Runtime:
821
      - '0.040575'
822
      X-Powered-By:
823
      - Phusion Passenger 4.0.18
824
      Etag:
825
      - '"889d59438c9dbada3bd3c0b258f7a13e-gzip"'
826
      Status:
827
      - 200 OK
828
      Vary:
829
      - Accept-Encoding
830
      Content-Length:
831
      - '388'
832
      Content-Type:
833
      - application/json; charset=utf-8
834
      Set-Cookie:
835
      - _session_id=841f5ee50fd1aab206854da9fe1667ab; path=/; secure; HttpOnly
836
    body:
837
      encoding: ASCII-8BIT
838
      string: |
839
        {
840
          "total": 2,
841
          "subtotal": 1,
842
          "page": 1,
843
          "per_page": 999999,
844
          "search": "name=\"Test Corporation\"",
845
          "sort": {
846
            "by": null,
847
            "order": null
848
          },
849
          "results": [{"label":"testcorp","created_at":"2016-12-01 19:35:26 UTC","updated_at":"2017-03-27 18:36:07 UTC","id":3,"name":"Test Corporation","title":"Test Corporation","description":"Testing today for a better tomorrow"}]
850
        }
851
    http_version: 
852
  recorded_at: Mon, 27 Mar 2017 18:36:53 GMT
853
- request:
854
    method: get
855
    uri: https://admin:changeme@devel.example.com:50083/katello/api/organizations/3
856
    body:
857
      encoding: US-ASCII
858
      string: ''
859
    headers:
860
      Accept:
861
      - application/json;version=2
862
      Accept-Encoding:
863
      - gzip, deflate
864
      User-Agent:
865
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
866
      Content-Type:
867
      - application/json
868
      Accept-Language:
869
      - en
870
      Host:
871
      - devel.example.com:50083
872
  response:
873
    status:
874
      code: 200
875
      message: OK
876
    headers:
877
      Date:
878
      - Mon, 27 Mar 2017 18:36:47 GMT
879
      Server:
880
      - Apache/2.4.6 (Red Hat Enterprise Linux)
881
      X-Frame-Options:
882
      - SAMEORIGIN
883
      X-Xss-Protection:
884
      - 1; mode=block
885
      X-Content-Type-Options:
886
      - nosniff
887
      Foreman-Version:
888
      - 1.11.0.54
889
      Foreman-Api-Version:
890
      - '2'
891
      Apipie-Checksum:
892
      - e1df2e8d43e22495b02a53b48e3b5298
893
      Cache-Control:
894
      - max-age=0, private, must-revalidate
895
      X-Request-Id:
896
      - 5ad11bc3-1d07-41f0-86cb-24999d55cf62
897
      X-Runtime:
898
      - '0.261658'
899
      X-Powered-By:
900
      - Phusion Passenger 4.0.18
901
      Etag:
902
      - '"59f6586e838416a2cf4b717e2a99a0a5-gzip"'
903
      Status:
904
      - 200 OK
905
      Vary:
906
      - Accept-Encoding
907
      Content-Length:
908
      - '18738'
909
      Content-Type:
910
      - application/json; charset=utf-8
911
      Set-Cookie:
912
      - _session_id=383528da76af559e88d72b2337de9d08; path=/; secure; HttpOnly
913
    body:
914
      encoding: ASCII-8BIT
915
      string: '{"label":"testcorp","owner_details":{"parentOwner":null,"id":"ff80808158bbd8b50158bbe26aef03c2","key":"testcorp","displayName":"Test
916
        Corporation","contentPrefix":"/testcorp/$env","defaultServiceLevel":null,"upstreamConsumer":{"id":"ff8080815adcc9a9015b110dee040e16","uuid":"d45ac754-56e8-425e-a6ef-2028953f6f2c","name":"TestCorp","idCert":{"key":"-----BEGIN
917
        RSA PRIVATE KEY-----\nMIIEowIBAAKCAQEAnR41trDH6LJ4Tobp73rsvM7Sl+nMItXNW7HSjhKQg78nFotM\naGRB9XS3z7wzKtunqIHcj38UwGBE01qLIO7aBXJHAeDiZVJdRaq03fcpQU3OywCw\nzjzfIRxYP8u5S1bjE60QXwv+ao0nbE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YvK+jTG205t9d9X9Tp46iH/mvyIH8VIF0H\np/OtIoRnGLjliYP0dHp91G4UTTEpg8Cxa77r77qlwASORsFF8MJGMKMJg/YNO7fQ\nCskpqb7UZfSXmvZ5AIZ/Kzncuj1IvZMLhjMr/QAwSO0/v/GnmSqLwMamM2viq8un\nef2TQy9Xcuxcp0n7mcDHUUaTpiW1tPc5ikUmCUQ2ZuNTjE6Noa0kSV3AHG3TbSkU\n+qT9B5RSL1YBAEw5xwttvjlju2jaYaYT6xI4LioXIVJ8lEwdrggxmqTj1ArgqP2c\nHAtS6vziTnwbP+sS3g==\n-----END
919
        CERTIFICATE-----\n","id":"ff8080815adcc9a9015b110dee030e15","serial":{"id":5127225549835794800,"revoked":false,"collected":false,"expiration":"2017-08-16T12:29:31.000+0000","serial":5127225549835794800,"created":"2017-03-27T18:36:17.281+0000","updated":"2017-03-27T18:36:17.281+0000"},"created":"2017-03-27T18:36:17.283+0000","updated":"2017-03-27T18:36:17.283+0000"},"type":{"id":"ff80808158bbd8b50158bbe1c9960003","label":"satellite","manifest":true,"created":"2016-12-01T19:34:46.422+0000","updated":"2016-12-01T19:34:46.422+0000"},"ownerId":"ff80808158bbd8b50158bbe26aef03c2","webUrl":"access.stage.redhat.com/management/distributors/","apiUrl":"https://subscription.rhn.stage.redhat.com/subscription/consumers/","created":"2017-03-27T18:36:17.284+0000","updated":"2017-03-27T18:36:17.284+0000"},"logLevel":null,"autobindDisabled":null,"href":"/owners/testcorp","created":"2016-12-01T19:35:27.727+0000","updated":"2017-03-27T18:36:17.390+0000"},"redhat_repository_url":"https://cdn.redhat.com","service_levels":["Premium","Standard"],"service_level":null,"select_all_types":[],"description":"Testing
920
        today for a better tomorrow","created_at":"2016-12-01 19:35:26 UTC","updated_at":"2017-03-27
921
        18:36:07 UTC","ancestry":null,"parent_id":null,"parent_name":null,"id":3,"name":"Test
922
        Corporation","title":"Test Corporation","users":[],"smart_proxies":[{"name":"sat62.example.com","id":1,"url":"https://sat62.example.com:9090"}],"subnets":[{"id":1,"name":"Test
923
        Subnet","network_address":"192.168.100.1/24"}],"compute_resources":[],"media":[],"config_templates":[{"id":7,"name":"Alterator
924
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":8,"name":"Alterator
925
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":9,"name":"Alterator
926
        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
927
        Kickstart default","template_kind_id":5,"template_kind_name":"provision"},{"id":11,"name":"AutoYaST
928
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":14,"name":"AutoYaST
929
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":13,"name":"AutoYaST
930
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":12,"name":"AutoYaST
931
        SLES default","template_kind_id":5,"template_kind_name":"provision"},{"id":72,"name":"Boot
932
        disk iPXE - generic host","template_kind_id":1,"template_kind_name":"Bootdisk"},{"id":71,"name":"Boot
933
        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
934
        provision","template_kind_id":5,"template_kind_name":"provision"},{"id":16,"name":"CoreOS
935
        PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":73,"name":"Discovery
936
        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
937
        (mfsBSD) finish","template_kind_id":6,"template_kind_name":"finish"},{"id":18,"name":"FreeBSD
938
        (mfsBSD) provision","template_kind_id":5,"template_kind_name":"provision"},{"id":19,"name":"FreeBSD
939
        (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
940
        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
941
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":22,"name":"Jumpstart
942
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":23,"name":"Jumpstart
943
        default PXEGrub","template_kind_id":3,"template_kind_name":"PXEGrub"},{"id":39,"name":"Junos
944
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":37,"name":"Junos
945
        default SLAX","template_kind_id":5,"template_kind_name":"provision"},{"id":38,"name":"Junos
946
        default ZTP config","template_kind_id":9,"template_kind_name":"ZTP"},{"id":26,"name":"Kickstart
947
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":28,"name":"Kickstart
948
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":27,"name":"Kickstart
949
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":29,"name":"Kickstart
950
        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
951
        default POAP setup","template_kind_id":10,"template_kind_name":"POAP"},{"id":30,"name":"Preseed
952
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":31,"name":"Preseed
953
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":33,"name":"Preseed
954
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":32,"name":"Preseed
955
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":34,"name":"Preseed
956
        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
957
        default local boot","template_kind_id":3,"template_kind_name":"PXEGrub"},{"id":5,"name":"PXELinux
958
        chain iPXE","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":6,"name":"PXELinux
959
        chain iPXE UNDI","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":2,"name":"PXELinux
960
        default local boot","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":3,"name":"PXELinux
961
        default memdisk","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":1,"name":"PXELinux
962
        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
963
        Atomic Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":86,"name":"Satellite
964
        Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":88,"name":"Satellite
965
        Kickstart Default Finish","template_kind_id":6,"template_kind_name":"finish"},{"id":87,"name":"Satellite
966
        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
967
        default","template_kind_id":8,"template_kind_name":"user_data"},{"id":36,"name":"WAIK
968
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"}],"ptables":[{"os_family":"Suse","created_at":"2016-12-01
969
        19:25:07 UTC","updated_at":"2016-12-01 19:25:07 UTC","name":"AutoYaST entire
970
        SCSI disk","id":54},{"os_family":"Suse","created_at":"2016-12-01 19:25:07
971
        UTC","updated_at":"2016-12-01 19:25:07 UTC","name":"AutoYaST entire virtual
972
        disk","id":55},{"os_family":"Suse","created_at":"2016-12-01 19:25:07 UTC","updated_at":"2016-12-01
973
        19:25:07 UTC","name":"AutoYaST LVM","id":56},{"os_family":"Coreos","created_at":"2016-12-01
974
        19:25:07 UTC","updated_at":"2016-12-01 19:25:07 UTC","name":"CoreOS default
975
        fake","id":57},{"os_family":"Freebsd","created_at":"2016-12-01 19:25:07 UTC","updated_at":"2016-12-01
976
        19:25:07 UTC","name":"FreeBSD","id":58},{"os_family":"Solaris","created_at":"2016-12-01
977
        19:25:07 UTC","updated_at":"2016-12-01 19:25:07 UTC","name":"Jumpstart default","id":59},{"os_family":"Solaris","created_at":"2016-12-01
978
        19:25:08 UTC","updated_at":"2016-12-01 19:25:08 UTC","name":"Jumpstart mirrored","id":60},{"os_family":"Junos","created_at":"2016-12-01
979
        19:25:08 UTC","updated_at":"2016-12-01 19:25:08 UTC","name":"Junos default
980
        fake","id":64},{"os_family":"Redhat","created_at":"2016-12-01 19:25:08 UTC","updated_at":"2016-12-01
981
        19:25:08 UTC","name":"Kickstart default","id":61},{"os_family":"NXOS","created_at":"2016-12-01
982
        19:25:08 UTC","updated_at":"2016-12-01 19:25:08 UTC","name":"NX-OS default
983
        fake","id":65},{"os_family":"Debian","created_at":"2016-12-01 19:25:08 UTC","updated_at":"2016-12-01
984
        19:25:08 UTC","name":"Preseed custom LVM","id":63},{"os_family":"Debian","created_at":"2016-12-01
985
        19:25:08 UTC","updated_at":"2016-12-01 19:25:08 UTC","name":"Preseed default","id":62}],"provisioning_templates":[{"id":7,"name":"Alterator
986
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":8,"name":"Alterator
987
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":9,"name":"Alterator
988
        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
989
        Kickstart default","template_kind_id":5,"template_kind_name":"provision"},{"id":11,"name":"AutoYaST
990
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":14,"name":"AutoYaST
991
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":13,"name":"AutoYaST
992
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":12,"name":"AutoYaST
993
        SLES default","template_kind_id":5,"template_kind_name":"provision"},{"id":72,"name":"Boot
994
        disk iPXE - generic host","template_kind_id":1,"template_kind_name":"Bootdisk"},{"id":71,"name":"Boot
995
        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
996
        provision","template_kind_id":5,"template_kind_name":"provision"},{"id":16,"name":"CoreOS
997
        PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":73,"name":"Discovery
998
        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
999
        (mfsBSD) finish","template_kind_id":6,"template_kind_name":"finish"},{"id":18,"name":"FreeBSD
1000
        (mfsBSD) provision","template_kind_id":5,"template_kind_name":"provision"},{"id":19,"name":"FreeBSD
1001
        (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
1002
        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
1003
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":22,"name":"Jumpstart
1004
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":23,"name":"Jumpstart
1005
        default PXEGrub","template_kind_id":3,"template_kind_name":"PXEGrub"},{"id":39,"name":"Junos
1006
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":37,"name":"Junos
1007
        default SLAX","template_kind_id":5,"template_kind_name":"provision"},{"id":38,"name":"Junos
1008
        default ZTP config","template_kind_id":9,"template_kind_name":"ZTP"},{"id":26,"name":"Kickstart
1009
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":28,"name":"Kickstart
1010
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":27,"name":"Kickstart
1011
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":29,"name":"Kickstart
1012
        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
1013
        default POAP setup","template_kind_id":10,"template_kind_name":"POAP"},{"id":30,"name":"Preseed
1014
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":31,"name":"Preseed
1015
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":33,"name":"Preseed
1016
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":32,"name":"Preseed
1017
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":34,"name":"Preseed
1018
        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
1019
        default local boot","template_kind_id":3,"template_kind_name":"PXEGrub"},{"id":5,"name":"PXELinux
1020
        chain iPXE","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":6,"name":"PXELinux
1021
        chain iPXE UNDI","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":2,"name":"PXELinux
1022
        default local boot","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":3,"name":"PXELinux
1023
        default memdisk","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":1,"name":"PXELinux
1024
        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
1025
        Atomic Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":86,"name":"Satellite
1026
        Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":88,"name":"Satellite
1027
        Kickstart Default Finish","template_kind_id":6,"template_kind_name":"finish"},{"id":87,"name":"Satellite
1028
        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
1029
        default","template_kind_id":8,"template_kind_name":"user_data"},{"id":36,"name":"WAIK
1030
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"}],"domains":[{"id":1,"name":"test.com"}],"realms":[],"environments":[],"hostgroups":[],"locations":[{"id":2,"name":"Default
1031
        Location","title":"Default Location","description":null}],"parameters":[],"default_content_view_id":2,"library_id":2}'
1032
    http_version: 
1033
  recorded_at: Mon, 27 Mar 2017 18:36:53 GMT
1034
- request:
1035
    method: put
1036
    uri: https://admin:changeme@devel.example.com:50083/katello/api/organizations/3
1037
    body:
1038
      encoding: UTF-8
1039
      string: '{"organization":{"domain_ids":[1]}}'
1040
    headers:
1041
      Accept:
1042
      - application/json;version=2
1043
      Accept-Encoding:
1044
      - gzip, deflate
1045
      User-Agent:
1046
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
1047
      Content-Type:
1048
      - application/json
1049
      Accept-Language:
1050
      - en
1051
      Content-Length:
1052
      - '35'
1053
      Host:
1054
      - devel.example.com:50083
1055
  response:
1056
    status:
1057
      code: 200
1058
      message: OK
1059
    headers:
1060
      Date:
1061
      - Mon, 27 Mar 2017 18:36:47 GMT
1062
      Server:
1063
      - Apache/2.4.6 (Red Hat Enterprise Linux)
1064
      X-Frame-Options:
1065
      - SAMEORIGIN
1066
      X-Xss-Protection:
1067
      - 1; mode=block
1068
      X-Content-Type-Options:
1069
      - nosniff
1070
      Foreman-Version:
1071
      - 1.11.0.54
1072
      Foreman-Api-Version:
1073
      - '2'
1074
      Apipie-Checksum:
1075
      - e1df2e8d43e22495b02a53b48e3b5298
1076
      Cache-Control:
1077
      - max-age=0, private, must-revalidate
1078
      X-Request-Id:
1079
      - 2fcbe556-db36-42fd-80d0-e8f229577d85
1080
      X-Runtime:
1081
      - '0.347609'
1082
      X-Powered-By:
1083
      - Phusion Passenger 4.0.18
1084
      Etag:
1085
      - '"5c51c79f2bd94dd094734218d62eaede-gzip"'
1086
      Status:
1087
      - 200 OK
1088
      Vary:
1089
      - Accept-Encoding
1090
      Content-Length:
1091
      - '13538'
1092
      Content-Type:
1093
      - application/json; charset=utf-8
1094
      Set-Cookie:
1095
      - _session_id=0115419c7e7a3b8f952230b2143ce039; path=/; secure; HttpOnly
1096
      - request_method=PUT; path=/
1097
    body:
1098
      encoding: ASCII-8BIT
1099
      string: '{"select_all_types":[],"description":"Testing today for a better tomorrow","created_at":"2016-12-01
1100
        19:35:26 UTC","updated_at":"2017-03-27 18:36:47 UTC","ancestry":null,"parent_id":null,"parent_name":null,"id":3,"name":"Test
1101
        Corporation","title":"Test Corporation","users":[],"smart_proxies":[{"name":"sat62.example.com","id":1,"url":"https://sat62.example.com:9090"}],"subnets":[{"id":1,"name":"Test
1102
        Subnet","network_address":"192.168.100.1/24"}],"compute_resources":[],"media":[],"config_templates":[{"id":7,"name":"Alterator
1103
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":8,"name":"Alterator
1104
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":9,"name":"Alterator
1105
        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
1106
        Kickstart default","template_kind_id":5,"template_kind_name":"provision"},{"id":11,"name":"AutoYaST
1107
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":14,"name":"AutoYaST
1108
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":13,"name":"AutoYaST
1109
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":12,"name":"AutoYaST
1110
        SLES default","template_kind_id":5,"template_kind_name":"provision"},{"id":72,"name":"Boot
1111
        disk iPXE - generic host","template_kind_id":1,"template_kind_name":"Bootdisk"},{"id":71,"name":"Boot
1112
        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
1113
        provision","template_kind_id":5,"template_kind_name":"provision"},{"id":16,"name":"CoreOS
1114
        PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":73,"name":"Discovery
1115
        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
1116
        (mfsBSD) finish","template_kind_id":6,"template_kind_name":"finish"},{"id":18,"name":"FreeBSD
1117
        (mfsBSD) provision","template_kind_id":5,"template_kind_name":"provision"},{"id":19,"name":"FreeBSD
1118
        (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
1119
        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
1120
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":22,"name":"Jumpstart
1121
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":23,"name":"Jumpstart
1122
        default PXEGrub","template_kind_id":3,"template_kind_name":"PXEGrub"},{"id":39,"name":"Junos
1123
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":37,"name":"Junos
1124
        default SLAX","template_kind_id":5,"template_kind_name":"provision"},{"id":38,"name":"Junos
1125
        default ZTP config","template_kind_id":9,"template_kind_name":"ZTP"},{"id":26,"name":"Kickstart
1126
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":28,"name":"Kickstart
1127
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":27,"name":"Kickstart
1128
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":29,"name":"Kickstart
1129
        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
1130
        default POAP setup","template_kind_id":10,"template_kind_name":"POAP"},{"id":30,"name":"Preseed
1131
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":31,"name":"Preseed
1132
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":33,"name":"Preseed
1133
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":32,"name":"Preseed
1134
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":34,"name":"Preseed
1135
        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
1136
        default local boot","template_kind_id":3,"template_kind_name":"PXEGrub"},{"id":5,"name":"PXELinux
1137
        chain iPXE","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":6,"name":"PXELinux
1138
        chain iPXE UNDI","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":2,"name":"PXELinux
1139
        default local boot","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":3,"name":"PXELinux
1140
        default memdisk","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":1,"name":"PXELinux
1141
        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
1142
        Atomic Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":86,"name":"Satellite
1143
        Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":88,"name":"Satellite
1144
        Kickstart Default Finish","template_kind_id":6,"template_kind_name":"finish"},{"id":87,"name":"Satellite
1145
        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
1146
        default","template_kind_id":8,"template_kind_name":"user_data"},{"id":36,"name":"WAIK
1147
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"}],"ptables":[{"os_family":"Suse","created_at":"2016-12-01
1148
        19:25:07 UTC","updated_at":"2016-12-01 19:25:07 UTC","name":"AutoYaST entire
1149
        SCSI disk","id":54},{"os_family":"Suse","created_at":"2016-12-01 19:25:07
1150
        UTC","updated_at":"2016-12-01 19:25:07 UTC","name":"AutoYaST entire virtual
1151
        disk","id":55},{"os_family":"Suse","created_at":"2016-12-01 19:25:07 UTC","updated_at":"2016-12-01
1152
        19:25:07 UTC","name":"AutoYaST LVM","id":56},{"os_family":"Coreos","created_at":"2016-12-01
1153
        19:25:07 UTC","updated_at":"2016-12-01 19:25:07 UTC","name":"CoreOS default
1154
        fake","id":57},{"os_family":"Freebsd","created_at":"2016-12-01 19:25:07 UTC","updated_at":"2016-12-01
1155
        19:25:07 UTC","name":"FreeBSD","id":58},{"os_family":"Solaris","created_at":"2016-12-01
1156
        19:25:07 UTC","updated_at":"2016-12-01 19:25:07 UTC","name":"Jumpstart default","id":59},{"os_family":"Solaris","created_at":"2016-12-01
1157
        19:25:08 UTC","updated_at":"2016-12-01 19:25:08 UTC","name":"Jumpstart mirrored","id":60},{"os_family":"Junos","created_at":"2016-12-01
1158
        19:25:08 UTC","updated_at":"2016-12-01 19:25:08 UTC","name":"Junos default
1159
        fake","id":64},{"os_family":"Redhat","created_at":"2016-12-01 19:25:08 UTC","updated_at":"2016-12-01
1160
        19:25:08 UTC","name":"Kickstart default","id":61},{"os_family":"NXOS","created_at":"2016-12-01
1161
        19:25:08 UTC","updated_at":"2016-12-01 19:25:08 UTC","name":"NX-OS default
1162
        fake","id":65},{"os_family":"Debian","created_at":"2016-12-01 19:25:08 UTC","updated_at":"2016-12-01
1163
        19:25:08 UTC","name":"Preseed custom LVM","id":63},{"os_family":"Debian","created_at":"2016-12-01
1164
        19:25:08 UTC","updated_at":"2016-12-01 19:25:08 UTC","name":"Preseed default","id":62}],"provisioning_templates":[{"id":7,"name":"Alterator
1165
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":8,"name":"Alterator
1166
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":9,"name":"Alterator
1167
        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
1168
        Kickstart default","template_kind_id":5,"template_kind_name":"provision"},{"id":11,"name":"AutoYaST
1169
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":14,"name":"AutoYaST
1170
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":13,"name":"AutoYaST
1171
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":12,"name":"AutoYaST
1172
        SLES default","template_kind_id":5,"template_kind_name":"provision"},{"id":72,"name":"Boot
1173
        disk iPXE - generic host","template_kind_id":1,"template_kind_name":"Bootdisk"},{"id":71,"name":"Boot
1174
        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
1175
        provision","template_kind_id":5,"template_kind_name":"provision"},{"id":16,"name":"CoreOS
1176
        PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":73,"name":"Discovery
1177
        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
1178
        (mfsBSD) finish","template_kind_id":6,"template_kind_name":"finish"},{"id":18,"name":"FreeBSD
1179
        (mfsBSD) provision","template_kind_id":5,"template_kind_name":"provision"},{"id":19,"name":"FreeBSD
1180
        (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
1181
        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
1182
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":22,"name":"Jumpstart
1183
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":23,"name":"Jumpstart
1184
        default PXEGrub","template_kind_id":3,"template_kind_name":"PXEGrub"},{"id":39,"name":"Junos
1185
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":37,"name":"Junos
1186
        default SLAX","template_kind_id":5,"template_kind_name":"provision"},{"id":38,"name":"Junos
1187
        default ZTP config","template_kind_id":9,"template_kind_name":"ZTP"},{"id":26,"name":"Kickstart
1188
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":28,"name":"Kickstart
1189
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":27,"name":"Kickstart
1190
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":29,"name":"Kickstart
1191
        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
1192
        default POAP setup","template_kind_id":10,"template_kind_name":"POAP"},{"id":30,"name":"Preseed
1193
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":31,"name":"Preseed
1194
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":33,"name":"Preseed
1195
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":32,"name":"Preseed
1196
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":34,"name":"Preseed
1197
        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
1198
        default local boot","template_kind_id":3,"template_kind_name":"PXEGrub"},{"id":5,"name":"PXELinux
1199
        chain iPXE","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":6,"name":"PXELinux
1200
        chain iPXE UNDI","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":2,"name":"PXELinux
1201
        default local boot","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":3,"name":"PXELinux
1202
        default memdisk","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":1,"name":"PXELinux
1203
        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
1204
        Atomic Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":86,"name":"Satellite
1205
        Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":88,"name":"Satellite
1206
        Kickstart Default Finish","template_kind_id":6,"template_kind_name":"finish"},{"id":87,"name":"Satellite
1207
        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
1208
        default","template_kind_id":8,"template_kind_name":"user_data"},{"id":36,"name":"WAIK
1209
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"}],"domains":[{"id":1,"name":"test.com"}],"realms":[],"environments":[],"hostgroups":[],"locations":[{"id":2,"name":"Default
1210
        Location","title":"Default Location","description":null}],"parameters":[]}'
1211
    http_version: 
1212
  recorded_at: Mon, 27 Mar 2017 18:36:53 GMT
1213
recorded_with: VCR 3.0.3