Project

General

Profile

Revision f5d21adb

Added by Thomas McKay over 5 years ago

fixes #15581 - configuration based on foreman stanza

View differences:

test/fixtures/vcr_cassettes/setup/setup_domains/setup.yml
1 1
---
2 2
http_interactions:
3 3
- request:
4
    method: put
5
    uri: https://admin:changeme@katello.example.com:50191/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.1.10p492
16
      Content-Type:
17
      - application/json
18
      Content-Length:
19
      - '58'
20
      Host:
21
      - katello.example.com:50191
22
  response:
23
    status:
24
      code: 200
25
      message: OK
26
    headers:
27
      Date:
28
      - Mon, 12 Sep 2016 15:39:32 GMT
29
      Server:
30
      - Apache/2.4.6 (CentOS)
31
      X-Frame-Options:
32
      - SAMEORIGIN
33
      X-Xss-Protection:
34
      - 1; mode=block
35
      X-Content-Type-Options:
36
      - nosniff
37
      Foreman-Version:
38
      - 1.14.0-develop
39
      Foreman-Api-Version:
40
      - '2'
41
      Content-Type:
42
      - application/json; charset=utf-8
43
      Apipie-Checksum:
44
      - 9544abef9cf8343005f07ed8c9f1f8e7
45
      Etag:
46
      - W/"b9b26295f2fd09bab4028c79b20d4966-gzip"
47
      Cache-Control:
48
      - max-age=0, private, must-revalidate
49
      X-Request-Id:
50
      - 909555a8-8cd8-4f2b-bb7c-b04940b82c8f
51
      X-Runtime:
52
      - '1.378997'
53
      Via:
54
      - 1.1 katello.example.com:50191
55
      Vary:
56
      - Accept-Encoding
57
      Content-Length:
58
      - '390'
59
      Set-Cookie:
60
      - _session_id=29b657694fbc5aaf220d8e06df3380bf; path=/; HttpOnly
61
      - request_method=PUT; path=/
62
    body:
63
      encoding: ASCII-8BIT
64
      string: '{"fullname":"","dns_id":null,"created_at":"2016-09-09 18:53:19 UTC","updated_at":"2016-09-09
65
        18:53:19 UTC","id":2,"name":"test.com","subnets":[{"id":5,"name":"Test Subnet","network_address":"192.168.100.1/24"}],"interfaces":[],"parameters":[],"locations":[],"organizations":[{"id":9,"name":"Test
66
        Corporation","title":"Test Corporation","description":"Testing today for a
67
        better tomorrow"}]}'
68
    http_version: 
69
  recorded_at: Mon, 12 Sep 2016 15:39:34 GMT
70
- request:
71
    method: get
72
    uri: https://admin:changeme@katello.example.com:50191/katello/api/organizations/9
73
    body:
74
      encoding: US-ASCII
75
      string: ''
76
    headers:
77
      Accept:
78
      - application/json;version=2
79
      Accept-Encoding:
80
      - gzip, deflate
81
      User-Agent:
82
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.10p492
83
      Content-Type:
84
      - application/json
85
      Host:
86
      - katello.example.com:50191
87
  response:
88
    status:
89
      code: 200
90
      message: OK
91
    headers:
92
      Date:
93
      - Mon, 12 Sep 2016 15:39:34 GMT
94
      Server:
95
      - Apache/2.4.6 (CentOS)
96
      X-Frame-Options:
97
      - SAMEORIGIN
98
      X-Xss-Protection:
99
      - 1; mode=block
100
      X-Content-Type-Options:
101
      - nosniff
102
      Foreman-Version:
103
      - 1.14.0-develop
104
      Foreman-Api-Version:
105
      - '2'
106
      Content-Type:
107
      - application/json; charset=utf-8
108
      Apipie-Checksum:
109
      - 9544abef9cf8343005f07ed8c9f1f8e7
110
      Etag:
111
      - W/"253ac9fa8c0d829e51da8f57b05de99d-gzip"
112
      Cache-Control:
113
      - max-age=0, private, must-revalidate
114
      X-Request-Id:
115
      - 085912c6-6f37-4f27-afa8-dca3ad27bb51
116
      X-Runtime:
117
      - '3.727742'
118
      Via:
119
      - 1.1 katello.example.com:50191
120
      Vary:
121
      - Accept-Encoding
122
      Content-Length:
123
      - '21851'
124
      Set-Cookie:
125
      - _session_id=315c320c5f487c797ed8fccd68597716; path=/; HttpOnly
126
    body:
127
      encoding: ASCII-8BIT
128
      string: '{"label":"testcorp","owner_details":{"parentOwner":null,"id":"ff80808156eb30a60157024c785205e2","key":"testcorp","displayName":"Test
129
        Corporation","contentPrefix":"/testcorp/$env","defaultServiceLevel":null,"upstreamConsumer":{"id":"ff80808156eb30a6015704818a920660","uuid":"d45ac754-56e8-425e-a6ef-2028953f6f2c","name":"TestCorp","idCert":{"key":"-----BEGIN
130
        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\nDu7g6EAAvsV8HbQkcBmXyqnVuDhR0Ijt0UaldqGWbpmAcspHMDsy1uDn24qjbZoI\ncC3wQhsy3+8zNRYlbELeJjgzacYRmmtZNc2ML5As5XX8VVji3JqmZUMCgYEAqIjv\nPV4SfqrOv4NFcEvQf32tyiVxXDH4H/WpjHM2ZcAklE4esQkyBqf/2lHcZPrhoaQm\n8OGrquMytXo2TRGypl0syZ49GFq/FUFQbkl8zZpt3OCMkud6RvBmmftYSVCNoyZc\nySBusvO3SgpZYZwJx3FmeH/2gp0YAldH+tQo0lcCgYEAjhkVdtcgaD4aZER9QULd\n2htzy0q2Tnf3cTyCPPwkamUjnTL4ei0/LmIC3aYGC5BwNwtkSq6iV1PJ4Zb+96gf\n2WQz7q+FbzLMbQyNWGVW/uQIiQpCBmcZMRnZHLMvFnBI0AnwnEYwGReLXSZGoufZ\nxRQurL8uTC104ag741fdTRsCgYAtWaOezMiHQykdCZLO0+fH1qbEJW0qlNuipfU4\nsOvrV1fAfIDvvHy0o9JKCgsXNRcv6r77xI3wDvDfOoKQHHoJIDtkCWuBOTH/4zJk\nauvlW2/Cpr3M7fLOUfQZ7TNljwJ9612+VTbUepZQmxZQGK/c9hvPwwcvQFxsjNX2\nnc5aQwKBgGZIGnz4X92HBVa0pR27q+2sebWCxjpREPoEE4HnPivn6Vgy6j40O3VB\nikaW6laDlWHPzYorQeLcZLoiI6yBn5v3unT4Aq74c/mgjBZbsJs+BC6WILWpeV3s\nlN7WgGVHSbBqaBAkMdIrH6IK8dnjYsHq5yO9xtdYmkVZoHEoah8h\n-----END
131
        RSA PRIVATE KEY-----\n","cert":"-----BEGIN CERTIFICATE-----\nMIIFqTCCA5GgAwIBAgIIBitiT9Rbj7QwDQYJKoZIhvcNAQEFBQAwgaQxCzAJBgNV\nBAYTAlVTMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGluYTEWMBQGA1UECgwNUmVkIEhh\ndCwgSW5jLjEYMBYGA1UECwwPUmVkIEhhdCBOZXR3b3JrMSQwIgYDVQQDDBtSZWQg\nSGF0IENhbmRsZXBpbiBBdXRob3JpdHkxJDAiBgkqhkiG9w0BCQEWFWNhLXN1cHBv\ncnRAcmVkaGF0LmNvbTAeFw0xNjA4MTYxMjI5MzFaFw0xNzA4MTYxMjI5MzFaMC8x\nLTArBgNVBAMTJGQ0NWFjNzU0LTU2ZTgtNDI1ZS1hNmVmLTIwMjg5NTNmNmYyYzCC\nASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ0eNbawx+iyeE6G6e967LzO\n0pfpzCLVzVux0o4SkIO/JxaLTGhkQfV0t8+8Myrbp6iB3I9/FMBgRNNaiyDu2gVy\nRwHg4mVSXUWqtN33KUFNzssAsM483yEcWD/LuUtW4xOtEF8L/mqNJ2xGCeORAZhc\nmy+jSQXAE7Lz02nUc8tt+pJNIZziZfiF11PtvXho2Oxll45vkGH//whzfp4BIfIP\n7MUmnwzOsO2ZT4vRyUmlyt+t0f57svuCqmBNDB2v+yMm/h58kBJ/107hSyZN/xCq\n+4MMTlVdop+gkBHlyzblnpNV7VMwQy/4zzaKMBTNfJJmAQYOfzN4KjF+HlwVX8UC\nAwEAAaOCAVEwggFNMBEGCWCGSAGG+EIBAQQEAwIFoDALBgNVHQ8EBAMCBLAwgd4G\nA1UdIwSB1jCB04AUdy6lzTcNqOHT6mHFVmdD6JHHbRyhgbekgbQwgbExCzAJBgNV\nBAYTAlVTMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGluYTEWMBQGA1UECgwNUmVkIEhh\ndCwgSW5jLjEYMBYGA1UECwwPUmVkIEhhdCBOZXR3b3JrMTEwLwYDVQQDDChSZWQg\nSGF0IEVudGl0bGVtZW50IE9wZXJhdGlvbnMgQXV0aG9yaXR5MSQwIgYJKoZIhvcN\nAQkBFhVjYS1zdXBwb3J0QHJlZGhhdC5jb22CAT8wHQYDVR0OBBYEFI7UL/Bk0UoE\n9FSjYlUJle0cykonMBMGA1UdJQQMMAoGCCsGAQUFBwMCMBYGA1UdEQQPMA2GC0NO\nPVRlc3RDb3JwMA0GCSqGSIb3DQEBBQUAA4ICAQBp4djGKuE+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
132
        CERTIFICATE-----\n","id":"ff80808156eb30a6015704818a91065f","serial":{"id":8261278538809906032,"revoked":false,"collected":false,"expiration":"2017-08-16T12:29:31.000+0000","serial":8261278538809906032,"created":"2016-09-07T11:56:21.009+0000","updated":"2016-09-07T11:56:21.009+0000"},"created":"2016-09-07T11:56:21.009+0000","updated":"2016-09-07T11:56:21.009+0000"},"type":{"id":"ff80808156eb30a60156ebcdc4930005","label":"satellite","manifest":true,"created":"2016-09-02T16:49:06.195+0000","updated":"2016-09-02T16:49:06.195+0000"},"ownerId":"ff80808156eb30a60157024c785205e2","webUrl":"access.stage.redhat.com/management/distributors/","apiUrl":"https://subscription.rhn.stage.redhat.com/subscription/consumers/","created":"2016-09-07T11:56:21.010+0000","updated":"2016-09-07T11:56:21.010+0000"},"logLevel":null,"href":"/owners/testcorp","created":"2016-09-07T01:39:08.498+0000","updated":"2016-09-07T11:56:21.159+0000"},"redhat_repository_url":"https://cdn.redhat.com","service_levels":["Premium","Standard"],"service_level":null,"select_all_types":[],"description":"Testing
133
        today for a better tomorrow","created_at":"2016-09-07 01:39:03 UTC","updated_at":"2016-09-07
134
        01:39:03 UTC","ancestry":null,"parent_id":null,"parent_name":null,"id":9,"name":"Test
135
        Corporation","title":"Test Corporation","users":[],"smart_proxies":[{"name":"katello.example.com","id":1,"url":"https://katello.example.com:9090"}],"subnets":[{"id":5,"name":"Test
136
        Subnet","network_address":"192.168.100.1/24"}],"compute_resources":[],"media":[],"config_templates":[{"id":90,"name":"Katello
137
        Atomic Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":89,"name":"subscription_manager_registration","template_kind_id":null,"template_kind_name":null},{"id":88,"name":"Katello
138
        Kickstart Default Finish","template_kind_id":6,"template_kind_name":"finish"},{"id":87,"name":"Katello
139
        Kickstart Default User Data","template_kind_id":8,"template_kind_name":"user_data"},{"id":86,"name":"Katello
140
        Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":72,"name":"pxegrub2_discovery","template_kind_id":null,"template_kind_name":null},{"id":71,"name":"pxegrub_discovery","template_kind_id":null,"template_kind_name":null},{"id":70,"name":"pxegrub2_chainload","template_kind_id":null,"template_kind_name":null},{"id":69,"name":"pxegrub_chainload","template_kind_id":null,"template_kind_name":null},{"id":68,"name":"pxelinux_chainload","template_kind_id":null,"template_kind_name":null},{"id":67,"name":"kickstart_cmdline","template_kind_id":null,"template_kind_name":null},{"id":66,"name":"saltstack_setup","template_kind_id":null,"template_kind_name":null},{"id":61,"name":"puppetlabs_repo","template_kind_id":null,"template_kind_name":null},{"id":60,"name":"puppet_setup","template_kind_id":null,"template_kind_name":null},{"id":59,"name":"puppet.conf","template_kind_id":null,"template_kind_name":null},{"id":58,"name":"preseed_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":57,"name":"kickstart_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":56,"name":"http_proxy","template_kind_id":null,"template_kind_name":null},{"id":55,"name":"freeipa_register","template_kind_id":null,"template_kind_name":null},{"id":54,"name":"fix_hosts","template_kind_id":null,"template_kind_name":null},{"id":53,"name":"epel","template_kind_id":null,"template_kind_name":null},{"id":52,"name":"coreos_cloudconfig","template_kind_id":null,"template_kind_name":null},{"id":51,"name":"chef_client","template_kind_id":null,"template_kind_name":null},{"id":50,"name":"bmc_nic_setup","template_kind_id":null,"template_kind_name":null},{"id":49,"name":"alterator_pkglist","template_kind_id":null,"template_kind_name":null},{"id":48,"name":"XenServer
141
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":47,"name":"XenServer
142
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":46,"name":"XenServer
143
        default answerfile","template_kind_id":5,"template_kind_name":"provision"},{"id":45,"name":"WAIK
144
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":44,"name":"UserData
145
        default","template_kind_id":8,"template_kind_name":"user_data"},{"id":64,"name":"remote_execution_ssh_keys","template_kind_id":null,"template_kind_name":null},{"id":43,"name":"Preseed
146
        default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":42,"name":"Preseed
147
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":41,"name":"Preseed
148
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":40,"name":"Preseed
149
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":39,"name":"Preseed
150
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":38,"name":"NX-OS
151
        default POAP setup","template_kind_id":10,"template_kind_name":"POAP"},{"id":37,"name":"Kickstart
152
        default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":65,"name":"saltstack_minion","template_kind_id":null,"template_kind_name":null},{"id":36,"name":"Kickstart
153
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":35,"name":"Kickstart
154
        default PXEGrub2","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":34,"name":"Kickstart
155
        default PXEGrub","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":33,"name":"Kickstart
156
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":32,"name":"Kickstart
157
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":31,"name":"Kickstart
158
        RHEL default","template_kind_id":5,"template_kind_name":"provision"},{"id":30,"name":"Kickstart
159
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":29,"name":"Junos
160
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":63,"name":"redhat_register","template_kind_id":null,"template_kind_name":null},{"id":62,"name":"pxelinux_discovery","template_kind_id":null,"template_kind_name":null},{"id":28,"name":"Junos
161
        default ZTP config","template_kind_id":9,"template_kind_name":"ZTP"},{"id":27,"name":"Junos
162
        default SLAX","template_kind_id":5,"template_kind_name":"provision"},{"id":26,"name":"Jumpstart
163
        default PXEGrub","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":25,"name":"Jumpstart
164
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":24,"name":"Jumpstart
165
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":23,"name":"Grubby
166
        default","template_kind_id":7,"template_kind_name":"script"},{"id":22,"name":"FreeBSD
167
        (mfsBSD) PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":21,"name":"FreeBSD
168
        (mfsBSD) provision","template_kind_id":5,"template_kind_name":"provision"},{"id":20,"name":"FreeBSD
169
        (mfsBSD) finish","template_kind_id":6,"template_kind_name":"finish"},{"id":19,"name":"CoreOS
170
        PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":18,"name":"CoreOS
171
        provision","template_kind_id":5,"template_kind_name":"provision"},{"id":17,"name":"AutoYaST
172
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":16,"name":"AutoYaST
173
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":15,"name":"AutoYaST
174
        SLES default","template_kind_id":5,"template_kind_name":"provision"},{"id":14,"name":"AutoYaST
175
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":13,"name":"Atomic
176
        Kickstart default","template_kind_id":5,"template_kind_name":"provision"},{"id":12,"name":"Alterator
177
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":11,"name":"Alterator
178
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":10,"name":"Alterator
179
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":9,"name":"PXELinux
180
        chain iPXE UNDI","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":8,"name":"PXELinux
181
        chain iPXE","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":7,"name":"PXELinux
182
        default memdisk","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":6,"name":"PXEGrub2
183
        default local boot","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":5,"name":"PXEGrub
184
        default local boot","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":4,"name":"PXELinux
185
        default local boot","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":3,"name":"PXEGrub2
186
        global default","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":2,"name":"PXEGrub
187
        global default","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":1,"name":"PXELinux
188
        global default","template_kind_id":1,"template_kind_name":"PXELinux"}],"ptables":[{"os_family":"Xenserver","created_at":"2016-09-02
189
        14:01:03 UTC","updated_at":"2016-09-02 14:01:03 UTC","name":"XenServer default","id":85},{"os_family":"Debian","created_at":"2016-09-02
190
        14:01:03 UTC","updated_at":"2016-09-02 14:01:03 UTC","name":"Preseed custom
191
        LVM","id":84},{"os_family":"Debian","created_at":"2016-09-02 14:01:03 UTC","updated_at":"2016-09-02
192
        14:01:03 UTC","name":"Preseed default","id":83},{"os_family":"NXOS","created_at":"2016-09-02
193
        14:01:03 UTC","updated_at":"2016-09-02 14:01:03 UTC","name":"NX-OS default
194
        fake","id":82},{"os_family":"Redhat","created_at":"2016-09-02 14:01:03 UTC","updated_at":"2016-09-02
195
        14:01:03 UTC","name":"Kickstart default","id":81},{"os_family":"Junos","created_at":"2016-09-02
196
        14:01:03 UTC","updated_at":"2016-09-02 14:01:03 UTC","name":"Junos default
197
        fake","id":80},{"os_family":"Solaris","created_at":"2016-09-02 14:01:03 UTC","updated_at":"2016-09-02
198
        14:01:03 UTC","name":"Jumpstart mirrored","id":79},{"os_family":"Solaris","created_at":"2016-09-02
199
        14:01:03 UTC","updated_at":"2016-09-02 14:01:03 UTC","name":"Jumpstart default","id":78},{"os_family":"Freebsd","created_at":"2016-09-02
200
        14:01:03 UTC","updated_at":"2016-09-02 14:01:03 UTC","name":"FreeBSD","id":77},{"os_family":"Coreos","created_at":"2016-09-02
201
        14:01:03 UTC","updated_at":"2016-09-02 14:01:03 UTC","name":"CoreOS default
202
        fake","id":76},{"os_family":"Suse","created_at":"2016-09-02 14:01:02 UTC","updated_at":"2016-09-02
203
        14:01:02 UTC","name":"AutoYaST LVM","id":75},{"os_family":"Suse","created_at":"2016-09-02
204
        14:01:02 UTC","updated_at":"2016-09-02 14:01:02 UTC","name":"AutoYaST entire
205
        virtual disk","id":74},{"os_family":"Suse","created_at":"2016-09-02 14:01:02
206
        UTC","updated_at":"2016-09-02 14:01:02 UTC","name":"AutoYaST entire SCSI disk","id":73}],"provisioning_templates":[{"id":90,"name":"Katello
207
        Atomic Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":89,"name":"subscription_manager_registration","template_kind_id":null,"template_kind_name":null},{"id":88,"name":"Katello
208
        Kickstart Default Finish","template_kind_id":6,"template_kind_name":"finish"},{"id":87,"name":"Katello
209
        Kickstart Default User Data","template_kind_id":8,"template_kind_name":"user_data"},{"id":86,"name":"Katello
210
        Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":72,"name":"pxegrub2_discovery","template_kind_id":null,"template_kind_name":null},{"id":71,"name":"pxegrub_discovery","template_kind_id":null,"template_kind_name":null},{"id":70,"name":"pxegrub2_chainload","template_kind_id":null,"template_kind_name":null},{"id":69,"name":"pxegrub_chainload","template_kind_id":null,"template_kind_name":null},{"id":68,"name":"pxelinux_chainload","template_kind_id":null,"template_kind_name":null},{"id":67,"name":"kickstart_cmdline","template_kind_id":null,"template_kind_name":null},{"id":66,"name":"saltstack_setup","template_kind_id":null,"template_kind_name":null},{"id":61,"name":"puppetlabs_repo","template_kind_id":null,"template_kind_name":null},{"id":60,"name":"puppet_setup","template_kind_id":null,"template_kind_name":null},{"id":59,"name":"puppet.conf","template_kind_id":null,"template_kind_name":null},{"id":58,"name":"preseed_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":57,"name":"kickstart_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":56,"name":"http_proxy","template_kind_id":null,"template_kind_name":null},{"id":55,"name":"freeipa_register","template_kind_id":null,"template_kind_name":null},{"id":54,"name":"fix_hosts","template_kind_id":null,"template_kind_name":null},{"id":53,"name":"epel","template_kind_id":null,"template_kind_name":null},{"id":52,"name":"coreos_cloudconfig","template_kind_id":null,"template_kind_name":null},{"id":51,"name":"chef_client","template_kind_id":null,"template_kind_name":null},{"id":50,"name":"bmc_nic_setup","template_kind_id":null,"template_kind_name":null},{"id":49,"name":"alterator_pkglist","template_kind_id":null,"template_kind_name":null},{"id":48,"name":"XenServer
211
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":47,"name":"XenServer
212
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":46,"name":"XenServer
213
        default answerfile","template_kind_id":5,"template_kind_name":"provision"},{"id":45,"name":"WAIK
214
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":44,"name":"UserData
215
        default","template_kind_id":8,"template_kind_name":"user_data"},{"id":64,"name":"remote_execution_ssh_keys","template_kind_id":null,"template_kind_name":null},{"id":43,"name":"Preseed
216
        default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":42,"name":"Preseed
217
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":41,"name":"Preseed
218
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":40,"name":"Preseed
219
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":39,"name":"Preseed
220
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":38,"name":"NX-OS
221
        default POAP setup","template_kind_id":10,"template_kind_name":"POAP"},{"id":37,"name":"Kickstart
222
        default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":65,"name":"saltstack_minion","template_kind_id":null,"template_kind_name":null},{"id":36,"name":"Kickstart
223
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":35,"name":"Kickstart
224
        default PXEGrub2","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":34,"name":"Kickstart
225
        default PXEGrub","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":33,"name":"Kickstart
226
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":32,"name":"Kickstart
227
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":31,"name":"Kickstart
228
        RHEL default","template_kind_id":5,"template_kind_name":"provision"},{"id":30,"name":"Kickstart
229
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":29,"name":"Junos
230
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":63,"name":"redhat_register","template_kind_id":null,"template_kind_name":null},{"id":62,"name":"pxelinux_discovery","template_kind_id":null,"template_kind_name":null},{"id":28,"name":"Junos
231
        default ZTP config","template_kind_id":9,"template_kind_name":"ZTP"},{"id":27,"name":"Junos
232
        default SLAX","template_kind_id":5,"template_kind_name":"provision"},{"id":26,"name":"Jumpstart
233
        default PXEGrub","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":25,"name":"Jumpstart
234
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":24,"name":"Jumpstart
235
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":23,"name":"Grubby
236
        default","template_kind_id":7,"template_kind_name":"script"},{"id":22,"name":"FreeBSD
237
        (mfsBSD) PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":21,"name":"FreeBSD
238
        (mfsBSD) provision","template_kind_id":5,"template_kind_name":"provision"},{"id":20,"name":"FreeBSD
239
        (mfsBSD) finish","template_kind_id":6,"template_kind_name":"finish"},{"id":19,"name":"CoreOS
240
        PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":18,"name":"CoreOS
241
        provision","template_kind_id":5,"template_kind_name":"provision"},{"id":17,"name":"AutoYaST
242
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":16,"name":"AutoYaST
243
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":15,"name":"AutoYaST
244
        SLES default","template_kind_id":5,"template_kind_name":"provision"},{"id":14,"name":"AutoYaST
245
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":13,"name":"Atomic
246
        Kickstart default","template_kind_id":5,"template_kind_name":"provision"},{"id":12,"name":"Alterator
247
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":11,"name":"Alterator
248
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":10,"name":"Alterator
249
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":9,"name":"PXELinux
250
        chain iPXE UNDI","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":8,"name":"PXELinux
251
        chain iPXE","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":7,"name":"PXELinux
252
        default memdisk","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":6,"name":"PXEGrub2
253
        default local boot","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":5,"name":"PXEGrub
254
        default local boot","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":4,"name":"PXELinux
255
        default local boot","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":3,"name":"PXEGrub2
256
        global default","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":2,"name":"PXEGrub
257
        global default","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":1,"name":"PXELinux
258
        global default","template_kind_id":1,"template_kind_name":"PXELinux"}],"domains":[{"id":2,"name":"test.com"}],"realms":[],"environments":[],"hostgroups":[],"locations":[],"parameters":[],"default_content_view_id":4,"library_id":7}'
259
    http_version: 
260
  recorded_at: Mon, 12 Sep 2016 15:39:38 GMT
261
- request:
262
    method: put
263
    uri: https://admin:changeme@katello.example.com:50191/katello/api/organizations/9
264
    body:
265
      encoding: UTF-8
266
      string: '{"organization":{"domain_ids":[2]}}'
267
    headers:
268
      Accept:
269
      - application/json;version=2
270
      Accept-Encoding:
271
      - gzip, deflate
272
      User-Agent:
273
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.10p492
274
      Content-Type:
275
      - application/json
276
      Content-Length:
277
      - '35'
278
      Host:
279
      - katello.example.com:50191
280
  response:
281
    status:
282
      code: 200
283
      message: OK
284
    headers:
285
      Date:
286
      - Mon, 12 Sep 2016 15:39:37 GMT
287
      Server:
288
      - Apache/2.4.6 (CentOS)
289
      X-Frame-Options:
290
      - SAMEORIGIN
291
      X-Xss-Protection:
292
      - 1; mode=block
293
      X-Content-Type-Options:
294
      - nosniff
295
      Foreman-Version:
296
      - 1.14.0-develop
297
      Foreman-Api-Version:
298
      - '2'
299
      Content-Type:
300
      - application/json; charset=utf-8
301
      Apipie-Checksum:
302
      - 9544abef9cf8343005f07ed8c9f1f8e7
303
      Etag:
304
      - W/"629f8d491c90ac79b4b7bedb2e2e8c86-gzip"
305
      Cache-Control:
306
      - max-age=0, private, must-revalidate
307
      X-Request-Id:
308
      - 71738a95-2c5b-468e-b8fd-30eb93400f88
309
      X-Runtime:
310
      - '3.968352'
311
      Via:
312
      - 1.1 katello.example.com:50191
313
      Vary:
314
      - Accept-Encoding
315
      Content-Length:
316
      - '16675'
317
      Set-Cookie:
318
      - _session_id=2d678ac0516ada3f953508dabf5a300b; path=/; HttpOnly
319
      - request_method=PUT; path=/
320
    body:
321
      encoding: ASCII-8BIT
322
      string: '{"select_all_types":[],"description":"Testing today for a better tomorrow","created_at":"2016-09-07
323
        01:39:03 UTC","updated_at":"2016-09-07 01:39:03 UTC","ancestry":null,"parent_id":null,"parent_name":null,"id":9,"name":"Test
324
        Corporation","title":"Test Corporation","users":[],"smart_proxies":[{"name":"katello.example.com","id":1,"url":"https://katello.example.com:9090"}],"subnets":[{"id":5,"name":"Test
325
        Subnet","network_address":"192.168.100.1/24"}],"compute_resources":[],"media":[],"config_templates":[{"id":90,"name":"Katello
326
        Atomic Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":89,"name":"subscription_manager_registration","template_kind_id":null,"template_kind_name":null},{"id":88,"name":"Katello
327
        Kickstart Default Finish","template_kind_id":6,"template_kind_name":"finish"},{"id":87,"name":"Katello
328
        Kickstart Default User Data","template_kind_id":8,"template_kind_name":"user_data"},{"id":86,"name":"Katello
329
        Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":72,"name":"pxegrub2_discovery","template_kind_id":null,"template_kind_name":null},{"id":71,"name":"pxegrub_discovery","template_kind_id":null,"template_kind_name":null},{"id":70,"name":"pxegrub2_chainload","template_kind_id":null,"template_kind_name":null},{"id":69,"name":"pxegrub_chainload","template_kind_id":null,"template_kind_name":null},{"id":68,"name":"pxelinux_chainload","template_kind_id":null,"template_kind_name":null},{"id":67,"name":"kickstart_cmdline","template_kind_id":null,"template_kind_name":null},{"id":66,"name":"saltstack_setup","template_kind_id":null,"template_kind_name":null},{"id":61,"name":"puppetlabs_repo","template_kind_id":null,"template_kind_name":null},{"id":60,"name":"puppet_setup","template_kind_id":null,"template_kind_name":null},{"id":59,"name":"puppet.conf","template_kind_id":null,"template_kind_name":null},{"id":58,"name":"preseed_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":57,"name":"kickstart_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":56,"name":"http_proxy","template_kind_id":null,"template_kind_name":null},{"id":55,"name":"freeipa_register","template_kind_id":null,"template_kind_name":null},{"id":54,"name":"fix_hosts","template_kind_id":null,"template_kind_name":null},{"id":53,"name":"epel","template_kind_id":null,"template_kind_name":null},{"id":52,"name":"coreos_cloudconfig","template_kind_id":null,"template_kind_name":null},{"id":51,"name":"chef_client","template_kind_id":null,"template_kind_name":null},{"id":50,"name":"bmc_nic_setup","template_kind_id":null,"template_kind_name":null},{"id":49,"name":"alterator_pkglist","template_kind_id":null,"template_kind_name":null},{"id":48,"name":"XenServer
330
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":47,"name":"XenServer
331
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":46,"name":"XenServer
332
        default answerfile","template_kind_id":5,"template_kind_name":"provision"},{"id":45,"name":"WAIK
333
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":44,"name":"UserData
334
        default","template_kind_id":8,"template_kind_name":"user_data"},{"id":64,"name":"remote_execution_ssh_keys","template_kind_id":null,"template_kind_name":null},{"id":43,"name":"Preseed
335
        default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":42,"name":"Preseed
336
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":41,"name":"Preseed
337
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":40,"name":"Preseed
338
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":39,"name":"Preseed
339
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":38,"name":"NX-OS
340
        default POAP setup","template_kind_id":10,"template_kind_name":"POAP"},{"id":37,"name":"Kickstart
341
        default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":65,"name":"saltstack_minion","template_kind_id":null,"template_kind_name":null},{"id":36,"name":"Kickstart
342
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":35,"name":"Kickstart
343
        default PXEGrub2","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":34,"name":"Kickstart
344
        default PXEGrub","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":33,"name":"Kickstart
345
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":32,"name":"Kickstart
346
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":31,"name":"Kickstart
347
        RHEL default","template_kind_id":5,"template_kind_name":"provision"},{"id":30,"name":"Kickstart
348
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":29,"name":"Junos
349
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":63,"name":"redhat_register","template_kind_id":null,"template_kind_name":null},{"id":62,"name":"pxelinux_discovery","template_kind_id":null,"template_kind_name":null},{"id":28,"name":"Junos
350
        default ZTP config","template_kind_id":9,"template_kind_name":"ZTP"},{"id":27,"name":"Junos
351
        default SLAX","template_kind_id":5,"template_kind_name":"provision"},{"id":26,"name":"Jumpstart
352
        default PXEGrub","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":25,"name":"Jumpstart
353
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":24,"name":"Jumpstart
354
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":23,"name":"Grubby
355
        default","template_kind_id":7,"template_kind_name":"script"},{"id":22,"name":"FreeBSD
356
        (mfsBSD) PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":21,"name":"FreeBSD
357
        (mfsBSD) provision","template_kind_id":5,"template_kind_name":"provision"},{"id":20,"name":"FreeBSD
358
        (mfsBSD) finish","template_kind_id":6,"template_kind_name":"finish"},{"id":19,"name":"CoreOS
359
        PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":18,"name":"CoreOS
360
        provision","template_kind_id":5,"template_kind_name":"provision"},{"id":17,"name":"AutoYaST
361
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":16,"name":"AutoYaST
362
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":15,"name":"AutoYaST
363
        SLES default","template_kind_id":5,"template_kind_name":"provision"},{"id":14,"name":"AutoYaST
364
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":13,"name":"Atomic
365
        Kickstart default","template_kind_id":5,"template_kind_name":"provision"},{"id":12,"name":"Alterator
366
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":11,"name":"Alterator
367
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":10,"name":"Alterator
368
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":9,"name":"PXELinux
369
        chain iPXE UNDI","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":8,"name":"PXELinux
370
        chain iPXE","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":7,"name":"PXELinux
371
        default memdisk","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":6,"name":"PXEGrub2
372
        default local boot","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":5,"name":"PXEGrub
373
        default local boot","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":4,"name":"PXELinux
374
        default local boot","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":3,"name":"PXEGrub2
375
        global default","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":2,"name":"PXEGrub
376
        global default","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":1,"name":"PXELinux
377
        global default","template_kind_id":1,"template_kind_name":"PXELinux"}],"ptables":[{"os_family":"Xenserver","created_at":"2016-09-02
378
        14:01:03 UTC","updated_at":"2016-09-02 14:01:03 UTC","name":"XenServer default","id":85},{"os_family":"Debian","created_at":"2016-09-02
379
        14:01:03 UTC","updated_at":"2016-09-02 14:01:03 UTC","name":"Preseed custom
380
        LVM","id":84},{"os_family":"Debian","created_at":"2016-09-02 14:01:03 UTC","updated_at":"2016-09-02
381
        14:01:03 UTC","name":"Preseed default","id":83},{"os_family":"NXOS","created_at":"2016-09-02
382
        14:01:03 UTC","updated_at":"2016-09-02 14:01:03 UTC","name":"NX-OS default
383
        fake","id":82},{"os_family":"Redhat","created_at":"2016-09-02 14:01:03 UTC","updated_at":"2016-09-02
384
        14:01:03 UTC","name":"Kickstart default","id":81},{"os_family":"Junos","created_at":"2016-09-02
385
        14:01:03 UTC","updated_at":"2016-09-02 14:01:03 UTC","name":"Junos default
386
        fake","id":80},{"os_family":"Solaris","created_at":"2016-09-02 14:01:03 UTC","updated_at":"2016-09-02
387
        14:01:03 UTC","name":"Jumpstart mirrored","id":79},{"os_family":"Solaris","created_at":"2016-09-02
388
        14:01:03 UTC","updated_at":"2016-09-02 14:01:03 UTC","name":"Jumpstart default","id":78},{"os_family":"Freebsd","created_at":"2016-09-02
389
        14:01:03 UTC","updated_at":"2016-09-02 14:01:03 UTC","name":"FreeBSD","id":77},{"os_family":"Coreos","created_at":"2016-09-02
390
        14:01:03 UTC","updated_at":"2016-09-02 14:01:03 UTC","name":"CoreOS default
391
        fake","id":76},{"os_family":"Suse","created_at":"2016-09-02 14:01:02 UTC","updated_at":"2016-09-02
392
        14:01:02 UTC","name":"AutoYaST LVM","id":75},{"os_family":"Suse","created_at":"2016-09-02
393
        14:01:02 UTC","updated_at":"2016-09-02 14:01:02 UTC","name":"AutoYaST entire
394
        virtual disk","id":74},{"os_family":"Suse","created_at":"2016-09-02 14:01:02
395
        UTC","updated_at":"2016-09-02 14:01:02 UTC","name":"AutoYaST entire SCSI disk","id":73}],"provisioning_templates":[{"id":90,"name":"Katello
396
        Atomic Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":89,"name":"subscription_manager_registration","template_kind_id":null,"template_kind_name":null},{"id":88,"name":"Katello
397
        Kickstart Default Finish","template_kind_id":6,"template_kind_name":"finish"},{"id":87,"name":"Katello
398
        Kickstart Default User Data","template_kind_id":8,"template_kind_name":"user_data"},{"id":86,"name":"Katello
399
        Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":72,"name":"pxegrub2_discovery","template_kind_id":null,"template_kind_name":null},{"id":71,"name":"pxegrub_discovery","template_kind_id":null,"template_kind_name":null},{"id":70,"name":"pxegrub2_chainload","template_kind_id":null,"template_kind_name":null},{"id":69,"name":"pxegrub_chainload","template_kind_id":null,"template_kind_name":null},{"id":68,"name":"pxelinux_chainload","template_kind_id":null,"template_kind_name":null},{"id":67,"name":"kickstart_cmdline","template_kind_id":null,"template_kind_name":null},{"id":66,"name":"saltstack_setup","template_kind_id":null,"template_kind_name":null},{"id":61,"name":"puppetlabs_repo","template_kind_id":null,"template_kind_name":null},{"id":60,"name":"puppet_setup","template_kind_id":null,"template_kind_name":null},{"id":59,"name":"puppet.conf","template_kind_id":null,"template_kind_name":null},{"id":58,"name":"preseed_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":57,"name":"kickstart_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":56,"name":"http_proxy","template_kind_id":null,"template_kind_name":null},{"id":55,"name":"freeipa_register","template_kind_id":null,"template_kind_name":null},{"id":54,"name":"fix_hosts","template_kind_id":null,"template_kind_name":null},{"id":53,"name":"epel","template_kind_id":null,"template_kind_name":null},{"id":52,"name":"coreos_cloudconfig","template_kind_id":null,"template_kind_name":null},{"id":51,"name":"chef_client","template_kind_id":null,"template_kind_name":null},{"id":50,"name":"bmc_nic_setup","template_kind_id":null,"template_kind_name":null},{"id":49,"name":"alterator_pkglist","template_kind_id":null,"template_kind_name":null},{"id":48,"name":"XenServer
400
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":47,"name":"XenServer
401
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":46,"name":"XenServer
402
        default answerfile","template_kind_id":5,"template_kind_name":"provision"},{"id":45,"name":"WAIK
403
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":44,"name":"UserData
404
        default","template_kind_id":8,"template_kind_name":"user_data"},{"id":64,"name":"remote_execution_ssh_keys","template_kind_id":null,"template_kind_name":null},{"id":43,"name":"Preseed
405
        default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":42,"name":"Preseed
406
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":41,"name":"Preseed
407
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":40,"name":"Preseed
408
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":39,"name":"Preseed
409
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":38,"name":"NX-OS
410
        default POAP setup","template_kind_id":10,"template_kind_name":"POAP"},{"id":37,"name":"Kickstart
411
        default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":65,"name":"saltstack_minion","template_kind_id":null,"template_kind_name":null},{"id":36,"name":"Kickstart
412
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":35,"name":"Kickstart
413
        default PXEGrub2","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":34,"name":"Kickstart
414
        default PXEGrub","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":33,"name":"Kickstart
415
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":32,"name":"Kickstart
416
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":31,"name":"Kickstart
417
        RHEL default","template_kind_id":5,"template_kind_name":"provision"},{"id":30,"name":"Kickstart
418
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":29,"name":"Junos
419
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":63,"name":"redhat_register","template_kind_id":null,"template_kind_name":null},{"id":62,"name":"pxelinux_discovery","template_kind_id":null,"template_kind_name":null},{"id":28,"name":"Junos
420
        default ZTP config","template_kind_id":9,"template_kind_name":"ZTP"},{"id":27,"name":"Junos
421
        default SLAX","template_kind_id":5,"template_kind_name":"provision"},{"id":26,"name":"Jumpstart
422
        default PXEGrub","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":25,"name":"Jumpstart
423
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":24,"name":"Jumpstart
424
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":23,"name":"Grubby
425
        default","template_kind_id":7,"template_kind_name":"script"},{"id":22,"name":"FreeBSD
426
        (mfsBSD) PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":21,"name":"FreeBSD
427
        (mfsBSD) provision","template_kind_id":5,"template_kind_name":"provision"},{"id":20,"name":"FreeBSD
428
        (mfsBSD) finish","template_kind_id":6,"template_kind_name":"finish"},{"id":19,"name":"CoreOS
429
        PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":18,"name":"CoreOS
430
        provision","template_kind_id":5,"template_kind_name":"provision"},{"id":17,"name":"AutoYaST
431
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":16,"name":"AutoYaST
432
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":15,"name":"AutoYaST
433
        SLES default","template_kind_id":5,"template_kind_name":"provision"},{"id":14,"name":"AutoYaST
434
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":13,"name":"Atomic
435
        Kickstart default","template_kind_id":5,"template_kind_name":"provision"},{"id":12,"name":"Alterator
436
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":11,"name":"Alterator
437
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":10,"name":"Alterator
438
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":9,"name":"PXELinux
439
        chain iPXE UNDI","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":8,"name":"PXELinux
440
        chain iPXE","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":7,"name":"PXELinux
441
        default memdisk","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":6,"name":"PXEGrub2
442
        default local boot","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":5,"name":"PXEGrub
443
        default local boot","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":4,"name":"PXELinux
444
        default local boot","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":3,"name":"PXEGrub2
445
        global default","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":2,"name":"PXEGrub
446
        global default","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":1,"name":"PXELinux
447
        global default","template_kind_id":1,"template_kind_name":"PXELinux"}],"domains":[{"id":2,"name":"test.com"}],"realms":[],"environments":[],"hostgroups":[],"locations":[],"parameters":[]}'
448
    http_version: 
449
  recorded_at: Mon, 12 Sep 2016 15:39:42 GMT
450
- request:
4 451
    method: get
5
    uri: https://admin:changeme@katello.example.com:50191/api/status
452
    uri: https://admin:changeme@katello.example.com:50218/api/status
6 453
    body:
7 454
      encoding: US-ASCII
8 455
      string: ''
......
16 463
  response:
17 464
    status:
18 465
      code: 200
19
      message: OK
466
      message: 'OK '
20 467
    headers:
21 468
      Date:
22
      - Mon, 12 Sep 2016 15:39:31 GMT
469
      - Fri, 30 Sep 2016 15:39:57 GMT
23 470
      Server:
24
      - Apache/2.4.6 (CentOS)
25
      X-Frame-Options:
26
      - SAMEORIGIN
27
      X-Xss-Protection:
28
      - 1; mode=block
29
      X-Content-Type-Options:
30
      - nosniff
471
      - WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
31 472
      Foreman-Version:
32 473
      - 1.14.0-develop
33 474
      Foreman-Api-Version:
......
35 476
      Content-Type:
36 477
      - application/json; charset=utf-8
37 478
      Apipie-Checksum:
38
      - 9544abef9cf8343005f07ed8c9f1f8e7
479
      - 68d37bf606b9a03df6e1e749d6054009
39 480
      Etag:
40 481
      - W/"1316c9d778b9181476af8a9546423fb1-gzip"
41 482
      Cache-Control:
42 483
      - max-age=0, private, must-revalidate
43 484
      X-Request-Id:
44
      - c2cbf243-1a0b-43f5-b59d-1a63e29f6597
485
      - 6c7df00d-950e-4bad-a716-5fd2a2a8cb55
45 486
      X-Runtime:
46
      - '0.222909'
487
      - '0.091645'
488
      Content-Security-Policy:
489
      - 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
490
        img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
491
        ''self''; style-src ''unsafe-inline'' ''self'''
492
      Strict-Transport-Security:
493
      - max-age=631152000; includeSubdomains
494
      X-Content-Type-Options:
495
      - nosniff
496
      X-Download-Options:
497
      - noopen
498
      X-Frame-Options:
499
      - sameorigin
500
      X-Permitted-Cross-Domain-Policies:
501
      - none
502
      X-Xss-Protection:
503
      - 1; mode=block
47 504
      Via:
48
      - 1.1 katello.example.com:50191
505
      - 1.1 testing.example.com:50218
49 506
      Vary:
50 507
      - Accept-Encoding
51 508
      Content-Length:
52 509
      - '81'
53 510
      Set-Cookie:
54
      - _session_id=82d75ed696a6c1fa9123acddf756278c; path=/; HttpOnly
511
      - _session_id=287f2484f4e8f455660385a5b571f47d; path=/; HttpOnly
55 512
    body:
56 513
      encoding: UTF-8
57 514
      string: '{"result":"ok","status":200,"version":"1.14.0-develop","api_version":2}'
58 515
    http_version: 
59
  recorded_at: Mon, 12 Sep 2016 15:39:32 GMT
516
  recorded_at: Fri, 30 Sep 2016 15:39:58 GMT
60 517
- request:
61 518
    method: get
62
    uri: https://admin:changeme@katello.example.com:50191/api/v2/plugins
519
    uri: https://admin:changeme@katello.example.com:50218/api/v2/plugins
63 520
    body:
64 521
      encoding: US-ASCII
65 522
      string: ''
......
73 530
  response:
74 531
    status:
75 532
      code: 200
76
      message: OK
533
      message: 'OK '
77 534
    headers:
78 535
      Date:
79
      - Mon, 12 Sep 2016 15:39:31 GMT
536
      - Fri, 30 Sep 2016 15:39:57 GMT
80 537
      Server:
81
      - Apache/2.4.6 (CentOS)
82
      X-Frame-Options:
83
      - SAMEORIGIN
84
      X-Xss-Protection:
85
      - 1; mode=block
86
      X-Content-Type-Options:
87
      - nosniff
538
      - WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
88 539
      Foreman-Version:
89 540
      - 1.14.0-develop
90 541
      Foreman-Api-Version:
......
92 543
      Content-Type:
93 544
      - application/json; charset=utf-8
94 545
      Apipie-Checksum:
95
      - 9544abef9cf8343005f07ed8c9f1f8e7
546
      - 68d37bf606b9a03df6e1e749d6054009
96 547
      Etag:
97
      - W/"c547959b2afaff0cf0a8d731005e9365-gzip"
548
      - W/"8f0162a4d2fd78df40b7f264aee93d64-gzip"
98 549
      Cache-Control:
99 550
      - max-age=0, private, must-revalidate
100 551
      X-Request-Id:
101
      - 97a77fc1-8ada-44ac-a5a5-2883c372716a
552
      - 18473b90-e167-491d-9603-1c509e8a9cda
102 553
      X-Runtime:
103
      - '0.189382'
554
      - '0.074231'
555
      Content-Security-Policy:
556
      - 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
557
        img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
558
        ''self''; style-src ''unsafe-inline'' ''self'''
559
      Strict-Transport-Security:
560
      - max-age=631152000; includeSubdomains
561
      X-Content-Type-Options:
562
      - nosniff
563
      X-Download-Options:
564
      - noopen
565
      X-Frame-Options:
566
      - sameorigin
567
      X-Permitted-Cross-Domain-Policies:
568
      - none
569
      X-Xss-Protection:
570
      - 1; mode=block
104 571
      Via:
105
      - 1.1 katello.example.com:50191
572
      - 1.1 testing.example.com:50218
106 573
      Vary:
107 574
      - Accept-Encoding
108 575
      Content-Length:
109
      - '566'
576
      - '565'
110 577
      Set-Cookie:
111
      - _session_id=926084851a49437673ab9b8657dbe068; path=/; HttpOnly
578
      - _session_id=5aead7fdd797d93511e6e1143814b316; path=/; HttpOnly
112 579
    body:
113 580
      encoding: ASCII-8BIT
114 581
      string: !binary |-
......
127 594
        Y2UuIEl0IGFsc28gb3B0aW9uYWxseSBwcm92aWRlcyBEeW5mbG93IGluZnJh
128 595
        c3RydWN0dXJlIGZvciB1c2luZyBpdCBmb3IgbWFuYWdpbmcgdGhlIHRhc2tz
129 596
        LlxuIiwidXJsIjoiaHR0cHM6Ly9naXRodWIuY29tL3RoZWZvcmVtYW4vZm9y
130
        ZW1hbi10YXNrcyIsInZlcnNpb24iOiIwLjguMSJ9LHsiaWQiOiJmb3JlbWFu
597
        ZW1hbi10YXNrcyIsInZlcnNpb24iOiIwLjguMiJ9LHsiaWQiOiJmb3JlbWFu
131 598
        X2RvY2tlciIsIm5hbWUiOiJmb3JlbWFuX2RvY2tlciIsImF1dGhvciI6IkRh
132 599
        bmllbCBMb2JhdG8sIEFtb3MgQmVuYXJpIiwiZGVzY3JpcHRpb24iOiJQcm92
133 600
        aXNpb24gYW5kIG1hbmFnZSBEb2NrZXIgY29udGFpbmVycyBhbmQgaW1hZ2Vz
......
136 603
        ZCI6ImthdGVsbG8iLCJuYW1lIjoia2F0ZWxsbyIsImF1dGhvciI6Ik4vQSIs
137 604
        ImRlc2NyaXB0aW9uIjoiQ29udGVudCBhbmQgU3Vic2NyaXB0aW9uIE1hbmFn
138 605
        ZW1lbnQgcGx1Z2luIGZvciBGb3JlbWFuIiwidXJsIjoiaHR0cDovL3d3dy5r
139
        YXRlbGxvLm9yZyIsInZlcnNpb24iOiIzLjIuMCJ9XQp9Cg==
606
        YXRlbGxvLm9yZyIsInZlcnNpb24iOiIzLjMuMCJ9XQp9Cg==
140 607
    http_version: 
141
  recorded_at: Mon, 12 Sep 2016 15:39:32 GMT
608
  recorded_at: Fri, 30 Sep 2016 15:39:58 GMT
142 609
- request:
143 610
    method: get
144
    uri: https://admin:changeme@katello.example.com:50191/api/domains?per_page=999999
611
    uri: https://admin:changeme@katello.example.com:50218/api/domains?per_page=999999
145 612
    body:
146 613
      encoding: US-ASCII
147 614
      string: ''
......
154 621
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.10p492
155 622
      Content-Type:
156 623
      - application/json
624
      Accept-Language:
625
      - en
157 626
      Host:
158
      - katello.example.com:50191
627
      - katello.example.com:50218
159 628
  response:
160 629
    status:
161 630
      code: 200
162
      message: OK
631
      message: 'OK '
163 632
    headers:
164 633
      Date:
165
      - Mon, 12 Sep 2016 15:39:32 GMT
634
      - Fri, 30 Sep 2016 15:39:57 GMT
166 635
      Server:
167
      - Apache/2.4.6 (CentOS)
168
      X-Frame-Options:
169
      - SAMEORIGIN
170
      X-Xss-Protection:
171
      - 1; mode=block
172
      X-Content-Type-Options:
173
      - nosniff
636
      - WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
174 637
      Foreman-Version:
175 638
      - 1.14.0-develop
176 639
      Foreman-Api-Version:
......
178 641
      Content-Type:
179 642
      - application/json; charset=utf-8
180 643
      Apipie-Checksum:
181
      - 9544abef9cf8343005f07ed8c9f1f8e7
644
      - 68d37bf606b9a03df6e1e749d6054009
182 645
      Etag:
183
      - W/"1b9576df65bda7a2a091336ce34aa7d9-gzip"
646
      - W/"90f98649be5e795fe3e1a63394ae0b79-gzip"
184 647
      Cache-Control:
185 648
      - max-age=0, private, must-revalidate
186 649
      X-Request-Id:
187
      - 489d7573-2073-474d-9ba9-a7a2be4b8d2a
650
      - bd31231d-5698-4580-bf22-497f243b231e
188 651
      X-Runtime:
189
      - '0.230352'
652
      - '0.080675'
653
      Content-Security-Policy:
654
      - 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
655
        img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
656
        ''self''; style-src ''unsafe-inline'' ''self'''
657
      Strict-Transport-Security:
658
      - max-age=631152000; includeSubdomains
659
      X-Content-Type-Options:
660
      - nosniff
661
      X-Download-Options:
662
      - noopen
663
      X-Frame-Options:
664
      - sameorigin
665
      X-Permitted-Cross-Domain-Policies:
666
      - none
667
      X-Xss-Protection:
668
      - 1; mode=block
190 669
      Via:
191
      - 1.1 katello.example.com:50191
670
      - 1.1 testing.example.com:50218
192 671
      Vary:
193 672
      - Accept-Encoding
194 673
      Content-Length:
195
      - '423'
674
      - '287'
196 675
      Set-Cookie:
197
      - _session_id=223283f83f398a90ff1c4ff5a0a482f9; path=/; HttpOnly
676
      - _session_id=62b3bf899a520ab3b92462207c3ed044; path=/; HttpOnly
198 677
    body:
199 678
      encoding: ASCII-8BIT
200 679
      string: |
201 680
        {
202
          "total": 2,
203
          "subtotal": 2,
681
          "total": 1,
682
          "subtotal": 1,
204 683
          "page": 1,
205 684
          "per_page": 999999,
206 685
          "search": null,
......
208 687
            "by": null,
209 688
            "order": null
210 689
          },
211
          "results": [{"fullname":"","dns_id":null,"created_at":"2016-09-02 15:11:17 UTC","updated_at":"2016-09-08 20:29:23 UTC","id":1,"name":"example.com"},{"fullname":"","dns_id":null,"created_at":"2016-09-09 18:53:19 UTC","updated_at":"2016-09-09 18:53:19 UTC","id":2,"name":"test.com"}]
690
          "results": [{"fullname":"","dns_id":null,"created_at":"2016-09-30 15:04:14 UTC","updated_at":"2016-09-30 15:04:14 UTC","id":1,"name":"test.com"}]
212 691
        }
213 692
    http_version: 
214
  recorded_at: Mon, 12 Sep 2016 15:39:32 GMT
693
  recorded_at: Fri, 30 Sep 2016 15:39:58 GMT
215 694
- request:
216 695
    method: put
217
    uri: https://admin:changeme@katello.example.com:50191/api/domains/2
696
    uri: https://admin:changeme@katello.example.com:50218/api/domains/1
218 697
    body:
219 698
      encoding: UTF-8
220 699
      string: '{"domain":{"name":"test.com","fullname":"","dns_id":null}}'
......
227 706
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.10p492
228 707
      Content-Type:
229 708
      - application/json
709
      Accept-Language:
710
      - en
230 711
      Content-Length:
231 712
      - '58'
232 713
      Host:
233
      - katello.example.com:50191
714
      - katello.example.com:50218
234 715
  response:
235 716
    status:
236 717
      code: 200
237
      message: OK
718
      message: 'OK '
238 719
    headers:
239 720
      Date:
240
      - Mon, 12 Sep 2016 15:39:32 GMT
721
      - Fri, 30 Sep 2016 15:39:58 GMT
241 722
      Server:
242
      - Apache/2.4.6 (CentOS)
243
      X-Frame-Options:
244
      - SAMEORIGIN
245
      X-Xss-Protection:
246
      - 1; mode=block
247
      X-Content-Type-Options:
248
      - nosniff
723
      - WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
249 724
      Foreman-Version:
250 725
      - 1.14.0-develop
251 726
      Foreman-Api-Version:
......
253 728
      Content-Type:
254 729
      - application/json; charset=utf-8
255 730
      Apipie-Checksum:
256
      - 9544abef9cf8343005f07ed8c9f1f8e7
731
      - 68d37bf606b9a03df6e1e749d6054009
257 732
      Etag:
258
      - W/"b9b26295f2fd09bab4028c79b20d4966-gzip"
733
      - W/"26e24d91e645ee3870edc0497c7be022-gzip"
259 734
      Cache-Control:
260 735
      - max-age=0, private, must-revalidate
261 736
      X-Request-Id:
262
      - 909555a8-8cd8-4f2b-bb7c-b04940b82c8f
737
      - be8d7ec0-8167-4843-905a-328c59f7d5ce
263 738
      X-Runtime:
264
      - '1.378997'
739
      - '0.127263'
740
      Content-Security-Policy:
741
      - 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
742
        img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
743
        ''self''; style-src ''unsafe-inline'' ''self'''
744
      Strict-Transport-Security:
745
      - max-age=631152000; includeSubdomains
746
      X-Content-Type-Options:
747
      - nosniff
748
      X-Download-Options:
749
      - noopen
750
      X-Frame-Options:
751
      - sameorigin
752
      X-Permitted-Cross-Domain-Policies:
753
      - none
754
      X-Xss-Protection:
755
      - 1; mode=block
265 756
      Via:
266
      - 1.1 katello.example.com:50191
757
      - 1.1 testing.example.com:50218
267 758
      Vary:
268 759
      - Accept-Encoding
269 760
      Content-Length:
270 761
      - '390'
271 762
      Set-Cookie:
272
      - _session_id=29b657694fbc5aaf220d8e06df3380bf; path=/; HttpOnly
763
      - _session_id=3dd7c38300d3d9941d8695e40e009542; path=/; HttpOnly
273 764
      - request_method=PUT; path=/
274 765
    body:
275 766
      encoding: ASCII-8BIT
276
      string: '{"fullname":"","dns_id":null,"created_at":"2016-09-09 18:53:19 UTC","updated_at":"2016-09-09
277
        18:53:19 UTC","id":2,"name":"test.com","subnets":[{"id":5,"name":"Test Subnet","network_address":"192.168.100.1/24"}],"interfaces":[],"parameters":[],"locations":[],"organizations":[{"id":9,"name":"Test
767
      string: '{"fullname":"","dns_id":null,"created_at":"2016-09-30 15:04:14 UTC","updated_at":"2016-09-30
768
        15:04:14 UTC","id":1,"name":"test.com","subnets":[{"id":1,"name":"Test Subnet","network_address":"192.168.100.1/24"}],"interfaces":[],"parameters":[],"locations":[],"organizations":[{"id":8,"name":"Test
278 769
        Corporation","title":"Test Corporation","description":"Testing today for a
279 770
        better tomorrow"}]}'
280 771
    http_version: 
281
  recorded_at: Mon, 12 Sep 2016 15:39:34 GMT
772
  recorded_at: Fri, 30 Sep 2016 15:39:59 GMT
282 773
- request:
283 774
    method: get
284
    uri: https://admin:changeme@katello.example.com:50191/katello/api/organizations?per_page=999999&search=name=%22Test%20Corporation%22
775
    uri: https://admin:changeme@katello.example.com:50218/katello/api/organizations?per_page=999999&search=name=%22Test%20Corporation%22
285 776
    body:
286 777
      encoding: US-ASCII
287 778
      string: ''
......
294 785
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.10p492
295 786
      Content-Type:
296 787
      - application/json
788
      Accept-Language:
789
      - en
297 790
      Host:
298
      - katello.example.com:50191
791
      - katello.example.com:50218
299 792
  response:
300 793
    status:
301 794
      code: 200
302
      message: OK
795
      message: 'OK '
303 796
    headers:
304 797
      Date:
305
      - Mon, 12 Sep 2016 15:39:33 GMT
798
      - Fri, 30 Sep 2016 15:39:58 GMT
306 799
      Server:
307
      - Apache/2.4.6 (CentOS)
308
      X-Frame-Options:
309
      - SAMEORIGIN
310
      X-Xss-Protection:
311
      - 1; mode=block
312
      X-Content-Type-Options:
313
      - nosniff
800
      - WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
314 801
      Foreman-Version:
315 802
      - 1.14.0-develop
316 803
      Foreman-Api-Version:
......
318 805
      Content-Type:
319 806
      - application/json; charset=utf-8
320 807
      Apipie-Checksum:
321
      - 9544abef9cf8343005f07ed8c9f1f8e7
808
      - 68d37bf606b9a03df6e1e749d6054009
322 809
      Etag:
323
      - W/"471e8acb2053be2e7a823cbd174ec330-gzip"
810
      - W/"d409184974d814dc55ce7ccb1cac5fd0-gzip"
324 811
      Cache-Control:
325 812
      - max-age=0, private, must-revalidate
326 813
      X-Request-Id:
327
      - 3bf5a7ac-f454-4721-aacf-d197a58e1b7a
814
      - d55d0e83-fda4-46d4-92b3-38cd6b623ed0
328 815
      X-Runtime:
329
      - '0.244331'
816
      - '0.088778'
817
      Content-Security-Policy:
818
      - 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
819
        img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
820
        ''self''; style-src ''unsafe-inline'' ''self'''
821
      Strict-Transport-Security:
822
      - max-age=631152000; includeSubdomains
823
      X-Content-Type-Options:
824
      - nosniff
825
      X-Download-Options:
826
      - noopen
827
      X-Frame-Options:
828
      - sameorigin
829
      X-Permitted-Cross-Domain-Policies:
830
      - none
831
      X-Xss-Protection:
832
      - 1; mode=block
330 833
      Via:
331
      - 1.1 katello.example.com:50191
834
      - 1.1 testing.example.com:50218
332 835
      Vary:
333 836
      - Accept-Encoding
334 837
      Content-Length:
335 838
      - '388'
336 839
      Set-Cookie:
337
      - _session_id=28b6fb280bae37c80390a88bb12b38b0; path=/; HttpOnly
840
      - _session_id=c38758897b73a7787835d618c9407d3e; path=/; HttpOnly
338 841
    body:
339 842
      encoding: ASCII-8BIT
340 843
      string: |
341 844
        {
342
          "total": 3,
845
          "total": 2,
343 846
          "subtotal": 1,
344 847
          "page": 1,
345 848
          "per_page": 999999,
......
348 851
            "by": null,
349 852
            "order": null
350 853
          },
351
          "results": [{"label":"testcorp","created_at":"2016-09-07 01:39:03 UTC","updated_at":"2016-09-07 01:39:03 UTC","id":9,"name":"Test Corporation","title":"Test Corporation","description":"Testing today for a better tomorrow"}]
854
          "results": [{"label":"testcorp","created_at":"2016-09-30 15:10:48 UTC","updated_at":"2016-09-30 15:10:48 UTC","id":8,"name":"Test Corporation","title":"Test Corporation","description":"Testing today for a better tomorrow"}]
352 855
        }
353 856
    http_version: 
354
  recorded_at: Mon, 12 Sep 2016 15:39:34 GMT
857
  recorded_at: Fri, 30 Sep 2016 15:39:59 GMT
355 858
- request:
356 859
    method: get
357
    uri: https://admin:changeme@katello.example.com:50191/katello/api/organizations/9
860
    uri: https://admin:changeme@katello.example.com:50218/katello/api/organizations/8
358 861
    body:
359 862
      encoding: US-ASCII
360 863
      string: ''
......
367 870
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.10p492
368 871
      Content-Type:
369 872
      - application/json
873
      Accept-Language:
874
      - en
370 875
      Host:
371
      - katello.example.com:50191
876
      - katello.example.com:50218
372 877
  response:
373 878
    status:
374 879
      code: 200
375
      message: OK
880
      message: 'OK '
376 881
    headers:
377 882
      Date:
378
      - Mon, 12 Sep 2016 15:39:34 GMT
883
      - Fri, 30 Sep 2016 15:39:59 GMT
379 884
      Server:
380
      - Apache/2.4.6 (CentOS)
381
      X-Frame-Options:
382
      - SAMEORIGIN
383
      X-Xss-Protection:
384
      - 1; mode=block
385
      X-Content-Type-Options:
386
      - nosniff
885
      - WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
387 886
      Foreman-Version:
388 887
      - 1.14.0-develop
389 888
      Foreman-Api-Version:
......
391 890
      Content-Type:
392 891
      - application/json; charset=utf-8
393 892
      Apipie-Checksum:
394
      - 9544abef9cf8343005f07ed8c9f1f8e7
893
      - 68d37bf606b9a03df6e1e749d6054009
395 894
      Etag:
396
      - W/"253ac9fa8c0d829e51da8f57b05de99d-gzip"
895
      - W/"6a598bc5d5d61c73496d98f399fce58f-gzip"
397 896
      Cache-Control:
398 897
      - max-age=0, private, must-revalidate
399 898
      X-Request-Id:
400
      - 085912c6-6f37-4f27-afa8-dca3ad27bb51
899
      - 882750e0-5df1-4366-b0bc-3f9a29caced8
401 900
      X-Runtime:
402
      - '3.727742'
901
      - '0.487222'
902
      Content-Security-Policy:
903
      - 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
904
        img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
905
        ''self''; style-src ''unsafe-inline'' ''self'''
906
      Strict-Transport-Security:
907
      - max-age=631152000; includeSubdomains
908
      X-Content-Type-Options:
909
      - nosniff
910
      X-Download-Options:
911
      - noopen
912
      X-Frame-Options:
913
      - sameorigin
914
      X-Permitted-Cross-Domain-Policies:
915
      - none
916
      X-Xss-Protection:
917
      - 1; mode=block
403 918
      Via:
404
      - 1.1 katello.example.com:50191
919
      - 1.1 testing.example.com:50218
405 920
      Vary:
406 921
      - Accept-Encoding
407 922
      Content-Length:
408
      - '21851'
923
      - '21677'
409 924
      Set-Cookie:
410
      - _session_id=315c320c5f487c797ed8fccd68597716; path=/; HttpOnly
925
      - _session_id=54f613d457790140835d776975c5a545; path=/; HttpOnly
411 926
    body:
412 927
      encoding: ASCII-8BIT
413
      string: '{"label":"testcorp","owner_details":{"parentOwner":null,"id":"ff80808156eb30a60157024c785205e2","key":"testcorp","displayName":"Test
414
        Corporation","contentPrefix":"/testcorp/$env","defaultServiceLevel":null,"upstreamConsumer":{"id":"ff80808156eb30a6015704818a920660","uuid":"d45ac754-56e8-425e-a6ef-2028953f6f2c","name":"TestCorp","idCert":{"key":"-----BEGIN
928
      string: '{"label":"testcorp","owner_details":{"parentOwner":null,"id":"ff808081577b8f0201577ba5d9850003","key":"testcorp","displayName":"Test
929
        Corporation","contentPrefix":"/testcorp/$env","defaultServiceLevel":null,"upstreamConsumer":{"id":"ff808081577bae9001577bc066890294","uuid":"d45ac754-56e8-425e-a6ef-2028953f6f2c","name":"TestCorp","idCert":{"key":"-----BEGIN
415 930
        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\nDu7g6EAAvsV8HbQkcBmXyqnVuDhR0Ijt0UaldqGWbpmAcspHMDsy1uDn24qjbZoI\ncC3wQhsy3+8zNRYlbELeJjgzacYRmmtZNc2ML5As5XX8VVji3JqmZUMCgYEAqIjv\nPV4SfqrOv4NFcEvQf32tyiVxXDH4H/WpjHM2ZcAklE4esQkyBqf/2lHcZPrhoaQm\n8OGrquMytXo2TRGypl0syZ49GFq/FUFQbkl8zZpt3OCMkud6RvBmmftYSVCNoyZc\nySBusvO3SgpZYZwJx3FmeH/2gp0YAldH+tQo0lcCgYEAjhkVdtcgaD4aZER9QULd\n2htzy0q2Tnf3cTyCPPwkamUjnTL4ei0/LmIC3aYGC5BwNwtkSq6iV1PJ4Zb+96gf\n2WQz7q+FbzLMbQyNWGVW/uQIiQpCBmcZMRnZHLMvFnBI0AnwnEYwGReLXSZGoufZ\nxRQurL8uTC104ag741fdTRsCgYAtWaOezMiHQykdCZLO0+fH1qbEJW0qlNuipfU4\nsOvrV1fAfIDvvHy0o9JKCgsXNRcv6r77xI3wDvDfOoKQHHoJIDtkCWuBOTH/4zJk\nauvlW2/Cpr3M7fLOUfQZ7TNljwJ9612+VTbUepZQmxZQGK/c9hvPwwcvQFxsjNX2\nnc5aQwKBgGZIGnz4X92HBVa0pR27q+2sebWCxjpREPoEE4HnPivn6Vgy6j40O3VB\nikaW6laDlWHPzYorQeLcZLoiI6yBn5v3unT4Aq74c/mgjBZbsJs+BC6WILWpeV3s\nlN7WgGVHSbBqaBAkMdIrH6IK8dnjYsHq5yO9xtdYmkVZoHEoah8h\n-----END
416 931
        RSA PRIVATE KEY-----\n","cert":"-----BEGIN CERTIFICATE-----\nMIIFqTCCA5GgAwIBAgIIBitiT9Rbj7QwDQYJKoZIhvcNAQEFBQAwgaQxCzAJBgNV\nBAYTAlVTMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGluYTEWMBQGA1UECgwNUmVkIEhh\ndCwgSW5jLjEYMBYGA1UECwwPUmVkIEhhdCBOZXR3b3JrMSQwIgYDVQQDDBtSZWQg\nSGF0IENhbmRsZXBpbiBBdXRob3JpdHkxJDAiBgkqhkiG9w0BCQEWFWNhLXN1cHBv\ncnRAcmVkaGF0LmNvbTAeFw0xNjA4MTYxMjI5MzFaFw0xNzA4MTYxMjI5MzFaMC8x\nLTArBgNVBAMTJGQ0NWFjNzU0LTU2ZTgtNDI1ZS1hNmVmLTIwMjg5NTNmNmYyYzCC\nASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ0eNbawx+iyeE6G6e967LzO\n0pfpzCLVzVux0o4SkIO/JxaLTGhkQfV0t8+8Myrbp6iB3I9/FMBgRNNaiyDu2gVy\nRwHg4mVSXUWqtN33KUFNzssAsM483yEcWD/LuUtW4xOtEF8L/mqNJ2xGCeORAZhc\nmy+jSQXAE7Lz02nUc8tt+pJNIZziZfiF11PtvXho2Oxll45vkGH//whzfp4BIfIP\n7MUmnwzOsO2ZT4vRyUmlyt+t0f57svuCqmBNDB2v+yMm/h58kBJ/107hSyZN/xCq\n+4MMTlVdop+gkBHlyzblnpNV7VMwQy/4zzaKMBTNfJJmAQYOfzN4KjF+HlwVX8UC\nAwEAAaOCAVEwggFNMBEGCWCGSAGG+EIBAQQEAwIFoDALBgNVHQ8EBAMCBLAwgd4G\nA1UdIwSB1jCB04AUdy6lzTcNqOHT6mHFVmdD6JHHbRyhgbekgbQwgbExCzAJBgNV\nBAYTAlVTMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGluYTEWMBQGA1UECgwNUmVkIEhh\ndCwgSW5jLjEYMBYGA1UECwwPUmVkIEhhdCBOZXR3b3JrMTEwLwYDVQQDDChSZWQg\nSGF0IEVudGl0bGVtZW50IE9wZXJhdGlvbnMgQXV0aG9yaXR5MSQwIgYJKoZIhvcN\nAQkBFhVjYS1zdXBwb3J0QHJlZGhhdC5jb22CAT8wHQYDVR0OBBYEFI7UL/Bk0UoE\n9FSjYlUJle0cykonMBMGA1UdJQQMMAoGCCsGAQUFBwMCMBYGA1UdEQQPMA2GC0NO\nPVRlc3RDb3JwMA0GCSqGSIb3DQEBBQUAA4ICAQBp4djGKuE+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
417
        CERTIFICATE-----\n","id":"ff80808156eb30a6015704818a91065f","serial":{"id":8261278538809906032,"revoked":false,"collected":false,"expiration":"2017-08-16T12:29:31.000+0000","serial":8261278538809906032,"created":"2016-09-07T11:56:21.009+0000","updated":"2016-09-07T11:56:21.009+0000"},"created":"2016-09-07T11:56:21.009+0000","updated":"2016-09-07T11:56:21.009+0000"},"type":{"id":"ff80808156eb30a60156ebcdc4930005","label":"satellite","manifest":true,"created":"2016-09-02T16:49:06.195+0000","updated":"2016-09-02T16:49:06.195+0000"},"ownerId":"ff80808156eb30a60157024c785205e2","webUrl":"access.stage.redhat.com/management/distributors/","apiUrl":"https://subscription.rhn.stage.redhat.com/subscription/consumers/","created":"2016-09-07T11:56:21.010+0000","updated":"2016-09-07T11:56:21.010+0000"},"logLevel":null,"href":"/owners/testcorp","created":"2016-09-07T01:39:08.498+0000","updated":"2016-09-07T11:56:21.159+0000"},"redhat_repository_url":"https://cdn.redhat.com","service_levels":["Premium","Standard"],"service_level":null,"select_all_types":[],"description":"Testing
418
        today for a better tomorrow","created_at":"2016-09-07 01:39:03 UTC","updated_at":"2016-09-07
419
        01:39:03 UTC","ancestry":null,"parent_id":null,"parent_name":null,"id":9,"name":"Test
420
        Corporation","title":"Test Corporation","users":[],"smart_proxies":[{"name":"katello.example.com","id":1,"url":"https://katello.example.com:9090"}],"subnets":[{"id":5,"name":"Test
421
        Subnet","network_address":"192.168.100.1/24"}],"compute_resources":[],"media":[],"config_templates":[{"id":90,"name":"Katello
422
        Atomic Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":89,"name":"subscription_manager_registration","template_kind_id":null,"template_kind_name":null},{"id":88,"name":"Katello
423
        Kickstart Default Finish","template_kind_id":6,"template_kind_name":"finish"},{"id":87,"name":"Katello
424
        Kickstart Default User Data","template_kind_id":8,"template_kind_name":"user_data"},{"id":86,"name":"Katello
425
        Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":72,"name":"pxegrub2_discovery","template_kind_id":null,"template_kind_name":null},{"id":71,"name":"pxegrub_discovery","template_kind_id":null,"template_kind_name":null},{"id":70,"name":"pxegrub2_chainload","template_kind_id":null,"template_kind_name":null},{"id":69,"name":"pxegrub_chainload","template_kind_id":null,"template_kind_name":null},{"id":68,"name":"pxelinux_chainload","template_kind_id":null,"template_kind_name":null},{"id":67,"name":"kickstart_cmdline","template_kind_id":null,"template_kind_name":null},{"id":66,"name":"saltstack_setup","template_kind_id":null,"template_kind_name":null},{"id":61,"name":"puppetlabs_repo","template_kind_id":null,"template_kind_name":null},{"id":60,"name":"puppet_setup","template_kind_id":null,"template_kind_name":null},{"id":59,"name":"puppet.conf","template_kind_id":null,"template_kind_name":null},{"id":58,"name":"preseed_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":57,"name":"kickstart_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":56,"name":"http_proxy","template_kind_id":null,"template_kind_name":null},{"id":55,"name":"freeipa_register","template_kind_id":null,"template_kind_name":null},{"id":54,"name":"fix_hosts","template_kind_id":null,"template_kind_name":null},{"id":53,"name":"epel","template_kind_id":null,"template_kind_name":null},{"id":52,"name":"coreos_cloudconfig","template_kind_id":null,"template_kind_name":null},{"id":51,"name":"chef_client","template_kind_id":null,"template_kind_name":null},{"id":50,"name":"bmc_nic_setup","template_kind_id":null,"template_kind_name":null},{"id":49,"name":"alterator_pkglist","template_kind_id":null,"template_kind_name":null},{"id":48,"name":"XenServer
932
        CERTIFICATE-----\n","id":"ff808081577bae9001577bc066890293","serial":{"id":1063893136250440125,"revoked":false,"collected":false,"expiration":"2017-08-16T12:29:31.000+0000","serial":1063893136250440125,"created":"2016-09-30T15:39:49.256+0000","updated":"2016-09-30T15:39:49.256+0000"},"created":"2016-09-30T15:39:49.257+0000","updated":"2016-09-30T15:39:49.257+0000"},"type":{"id":"ff808081577bae9001577bb6eb940000","label":"satellite","manifest":true,"created":"2016-09-30T15:29:27.954+0000","updated":"2016-09-30T15:29:27.954+0000"},"ownerId":"ff808081577b8f0201577ba5d9850003","webUrl":"access.stage.redhat.com/management/distributors/","apiUrl":"https://subscription.rhn.stage.redhat.com/subscription/consumers/","created":"2016-09-30T15:39:49.257+0000","updated":"2016-09-30T15:39:49.257+0000"},"logLevel":null,"href":"/owners/testcorp","created":"2016-09-30T15:10:49.221+0000","updated":"2016-09-30T15:39:49.608+0000"},"redhat_repository_url":"https://cdn.redhat.com","service_levels":["Premium","Standard"],"service_level":null,"select_all_types":[],"description":"Testing
933
        today for a better tomorrow","created_at":"2016-09-30 15:10:48 UTC","updated_at":"2016-09-30
934
        15:10:48 UTC","ancestry":null,"parent_id":null,"parent_name":null,"id":8,"name":"Test
935
        Corporation","title":"Test Corporation","users":[],"smart_proxies":[{"name":"testing.example.com","id":1,"url":"https://testing.example.com:9090"}],"subnets":[{"id":1,"name":"Test
936
        Subnet","network_address":"192.168.100.1/24"}],"compute_resources":[],"media":[],"config_templates":[{"id":89,"name":"Katello
937
        Atomic Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":88,"name":"subscription_manager_registration","template_kind_id":null,"template_kind_name":null},{"id":87,"name":"Katello
938
        Kickstart Default Finish","template_kind_id":6,"template_kind_name":"finish"},{"id":86,"name":"Katello
939
        Kickstart Default User Data","template_kind_id":8,"template_kind_name":"user_data"},{"id":85,"name":"Katello
940
        Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":71,"name":"pxegrub2_discovery","template_kind_id":null,"template_kind_name":null},{"id":70,"name":"pxegrub_discovery","template_kind_id":null,"template_kind_name":null},{"id":69,"name":"pxegrub2_chainload","template_kind_id":null,"template_kind_name":null},{"id":68,"name":"pxegrub_chainload","template_kind_id":null,"template_kind_name":null},{"id":67,"name":"pxelinux_chainload","template_kind_id":null,"template_kind_name":null},{"id":66,"name":"saltstack_setup","template_kind_id":null,"template_kind_name":null},{"id":61,"name":"puppetlabs_repo","template_kind_id":null,"template_kind_name":null},{"id":60,"name":"puppet_setup","template_kind_id":null,"template_kind_name":null},{"id":59,"name":"puppet.conf","template_kind_id":null,"template_kind_name":null},{"id":58,"name":"preseed_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":57,"name":"kickstart_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":56,"name":"http_proxy","template_kind_id":null,"template_kind_name":null},{"id":55,"name":"freeipa_register","template_kind_id":null,"template_kind_name":null},{"id":54,"name":"fix_hosts","template_kind_id":null,"template_kind_name":null},{"id":53,"name":"epel","template_kind_id":null,"template_kind_name":null},{"id":52,"name":"coreos_cloudconfig","template_kind_id":null,"template_kind_name":null},{"id":51,"name":"chef_client","template_kind_id":null,"template_kind_name":null},{"id":50,"name":"bmc_nic_setup","template_kind_id":null,"template_kind_name":null},{"id":49,"name":"alterator_pkglist","template_kind_id":null,"template_kind_name":null},{"id":48,"name":"XenServer
426 941
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":47,"name":"XenServer
427 942
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":46,"name":"XenServer
428 943
        default answerfile","template_kind_id":5,"template_kind_name":"provision"},{"id":45,"name":"WAIK
......
470 985
        default local boot","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":3,"name":"PXEGrub2
471 986
        global default","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":2,"name":"PXEGrub
472 987
        global default","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":1,"name":"PXELinux
473
        global default","template_kind_id":1,"template_kind_name":"PXELinux"}],"ptables":[{"os_family":"Xenserver","created_at":"2016-09-02
474
        14:01:03 UTC","updated_at":"2016-09-02 14:01:03 UTC","name":"XenServer default","id":85},{"os_family":"Debian","created_at":"2016-09-02
475
        14:01:03 UTC","updated_at":"2016-09-02 14:01:03 UTC","name":"Preseed custom
476
        LVM","id":84},{"os_family":"Debian","created_at":"2016-09-02 14:01:03 UTC","updated_at":"2016-09-02
477
        14:01:03 UTC","name":"Preseed default","id":83},{"os_family":"NXOS","created_at":"2016-09-02
478
        14:01:03 UTC","updated_at":"2016-09-02 14:01:03 UTC","name":"NX-OS default
479
        fake","id":82},{"os_family":"Redhat","created_at":"2016-09-02 14:01:03 UTC","updated_at":"2016-09-02
480
        14:01:03 UTC","name":"Kickstart default","id":81},{"os_family":"Junos","created_at":"2016-09-02
481
        14:01:03 UTC","updated_at":"2016-09-02 14:01:03 UTC","name":"Junos default
482
        fake","id":80},{"os_family":"Solaris","created_at":"2016-09-02 14:01:03 UTC","updated_at":"2016-09-02
483
        14:01:03 UTC","name":"Jumpstart mirrored","id":79},{"os_family":"Solaris","created_at":"2016-09-02
484
        14:01:03 UTC","updated_at":"2016-09-02 14:01:03 UTC","name":"Jumpstart default","id":78},{"os_family":"Freebsd","created_at":"2016-09-02
485
        14:01:03 UTC","updated_at":"2016-09-02 14:01:03 UTC","name":"FreeBSD","id":77},{"os_family":"Coreos","created_at":"2016-09-02
486
        14:01:03 UTC","updated_at":"2016-09-02 14:01:03 UTC","name":"CoreOS default
487
        fake","id":76},{"os_family":"Suse","created_at":"2016-09-02 14:01:02 UTC","updated_at":"2016-09-02
488
        14:01:02 UTC","name":"AutoYaST LVM","id":75},{"os_family":"Suse","created_at":"2016-09-02
489
        14:01:02 UTC","updated_at":"2016-09-02 14:01:02 UTC","name":"AutoYaST entire
490
        virtual disk","id":74},{"os_family":"Suse","created_at":"2016-09-02 14:01:02
491
        UTC","updated_at":"2016-09-02 14:01:02 UTC","name":"AutoYaST entire SCSI disk","id":73}],"provisioning_templates":[{"id":90,"name":"Katello
492
        Atomic Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":89,"name":"subscription_manager_registration","template_kind_id":null,"template_kind_name":null},{"id":88,"name":"Katello
493
        Kickstart Default Finish","template_kind_id":6,"template_kind_name":"finish"},{"id":87,"name":"Katello
494
        Kickstart Default User Data","template_kind_id":8,"template_kind_name":"user_data"},{"id":86,"name":"Katello
495
        Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":72,"name":"pxegrub2_discovery","template_kind_id":null,"template_kind_name":null},{"id":71,"name":"pxegrub_discovery","template_kind_id":null,"template_kind_name":null},{"id":70,"name":"pxegrub2_chainload","template_kind_id":null,"template_kind_name":null},{"id":69,"name":"pxegrub_chainload","template_kind_id":null,"template_kind_name":null},{"id":68,"name":"pxelinux_chainload","template_kind_id":null,"template_kind_name":null},{"id":67,"name":"kickstart_cmdline","template_kind_id":null,"template_kind_name":null},{"id":66,"name":"saltstack_setup","template_kind_id":null,"template_kind_name":null},{"id":61,"name":"puppetlabs_repo","template_kind_id":null,"template_kind_name":null},{"id":60,"name":"puppet_setup","template_kind_id":null,"template_kind_name":null},{"id":59,"name":"puppet.conf","template_kind_id":null,"template_kind_name":null},{"id":58,"name":"preseed_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":57,"name":"kickstart_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":56,"name":"http_proxy","template_kind_id":null,"template_kind_name":null},{"id":55,"name":"freeipa_register","template_kind_id":null,"template_kind_name":null},{"id":54,"name":"fix_hosts","template_kind_id":null,"template_kind_name":null},{"id":53,"name":"epel","template_kind_id":null,"template_kind_name":null},{"id":52,"name":"coreos_cloudconfig","template_kind_id":null,"template_kind_name":null},{"id":51,"name":"chef_client","template_kind_id":null,"template_kind_name":null},{"id":50,"name":"bmc_nic_setup","template_kind_id":null,"template_kind_name":null},{"id":49,"name":"alterator_pkglist","template_kind_id":null,"template_kind_name":null},{"id":48,"name":"XenServer
988
        global default","template_kind_id":1,"template_kind_name":"PXELinux"}],"ptables":[{"os_family":"Xenserver","created_at":"2016-09-30
989
        14:47:09 UTC","updated_at":"2016-09-30 14:47:09 UTC","name":"XenServer default","id":84},{"os_family":"Debian","created_at":"2016-09-30
990
        14:47:09 UTC","updated_at":"2016-09-30 14:47:09 UTC","name":"Preseed custom
991
        LVM","id":83},{"os_family":"Debian","created_at":"2016-09-30 14:47:09 UTC","updated_at":"2016-09-30
992
        14:47:09 UTC","name":"Preseed default","id":82},{"os_family":"NXOS","created_at":"2016-09-30
993
        14:47:09 UTC","updated_at":"2016-09-30 14:47:09 UTC","name":"NX-OS default
994
        fake","id":81},{"os_family":"Redhat","created_at":"2016-09-30 14:47:09 UTC","updated_at":"2016-09-30
995
        14:47:09 UTC","name":"Kickstart default","id":80},{"os_family":"Junos","created_at":"2016-09-30
996
        14:47:09 UTC","updated_at":"2016-09-30 14:47:09 UTC","name":"Junos default
997
        fake","id":79},{"os_family":"Solaris","created_at":"2016-09-30 14:47:09 UTC","updated_at":"2016-09-30
998
        14:47:09 UTC","name":"Jumpstart mirrored","id":78},{"os_family":"Solaris","created_at":"2016-09-30
999
        14:47:09 UTC","updated_at":"2016-09-30 14:47:09 UTC","name":"Jumpstart default","id":77},{"os_family":"Freebsd","created_at":"2016-09-30
1000
        14:47:09 UTC","updated_at":"2016-09-30 14:47:09 UTC","name":"FreeBSD","id":76},{"os_family":"Coreos","created_at":"2016-09-30
1001
        14:47:09 UTC","updated_at":"2016-09-30 14:47:09 UTC","name":"CoreOS default
1002
        fake","id":75},{"os_family":"Suse","created_at":"2016-09-30 14:47:09 UTC","updated_at":"2016-09-30
1003
        14:47:09 UTC","name":"AutoYaST LVM","id":74},{"os_family":"Suse","created_at":"2016-09-30
1004
        14:47:09 UTC","updated_at":"2016-09-30 14:47:09 UTC","name":"AutoYaST entire
1005
        virtual disk","id":73},{"os_family":"Suse","created_at":"2016-09-30 14:47:09
1006
        UTC","updated_at":"2016-09-30 14:47:09 UTC","name":"AutoYaST entire SCSI disk","id":72}],"provisioning_templates":[{"id":89,"name":"Katello
1007
        Atomic Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":88,"name":"subscription_manager_registration","template_kind_id":null,"template_kind_name":null},{"id":87,"name":"Katello
1008
        Kickstart Default Finish","template_kind_id":6,"template_kind_name":"finish"},{"id":86,"name":"Katello
1009
        Kickstart Default User Data","template_kind_id":8,"template_kind_name":"user_data"},{"id":85,"name":"Katello
1010
        Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":71,"name":"pxegrub2_discovery","template_kind_id":null,"template_kind_name":null},{"id":70,"name":"pxegrub_discovery","template_kind_id":null,"template_kind_name":null},{"id":69,"name":"pxegrub2_chainload","template_kind_id":null,"template_kind_name":null},{"id":68,"name":"pxegrub_chainload","template_kind_id":null,"template_kind_name":null},{"id":67,"name":"pxelinux_chainload","template_kind_id":null,"template_kind_name":null},{"id":66,"name":"saltstack_setup","template_kind_id":null,"template_kind_name":null},{"id":61,"name":"puppetlabs_repo","template_kind_id":null,"template_kind_name":null},{"id":60,"name":"puppet_setup","template_kind_id":null,"template_kind_name":null},{"id":59,"name":"puppet.conf","template_kind_id":null,"template_kind_name":null},{"id":58,"name":"preseed_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":57,"name":"kickstart_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":56,"name":"http_proxy","template_kind_id":null,"template_kind_name":null},{"id":55,"name":"freeipa_register","template_kind_id":null,"template_kind_name":null},{"id":54,"name":"fix_hosts","template_kind_id":null,"template_kind_name":null},{"id":53,"name":"epel","template_kind_id":null,"template_kind_name":null},{"id":52,"name":"coreos_cloudconfig","template_kind_id":null,"template_kind_name":null},{"id":51,"name":"chef_client","template_kind_id":null,"template_kind_name":null},{"id":50,"name":"bmc_nic_setup","template_kind_id":null,"template_kind_name":null},{"id":49,"name":"alterator_pkglist","template_kind_id":null,"template_kind_name":null},{"id":48,"name":"XenServer
496 1011
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":47,"name":"XenServer
497 1012
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":46,"name":"XenServer
498 1013
        default answerfile","template_kind_id":5,"template_kind_name":"provision"},{"id":45,"name":"WAIK
......
540 1055
        default local boot","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":3,"name":"PXEGrub2
541 1056
        global default","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":2,"name":"PXEGrub
542 1057
        global default","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":1,"name":"PXELinux
543
        global default","template_kind_id":1,"template_kind_name":"PXELinux"}],"domains":[{"id":2,"name":"test.com"}],"realms":[],"environments":[],"hostgroups":[],"locations":[],"parameters":[],"default_content_view_id":4,"library_id":7}'
1058
        global default","template_kind_id":1,"template_kind_name":"PXELinux"}],"domains":[{"id":1,"name":"test.com"}],"realms":[],"environments":[],"hostgroups":[],"locations":[],"parameters":[],"default_content_view_id":2,"library_id":2}'
544 1059
    http_version: 
545
  recorded_at: Mon, 12 Sep 2016 15:39:38 GMT
1060
  recorded_at: Fri, 30 Sep 2016 15:40:00 GMT
546 1061
- request:
547 1062
    method: put
548
    uri: https://admin:changeme@katello.example.com:50191/katello/api/organizations/9
1063
    uri: https://admin:changeme@katello.example.com:50218/katello/api/organizations/8
549 1064
    body:
550 1065
      encoding: UTF-8
551
      string: '{"organization":{"domain_ids":[2]}}'
1066
      string: '{"organization":{"domain_ids":[1]}}'
552 1067
    headers:
553 1068
      Accept:
554 1069
      - application/json;version=2
......
558 1073
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.10p492
559 1074
      Content-Type:
560 1075
      - application/json
1076
      Accept-Language:
1077
      - en
561 1078
      Content-Length:
562 1079
      - '35'
563 1080
      Host:
564
      - katello.example.com:50191
1081
      - katello.example.com:50218
565 1082
  response:
566 1083
    status:
567 1084
      code: 200
568
      message: OK
1085
      message: 'OK '
569 1086
    headers:
570 1087
      Date:
571
      - Mon, 12 Sep 2016 15:39:37 GMT
1088
      - Fri, 30 Sep 2016 15:40:00 GMT
572 1089
      Server:
573
      - Apache/2.4.6 (CentOS)
574
      X-Frame-Options:
575
      - SAMEORIGIN
576
      X-Xss-Protection:
577
      - 1; mode=block
578
      X-Content-Type-Options:
579
      - nosniff
1090
      - WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
580 1091
      Foreman-Version:
581 1092
      - 1.14.0-develop
582 1093
      Foreman-Api-Version:
......
584 1095
      Content-Type:
585 1096
      - application/json; charset=utf-8
586 1097
      Apipie-Checksum:
587
      - 9544abef9cf8343005f07ed8c9f1f8e7
1098
      - 68d37bf606b9a03df6e1e749d6054009
588 1099
      Etag:
589
      - W/"629f8d491c90ac79b4b7bedb2e2e8c86-gzip"
1100
      - W/"72efb42fc0758be104610e803de29d0e-gzip"
590 1101
      Cache-Control:
591 1102
      - max-age=0, private, must-revalidate
592 1103
      X-Request-Id:
593
      - 71738a95-2c5b-468e-b8fd-30eb93400f88
1104
      - b6b715e6-0b5e-4042-b32b-8aa2e2716b19
594 1105
      X-Runtime:
595
      - '3.968352'
1106
      - '1.466594'
1107
      Content-Security-Policy:
1108
      - 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
1109
        img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
1110
        ''self''; style-src ''unsafe-inline'' ''self'''
1111
      Strict-Transport-Security:
1112
      - max-age=631152000; includeSubdomains
1113
      X-Content-Type-Options:
1114
      - nosniff
1115
      X-Download-Options:
1116
      - noopen
1117
      X-Frame-Options:
1118
      - sameorigin
1119
      X-Permitted-Cross-Domain-Policies:
1120
      - none
1121
      X-Xss-Protection:
1122
      - 1; mode=block
596 1123
      Via:
597
      - 1.1 katello.example.com:50191
1124
      - 1.1 testing.example.com:50218
598 1125
      Vary:
599 1126
      - Accept-Encoding
600 1127
      Content-Length:
601
      - '16675'
1128
      - '16501'
602 1129
      Set-Cookie:
603
      - _session_id=2d678ac0516ada3f953508dabf5a300b; path=/; HttpOnly
1130
      - _session_id=8f3ed7c7e43447b049aca4fe753ebb07; path=/; HttpOnly
604 1131
      - request_method=PUT; path=/
605 1132
    body:
606 1133
      encoding: ASCII-8BIT
607
      string: '{"select_all_types":[],"description":"Testing today for a better tomorrow","created_at":"2016-09-07
608
        01:39:03 UTC","updated_at":"2016-09-07 01:39:03 UTC","ancestry":null,"parent_id":null,"parent_name":null,"id":9,"name":"Test
609
        Corporation","title":"Test Corporation","users":[],"smart_proxies":[{"name":"katello.example.com","id":1,"url":"https://katello.example.com:9090"}],"subnets":[{"id":5,"name":"Test
610
        Subnet","network_address":"192.168.100.1/24"}],"compute_resources":[],"media":[],"config_templates":[{"id":90,"name":"Katello
611
        Atomic Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":89,"name":"subscription_manager_registration","template_kind_id":null,"template_kind_name":null},{"id":88,"name":"Katello
612
        Kickstart Default Finish","template_kind_id":6,"template_kind_name":"finish"},{"id":87,"name":"Katello
613
        Kickstart Default User Data","template_kind_id":8,"template_kind_name":"user_data"},{"id":86,"name":"Katello
614
        Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":72,"name":"pxegrub2_discovery","template_kind_id":null,"template_kind_name":null},{"id":71,"name":"pxegrub_discovery","template_kind_id":null,"template_kind_name":null},{"id":70,"name":"pxegrub2_chainload","template_kind_id":null,"template_kind_name":null},{"id":69,"name":"pxegrub_chainload","template_kind_id":null,"template_kind_name":null},{"id":68,"name":"pxelinux_chainload","template_kind_id":null,"template_kind_name":null},{"id":67,"name":"kickstart_cmdline","template_kind_id":null,"template_kind_name":null},{"id":66,"name":"saltstack_setup","template_kind_id":null,"template_kind_name":null},{"id":61,"name":"puppetlabs_repo","template_kind_id":null,"template_kind_name":null},{"id":60,"name":"puppet_setup","template_kind_id":null,"template_kind_name":null},{"id":59,"name":"puppet.conf","template_kind_id":null,"template_kind_name":null},{"id":58,"name":"preseed_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":57,"name":"kickstart_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":56,"name":"http_proxy","template_kind_id":null,"template_kind_name":null},{"id":55,"name":"freeipa_register","template_kind_id":null,"template_kind_name":null},{"id":54,"name":"fix_hosts","template_kind_id":null,"template_kind_name":null},{"id":53,"name":"epel","template_kind_id":null,"template_kind_name":null},{"id":52,"name":"coreos_cloudconfig","template_kind_id":null,"template_kind_name":null},{"id":51,"name":"chef_client","template_kind_id":null,"template_kind_name":null},{"id":50,"name":"bmc_nic_setup","template_kind_id":null,"template_kind_name":null},{"id":49,"name":"alterator_pkglist","template_kind_id":null,"template_kind_name":null},{"id":48,"name":"XenServer
1134
      string: '{"select_all_types":[],"description":"Testing today for a better tomorrow","created_at":"2016-09-30
1135
        15:10:48 UTC","updated_at":"2016-09-30 15:10:48 UTC","ancestry":null,"parent_id":null,"parent_name":null,"id":8,"name":"Test
1136
        Corporation","title":"Test Corporation","users":[],"smart_proxies":[{"name":"testing.example.com","id":1,"url":"https://testing.example.com:9090"}],"subnets":[{"id":1,"name":"Test
1137
        Subnet","network_address":"192.168.100.1/24"}],"compute_resources":[],"media":[],"config_templates":[{"id":89,"name":"Katello
1138
        Atomic Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":88,"name":"subscription_manager_registration","template_kind_id":null,"template_kind_name":null},{"id":87,"name":"Katello
1139
        Kickstart Default Finish","template_kind_id":6,"template_kind_name":"finish"},{"id":86,"name":"Katello
1140
        Kickstart Default User Data","template_kind_id":8,"template_kind_name":"user_data"},{"id":85,"name":"Katello
1141
        Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":71,"name":"pxegrub2_discovery","template_kind_id":null,"template_kind_name":null},{"id":70,"name":"pxegrub_discovery","template_kind_id":null,"template_kind_name":null},{"id":69,"name":"pxegrub2_chainload","template_kind_id":null,"template_kind_name":null},{"id":68,"name":"pxegrub_chainload","template_kind_id":null,"template_kind_name":null},{"id":67,"name":"pxelinux_chainload","template_kind_id":null,"template_kind_name":null},{"id":66,"name":"saltstack_setup","template_kind_id":null,"template_kind_name":null},{"id":61,"name":"puppetlabs_repo","template_kind_id":null,"template_kind_name":null},{"id":60,"name":"puppet_setup","template_kind_id":null,"template_kind_name":null},{"id":59,"name":"puppet.conf","template_kind_id":null,"template_kind_name":null},{"id":58,"name":"preseed_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":57,"name":"kickstart_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":56,"name":"http_proxy","template_kind_id":null,"template_kind_name":null},{"id":55,"name":"freeipa_register","template_kind_id":null,"template_kind_name":null},{"id":54,"name":"fix_hosts","template_kind_id":null,"template_kind_name":null},{"id":53,"name":"epel","template_kind_id":null,"template_kind_name":null},{"id":52,"name":"coreos_cloudconfig","template_kind_id":null,"template_kind_name":null},{"id":51,"name":"chef_client","template_kind_id":null,"template_kind_name":null},{"id":50,"name":"bmc_nic_setup","template_kind_id":null,"template_kind_name":null},{"id":49,"name":"alterator_pkglist","template_kind_id":null,"template_kind_name":null},{"id":48,"name":"XenServer
615 1142
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":47,"name":"XenServer
616 1143
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":46,"name":"XenServer
617 1144
        default answerfile","template_kind_id":5,"template_kind_name":"provision"},{"id":45,"name":"WAIK
......
659 1186
        default local boot","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":3,"name":"PXEGrub2
660 1187
        global default","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":2,"name":"PXEGrub
661 1188
        global default","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":1,"name":"PXELinux
662
        global default","template_kind_id":1,"template_kind_name":"PXELinux"}],"ptables":[{"os_family":"Xenserver","created_at":"2016-09-02
663
        14:01:03 UTC","updated_at":"2016-09-02 14:01:03 UTC","name":"XenServer default","id":85},{"os_family":"Debian","created_at":"2016-09-02
664
        14:01:03 UTC","updated_at":"2016-09-02 14:01:03 UTC","name":"Preseed custom
665
        LVM","id":84},{"os_family":"Debian","created_at":"2016-09-02 14:01:03 UTC","updated_at":"2016-09-02
666
        14:01:03 UTC","name":"Preseed default","id":83},{"os_family":"NXOS","created_at":"2016-09-02
667
        14:01:03 UTC","updated_at":"2016-09-02 14:01:03 UTC","name":"NX-OS default
668
        fake","id":82},{"os_family":"Redhat","created_at":"2016-09-02 14:01:03 UTC","updated_at":"2016-09-02
669
        14:01:03 UTC","name":"Kickstart default","id":81},{"os_family":"Junos","created_at":"2016-09-02
670
        14:01:03 UTC","updated_at":"2016-09-02 14:01:03 UTC","name":"Junos default
671
        fake","id":80},{"os_family":"Solaris","created_at":"2016-09-02 14:01:03 UTC","updated_at":"2016-09-02
672
        14:01:03 UTC","name":"Jumpstart mirrored","id":79},{"os_family":"Solaris","created_at":"2016-09-02
673
        14:01:03 UTC","updated_at":"2016-09-02 14:01:03 UTC","name":"Jumpstart default","id":78},{"os_family":"Freebsd","created_at":"2016-09-02
674
        14:01:03 UTC","updated_at":"2016-09-02 14:01:03 UTC","name":"FreeBSD","id":77},{"os_family":"Coreos","created_at":"2016-09-02
675
        14:01:03 UTC","updated_at":"2016-09-02 14:01:03 UTC","name":"CoreOS default
676
        fake","id":76},{"os_family":"Suse","created_at":"2016-09-02 14:01:02 UTC","updated_at":"2016-09-02
677
        14:01:02 UTC","name":"AutoYaST LVM","id":75},{"os_family":"Suse","created_at":"2016-09-02
678
        14:01:02 UTC","updated_at":"2016-09-02 14:01:02 UTC","name":"AutoYaST entire
679
        virtual disk","id":74},{"os_family":"Suse","created_at":"2016-09-02 14:01:02
680
        UTC","updated_at":"2016-09-02 14:01:02 UTC","name":"AutoYaST entire SCSI disk","id":73}],"provisioning_templates":[{"id":90,"name":"Katello
681
        Atomic Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":89,"name":"subscription_manager_registration","template_kind_id":null,"template_kind_name":null},{"id":88,"name":"Katello
682
        Kickstart Default Finish","template_kind_id":6,"template_kind_name":"finish"},{"id":87,"name":"Katello
683
        Kickstart Default User Data","template_kind_id":8,"template_kind_name":"user_data"},{"id":86,"name":"Katello
684
        Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":72,"name":"pxegrub2_discovery","template_kind_id":null,"template_kind_name":null},{"id":71,"name":"pxegrub_discovery","template_kind_id":null,"template_kind_name":null},{"id":70,"name":"pxegrub2_chainload","template_kind_id":null,"template_kind_name":null},{"id":69,"name":"pxegrub_chainload","template_kind_id":null,"template_kind_name":null},{"id":68,"name":"pxelinux_chainload","template_kind_id":null,"template_kind_name":null},{"id":67,"name":"kickstart_cmdline","template_kind_id":null,"template_kind_name":null},{"id":66,"name":"saltstack_setup","template_kind_id":null,"template_kind_name":null},{"id":61,"name":"puppetlabs_repo","template_kind_id":null,"template_kind_name":null},{"id":60,"name":"puppet_setup","template_kind_id":null,"template_kind_name":null},{"id":59,"name":"puppet.conf","template_kind_id":null,"template_kind_name":null},{"id":58,"name":"preseed_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":57,"name":"kickstart_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":56,"name":"http_proxy","template_kind_id":null,"template_kind_name":null},{"id":55,"name":"freeipa_register","template_kind_id":null,"template_kind_name":null},{"id":54,"name":"fix_hosts","template_kind_id":null,"template_kind_name":null},{"id":53,"name":"epel","template_kind_id":null,"template_kind_name":null},{"id":52,"name":"coreos_cloudconfig","template_kind_id":null,"template_kind_name":null},{"id":51,"name":"chef_client","template_kind_id":null,"template_kind_name":null},{"id":50,"name":"bmc_nic_setup","template_kind_id":null,"template_kind_name":null},{"id":49,"name":"alterator_pkglist","template_kind_id":null,"template_kind_name":null},{"id":48,"name":"XenServer
1189
        global default","template_kind_id":1,"template_kind_name":"PXELinux"}],"ptables":[{"os_family":"Xenserver","created_at":"2016-09-30
1190
        14:47:09 UTC","updated_at":"2016-09-30 14:47:09 UTC","name":"XenServer default","id":84},{"os_family":"Debian","created_at":"2016-09-30
1191
        14:47:09 UTC","updated_at":"2016-09-30 14:47:09 UTC","name":"Preseed custom
1192
        LVM","id":83},{"os_family":"Debian","created_at":"2016-09-30 14:47:09 UTC","updated_at":"2016-09-30
1193
        14:47:09 UTC","name":"Preseed default","id":82},{"os_family":"NXOS","created_at":"2016-09-30
1194
        14:47:09 UTC","updated_at":"2016-09-30 14:47:09 UTC","name":"NX-OS default
1195
        fake","id":81},{"os_family":"Redhat","created_at":"2016-09-30 14:47:09 UTC","updated_at":"2016-09-30
1196
        14:47:09 UTC","name":"Kickstart default","id":80},{"os_family":"Junos","created_at":"2016-09-30
1197
        14:47:09 UTC","updated_at":"2016-09-30 14:47:09 UTC","name":"Junos default
1198
        fake","id":79},{"os_family":"Solaris","created_at":"2016-09-30 14:47:09 UTC","updated_at":"2016-09-30
1199
        14:47:09 UTC","name":"Jumpstart mirrored","id":78},{"os_family":"Solaris","created_at":"2016-09-30
1200
        14:47:09 UTC","updated_at":"2016-09-30 14:47:09 UTC","name":"Jumpstart default","id":77},{"os_family":"Freebsd","created_at":"2016-09-30
1201
        14:47:09 UTC","updated_at":"2016-09-30 14:47:09 UTC","name":"FreeBSD","id":76},{"os_family":"Coreos","created_at":"2016-09-30
1202
        14:47:09 UTC","updated_at":"2016-09-30 14:47:09 UTC","name":"CoreOS default
1203
        fake","id":75},{"os_family":"Suse","created_at":"2016-09-30 14:47:09 UTC","updated_at":"2016-09-30
1204
        14:47:09 UTC","name":"AutoYaST LVM","id":74},{"os_family":"Suse","created_at":"2016-09-30
1205
        14:47:09 UTC","updated_at":"2016-09-30 14:47:09 UTC","name":"AutoYaST entire
1206
        virtual disk","id":73},{"os_family":"Suse","created_at":"2016-09-30 14:47:09
1207
        UTC","updated_at":"2016-09-30 14:47:09 UTC","name":"AutoYaST entire SCSI disk","id":72}],"provisioning_templates":[{"id":89,"name":"Katello
1208
        Atomic Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":88,"name":"subscription_manager_registration","template_kind_id":null,"template_kind_name":null},{"id":87,"name":"Katello
1209
        Kickstart Default Finish","template_kind_id":6,"template_kind_name":"finish"},{"id":86,"name":"Katello
1210
        Kickstart Default User Data","template_kind_id":8,"template_kind_name":"user_data"},{"id":85,"name":"Katello
1211
        Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":71,"name":"pxegrub2_discovery","template_kind_id":null,"template_kind_name":null},{"id":70,"name":"pxegrub_discovery","template_kind_id":null,"template_kind_name":null},{"id":69,"name":"pxegrub2_chainload","template_kind_id":null,"template_kind_name":null},{"id":68,"name":"pxegrub_chainload","template_kind_id":null,"template_kind_name":null},{"id":67,"name":"pxelinux_chainload","template_kind_id":null,"template_kind_name":null},{"id":66,"name":"saltstack_setup","template_kind_id":null,"template_kind_name":null},{"id":61,"name":"puppetlabs_repo","template_kind_id":null,"template_kind_name":null},{"id":60,"name":"puppet_setup","template_kind_id":null,"template_kind_name":null},{"id":59,"name":"puppet.conf","template_kind_id":null,"template_kind_name":null},{"id":58,"name":"preseed_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":57,"name":"kickstart_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":56,"name":"http_proxy","template_kind_id":null,"template_kind_name":null},{"id":55,"name":"freeipa_register","template_kind_id":null,"template_kind_name":null},{"id":54,"name":"fix_hosts","template_kind_id":null,"template_kind_name":null},{"id":53,"name":"epel","template_kind_id":null,"template_kind_name":null},{"id":52,"name":"coreos_cloudconfig","template_kind_id":null,"template_kind_name":null},{"id":51,"name":"chef_client","template_kind_id":null,"template_kind_name":null},{"id":50,"name":"bmc_nic_setup","template_kind_id":null,"template_kind_name":null},{"id":49,"name":"alterator_pkglist","template_kind_id":null,"template_kind_name":null},{"id":48,"name":"XenServer
685 1212
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":47,"name":"XenServer
686 1213
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":46,"name":"XenServer
687 1214
        default answerfile","template_kind_id":5,"template_kind_name":"provision"},{"id":45,"name":"WAIK
......
729 1256
        default local boot","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":3,"name":"PXEGrub2
730 1257
        global default","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":2,"name":"PXEGrub
731 1258
        global default","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":1,"name":"PXELinux
732
        global default","template_kind_id":1,"template_kind_name":"PXELinux"}],"domains":[{"id":2,"name":"test.com"}],"realms":[],"environments":[],"hostgroups":[],"locations":[],"parameters":[]}'
1259
        global default","template_kind_id":1,"template_kind_name":"PXELinux"}],"domains":[{"id":1,"name":"test.com"}],"realms":[],"environments":[],"hostgroups":[],"locations":[],"parameters":[]}'
733 1260
    http_version: 
734
  recorded_at: Mon, 12 Sep 2016 15:39:42 GMT
1261
  recorded_at: Fri, 30 Sep 2016 15:40:01 GMT
735 1262
recorded_with: VCR 3.0.3

Also available in: Unified diff