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_organizations/setup.yml
2 2
http_interactions:
3 3
- request:
4 4
    method: get
5
    uri: https://admin:changeme@katello.example.com:50191/api/status
5
    uri: https://admin:changeme@katello.example.com:50191/katello/api/organizations/9
6
    body:
7
      encoding: US-ASCII
8
      string: ''
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
      Host:
19
      - katello.example.com:50191
20
  response:
21
    status:
22
      code: 200
23
      message: OK
24
    headers:
25
      Date:
26
      - Mon, 12 Sep 2016 15:40:14 GMT
27
      Server:
28
      - Apache/2.4.6 (CentOS)
29
      X-Frame-Options:
30
      - SAMEORIGIN
31
      X-Xss-Protection:
32
      - 1; mode=block
33
      X-Content-Type-Options:
34
      - nosniff
35
      Foreman-Version:
36
      - 1.14.0-develop
37
      Foreman-Api-Version:
38
      - '2'
39
      Content-Type:
40
      - application/json; charset=utf-8
41
      Apipie-Checksum:
42
      - 9544abef9cf8343005f07ed8c9f1f8e7
43
      Etag:
44
      - W/"253ac9fa8c0d829e51da8f57b05de99d-gzip"
45
      Cache-Control:
46
      - max-age=0, private, must-revalidate
47
      X-Request-Id:
48
      - f9239faf-b57c-4603-acd4-3b027baed9de
49
      X-Runtime:
50
      - '3.602532'
51
      Via:
52
      - 1.1 katello.example.com:50191
53
      Vary:
54
      - Accept-Encoding
55
      Content-Length:
56
      - '21851'
57
      Set-Cookie:
58
      - _session_id=eac6092f2ffe04713dec53402b1aee42; path=/; HttpOnly
59
    body:
60
      encoding: ASCII-8BIT
61
      string: '{"label":"testcorp","owner_details":{"parentOwner":null,"id":"ff80808156eb30a60157024c785205e2","key":"testcorp","displayName":"Test
62
        Corporation","contentPrefix":"/testcorp/$env","defaultServiceLevel":null,"upstreamConsumer":{"id":"ff80808156eb30a6015704818a920660","uuid":"d45ac754-56e8-425e-a6ef-2028953f6f2c","name":"TestCorp","idCert":{"key":"-----BEGIN
63
        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
64
        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
65
        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
66
        today for a better tomorrow","created_at":"2016-09-07 01:39:03 UTC","updated_at":"2016-09-07
67
        01:39:03 UTC","ancestry":null,"parent_id":null,"parent_name":null,"id":9,"name":"Test
68
        Corporation","title":"Test Corporation","users":[],"smart_proxies":[{"name":"katello.example.com","id":1,"url":"https://katello.example.com:9090"}],"subnets":[{"id":5,"name":"Test
69
        Subnet","network_address":"192.168.100.1/24"}],"compute_resources":[],"media":[],"config_templates":[{"id":90,"name":"Katello
70
        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
71
        Kickstart Default Finish","template_kind_id":6,"template_kind_name":"finish"},{"id":87,"name":"Katello
72
        Kickstart Default User Data","template_kind_id":8,"template_kind_name":"user_data"},{"id":86,"name":"Katello
73
        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
74
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":47,"name":"XenServer
75
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":46,"name":"XenServer
76
        default answerfile","template_kind_id":5,"template_kind_name":"provision"},{"id":45,"name":"WAIK
77
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":44,"name":"UserData
78
        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
79
        default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":42,"name":"Preseed
80
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":41,"name":"Preseed
81
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":40,"name":"Preseed
82
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":39,"name":"Preseed
83
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":38,"name":"NX-OS
84
        default POAP setup","template_kind_id":10,"template_kind_name":"POAP"},{"id":37,"name":"Kickstart
85
        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
86
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":35,"name":"Kickstart
87
        default PXEGrub2","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":34,"name":"Kickstart
88
        default PXEGrub","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":33,"name":"Kickstart
89
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":32,"name":"Kickstart
90
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":31,"name":"Kickstart
91
        RHEL default","template_kind_id":5,"template_kind_name":"provision"},{"id":30,"name":"Kickstart
92
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":29,"name":"Junos
93
        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
94
        default ZTP config","template_kind_id":9,"template_kind_name":"ZTP"},{"id":27,"name":"Junos
95
        default SLAX","template_kind_id":5,"template_kind_name":"provision"},{"id":26,"name":"Jumpstart
96
        default PXEGrub","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":25,"name":"Jumpstart
97
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":24,"name":"Jumpstart
98
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":23,"name":"Grubby
99
        default","template_kind_id":7,"template_kind_name":"script"},{"id":22,"name":"FreeBSD
100
        (mfsBSD) PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":21,"name":"FreeBSD
101
        (mfsBSD) provision","template_kind_id":5,"template_kind_name":"provision"},{"id":20,"name":"FreeBSD
102
        (mfsBSD) finish","template_kind_id":6,"template_kind_name":"finish"},{"id":19,"name":"CoreOS
103
        PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":18,"name":"CoreOS
104
        provision","template_kind_id":5,"template_kind_name":"provision"},{"id":17,"name":"AutoYaST
105
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":16,"name":"AutoYaST
106
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":15,"name":"AutoYaST
107
        SLES default","template_kind_id":5,"template_kind_name":"provision"},{"id":14,"name":"AutoYaST
108
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":13,"name":"Atomic
109
        Kickstart default","template_kind_id":5,"template_kind_name":"provision"},{"id":12,"name":"Alterator
110
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":11,"name":"Alterator
111
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":10,"name":"Alterator
112
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":9,"name":"PXELinux
113
        chain iPXE UNDI","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":8,"name":"PXELinux
114
        chain iPXE","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":7,"name":"PXELinux
115
        default memdisk","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":6,"name":"PXEGrub2
116
        default local boot","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":5,"name":"PXEGrub
117
        default local boot","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":4,"name":"PXELinux
118
        default local boot","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":3,"name":"PXEGrub2
119
        global default","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":2,"name":"PXEGrub
120
        global default","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":1,"name":"PXELinux
121
        global default","template_kind_id":1,"template_kind_name":"PXELinux"}],"ptables":[{"os_family":"Xenserver","created_at":"2016-09-02
122
        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
123
        14:01:03 UTC","updated_at":"2016-09-02 14:01:03 UTC","name":"Preseed custom
124
        LVM","id":84},{"os_family":"Debian","created_at":"2016-09-02 14:01:03 UTC","updated_at":"2016-09-02
125
        14:01:03 UTC","name":"Preseed default","id":83},{"os_family":"NXOS","created_at":"2016-09-02
126
        14:01:03 UTC","updated_at":"2016-09-02 14:01:03 UTC","name":"NX-OS default
127
        fake","id":82},{"os_family":"Redhat","created_at":"2016-09-02 14:01:03 UTC","updated_at":"2016-09-02
128
        14:01:03 UTC","name":"Kickstart default","id":81},{"os_family":"Junos","created_at":"2016-09-02
129
        14:01:03 UTC","updated_at":"2016-09-02 14:01:03 UTC","name":"Junos default
130
        fake","id":80},{"os_family":"Solaris","created_at":"2016-09-02 14:01:03 UTC","updated_at":"2016-09-02
131
        14:01:03 UTC","name":"Jumpstart mirrored","id":79},{"os_family":"Solaris","created_at":"2016-09-02
132
        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
133
        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
134
        14:01:03 UTC","updated_at":"2016-09-02 14:01:03 UTC","name":"CoreOS default
135
        fake","id":76},{"os_family":"Suse","created_at":"2016-09-02 14:01:02 UTC","updated_at":"2016-09-02
136
        14:01:02 UTC","name":"AutoYaST LVM","id":75},{"os_family":"Suse","created_at":"2016-09-02
137
        14:01:02 UTC","updated_at":"2016-09-02 14:01:02 UTC","name":"AutoYaST entire
138
        virtual disk","id":74},{"os_family":"Suse","created_at":"2016-09-02 14:01:02
139
        UTC","updated_at":"2016-09-02 14:01:02 UTC","name":"AutoYaST entire SCSI disk","id":73}],"provisioning_templates":[{"id":90,"name":"Katello
140
        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
141
        Kickstart Default Finish","template_kind_id":6,"template_kind_name":"finish"},{"id":87,"name":"Katello
142
        Kickstart Default User Data","template_kind_id":8,"template_kind_name":"user_data"},{"id":86,"name":"Katello
143
        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
144
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":47,"name":"XenServer
145
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":46,"name":"XenServer
146
        default answerfile","template_kind_id":5,"template_kind_name":"provision"},{"id":45,"name":"WAIK
147
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":44,"name":"UserData
148
        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
149
        default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":42,"name":"Preseed
150
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":41,"name":"Preseed
151
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":40,"name":"Preseed
152
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":39,"name":"Preseed
153
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":38,"name":"NX-OS
154
        default POAP setup","template_kind_id":10,"template_kind_name":"POAP"},{"id":37,"name":"Kickstart
155
        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
156
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":35,"name":"Kickstart
157
        default PXEGrub2","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":34,"name":"Kickstart
158
        default PXEGrub","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":33,"name":"Kickstart
159
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":32,"name":"Kickstart
160
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":31,"name":"Kickstart
161
        RHEL default","template_kind_id":5,"template_kind_name":"provision"},{"id":30,"name":"Kickstart
162
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":29,"name":"Junos
163
        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
164
        default ZTP config","template_kind_id":9,"template_kind_name":"ZTP"},{"id":27,"name":"Junos
165
        default SLAX","template_kind_id":5,"template_kind_name":"provision"},{"id":26,"name":"Jumpstart
166
        default PXEGrub","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":25,"name":"Jumpstart
167
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":24,"name":"Jumpstart
168
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":23,"name":"Grubby
169
        default","template_kind_id":7,"template_kind_name":"script"},{"id":22,"name":"FreeBSD
170
        (mfsBSD) PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":21,"name":"FreeBSD
171
        (mfsBSD) provision","template_kind_id":5,"template_kind_name":"provision"},{"id":20,"name":"FreeBSD
172
        (mfsBSD) finish","template_kind_id":6,"template_kind_name":"finish"},{"id":19,"name":"CoreOS
173
        PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":18,"name":"CoreOS
174
        provision","template_kind_id":5,"template_kind_name":"provision"},{"id":17,"name":"AutoYaST
175
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":16,"name":"AutoYaST
176
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":15,"name":"AutoYaST
177
        SLES default","template_kind_id":5,"template_kind_name":"provision"},{"id":14,"name":"AutoYaST
178
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":13,"name":"Atomic
179
        Kickstart default","template_kind_id":5,"template_kind_name":"provision"},{"id":12,"name":"Alterator
180
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":11,"name":"Alterator
181
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":10,"name":"Alterator
182
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":9,"name":"PXELinux
183
        chain iPXE UNDI","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":8,"name":"PXELinux
184
        chain iPXE","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":7,"name":"PXELinux
185
        default memdisk","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":6,"name":"PXEGrub2
186
        default local boot","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":5,"name":"PXEGrub
187
        default local boot","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":4,"name":"PXELinux
188
        default local boot","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":3,"name":"PXEGrub2
189
        global default","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":2,"name":"PXEGrub
190
        global default","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":1,"name":"PXELinux
191
        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}'
192
    http_version: 
193
  recorded_at: Mon, 12 Sep 2016 15:40:18 GMT
194
- request:
195
    method: put
196
    uri: https://admin:changeme@katello.example.com:50191/katello/api/organizations/9
197
    body:
198
      encoding: UTF-8
199
      string: '{"organization":{"id":9,"description":"Testing today for a better tomorrow"}}'
200
    headers:
201
      Accept:
202
      - application/json;version=2
203
      Accept-Encoding:
204
      - gzip, deflate
205
      User-Agent:
206
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.10p492
207
      Content-Type:
208
      - application/json
209
      Content-Length:
210
      - '77'
211
      Host:
212
      - katello.example.com:50191
213
  response:
214
    status:
215
      code: 200
216
      message: OK
217
    headers:
218
      Date:
219
      - Mon, 12 Sep 2016 15:40:18 GMT
220
      Server:
221
      - Apache/2.4.6 (CentOS)
222
      X-Frame-Options:
223
      - SAMEORIGIN
224
      X-Xss-Protection:
225
      - 1; mode=block
226
      X-Content-Type-Options:
227
      - nosniff
228
      Foreman-Version:
229
      - 1.14.0-develop
230
      Foreman-Api-Version:
231
      - '2'
232
      Content-Type:
233
      - application/json; charset=utf-8
234
      Apipie-Checksum:
235
      - 9544abef9cf8343005f07ed8c9f1f8e7
236
      Etag:
237
      - W/"629f8d491c90ac79b4b7bedb2e2e8c86-gzip"
238
      Cache-Control:
239
      - max-age=0, private, must-revalidate
240
      X-Request-Id:
241
      - d4186d5e-be26-4049-96fd-ff85f39f5ade
242
      X-Runtime:
243
      - '4.028317'
244
      Via:
245
      - 1.1 katello.example.com:50191
246
      Vary:
247
      - Accept-Encoding
248
      Content-Length:
249
      - '16675'
250
      Set-Cookie:
251
      - _session_id=9c7d560f0c038d0692da8809dbcf9c0f; path=/; HttpOnly
252
      - request_method=PUT; path=/
253
    body:
254
      encoding: ASCII-8BIT
255
      string: '{"select_all_types":[],"description":"Testing today for a better tomorrow","created_at":"2016-09-07
256
        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
257
        Corporation","title":"Test Corporation","users":[],"smart_proxies":[{"name":"katello.example.com","id":1,"url":"https://katello.example.com:9090"}],"subnets":[{"id":5,"name":"Test
258
        Subnet","network_address":"192.168.100.1/24"}],"compute_resources":[],"media":[],"config_templates":[{"id":90,"name":"Katello
259
        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
260
        Kickstart Default Finish","template_kind_id":6,"template_kind_name":"finish"},{"id":87,"name":"Katello
261
        Kickstart Default User Data","template_kind_id":8,"template_kind_name":"user_data"},{"id":86,"name":"Katello
262
        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
263
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":47,"name":"XenServer
264
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":46,"name":"XenServer
265
        default answerfile","template_kind_id":5,"template_kind_name":"provision"},{"id":45,"name":"WAIK
266
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":44,"name":"UserData
267
        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
268
        default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":42,"name":"Preseed
269
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":41,"name":"Preseed
270
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":40,"name":"Preseed
271
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":39,"name":"Preseed
272
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":38,"name":"NX-OS
273
        default POAP setup","template_kind_id":10,"template_kind_name":"POAP"},{"id":37,"name":"Kickstart
274
        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
275
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":35,"name":"Kickstart
276
        default PXEGrub2","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":34,"name":"Kickstart
277
        default PXEGrub","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":33,"name":"Kickstart
278
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":32,"name":"Kickstart
279
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":31,"name":"Kickstart
280
        RHEL default","template_kind_id":5,"template_kind_name":"provision"},{"id":30,"name":"Kickstart
281
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":29,"name":"Junos
282
        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
283
        default ZTP config","template_kind_id":9,"template_kind_name":"ZTP"},{"id":27,"name":"Junos
284
        default SLAX","template_kind_id":5,"template_kind_name":"provision"},{"id":26,"name":"Jumpstart
285
        default PXEGrub","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":25,"name":"Jumpstart
286
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":24,"name":"Jumpstart
287
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":23,"name":"Grubby
288
        default","template_kind_id":7,"template_kind_name":"script"},{"id":22,"name":"FreeBSD
289
        (mfsBSD) PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":21,"name":"FreeBSD
290
        (mfsBSD) provision","template_kind_id":5,"template_kind_name":"provision"},{"id":20,"name":"FreeBSD
291
        (mfsBSD) finish","template_kind_id":6,"template_kind_name":"finish"},{"id":19,"name":"CoreOS
292
        PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":18,"name":"CoreOS
293
        provision","template_kind_id":5,"template_kind_name":"provision"},{"id":17,"name":"AutoYaST
294
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":16,"name":"AutoYaST
295
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":15,"name":"AutoYaST
296
        SLES default","template_kind_id":5,"template_kind_name":"provision"},{"id":14,"name":"AutoYaST
297
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":13,"name":"Atomic
298
        Kickstart default","template_kind_id":5,"template_kind_name":"provision"},{"id":12,"name":"Alterator
299
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":11,"name":"Alterator
300
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":10,"name":"Alterator
301
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":9,"name":"PXELinux
302
        chain iPXE UNDI","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":8,"name":"PXELinux
303
        chain iPXE","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":7,"name":"PXELinux
304
        default memdisk","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":6,"name":"PXEGrub2
305
        default local boot","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":5,"name":"PXEGrub
306
        default local boot","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":4,"name":"PXELinux
307
        default local boot","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":3,"name":"PXEGrub2
308
        global default","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":2,"name":"PXEGrub
309
        global default","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":1,"name":"PXELinux
310
        global default","template_kind_id":1,"template_kind_name":"PXELinux"}],"ptables":[{"os_family":"Xenserver","created_at":"2016-09-02
311
        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
312
        14:01:03 UTC","updated_at":"2016-09-02 14:01:03 UTC","name":"Preseed custom
313
        LVM","id":84},{"os_family":"Debian","created_at":"2016-09-02 14:01:03 UTC","updated_at":"2016-09-02
314
        14:01:03 UTC","name":"Preseed default","id":83},{"os_family":"NXOS","created_at":"2016-09-02
315
        14:01:03 UTC","updated_at":"2016-09-02 14:01:03 UTC","name":"NX-OS default
316
        fake","id":82},{"os_family":"Redhat","created_at":"2016-09-02 14:01:03 UTC","updated_at":"2016-09-02
317
        14:01:03 UTC","name":"Kickstart default","id":81},{"os_family":"Junos","created_at":"2016-09-02
318
        14:01:03 UTC","updated_at":"2016-09-02 14:01:03 UTC","name":"Junos default
319
        fake","id":80},{"os_family":"Solaris","created_at":"2016-09-02 14:01:03 UTC","updated_at":"2016-09-02
320
        14:01:03 UTC","name":"Jumpstart mirrored","id":79},{"os_family":"Solaris","created_at":"2016-09-02
321
        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
322
        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
323
        14:01:03 UTC","updated_at":"2016-09-02 14:01:03 UTC","name":"CoreOS default
324
        fake","id":76},{"os_family":"Suse","created_at":"2016-09-02 14:01:02 UTC","updated_at":"2016-09-02
325
        14:01:02 UTC","name":"AutoYaST LVM","id":75},{"os_family":"Suse","created_at":"2016-09-02
326
        14:01:02 UTC","updated_at":"2016-09-02 14:01:02 UTC","name":"AutoYaST entire
327
        virtual disk","id":74},{"os_family":"Suse","created_at":"2016-09-02 14:01:02
328
        UTC","updated_at":"2016-09-02 14:01:02 UTC","name":"AutoYaST entire SCSI disk","id":73}],"provisioning_templates":[{"id":90,"name":"Katello
329
        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
330
        Kickstart Default Finish","template_kind_id":6,"template_kind_name":"finish"},{"id":87,"name":"Katello
331
        Kickstart Default User Data","template_kind_id":8,"template_kind_name":"user_data"},{"id":86,"name":"Katello
332
        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
333
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":47,"name":"XenServer
334
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":46,"name":"XenServer
335
        default answerfile","template_kind_id":5,"template_kind_name":"provision"},{"id":45,"name":"WAIK
336
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":44,"name":"UserData
337
        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
338
        default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":42,"name":"Preseed
339
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":41,"name":"Preseed
340
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":40,"name":"Preseed
341
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":39,"name":"Preseed
342
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":38,"name":"NX-OS
343
        default POAP setup","template_kind_id":10,"template_kind_name":"POAP"},{"id":37,"name":"Kickstart
344
        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
345
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":35,"name":"Kickstart
346
        default PXEGrub2","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":34,"name":"Kickstart
347
        default PXEGrub","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":33,"name":"Kickstart
348
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":32,"name":"Kickstart
349
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":31,"name":"Kickstart
350
        RHEL default","template_kind_id":5,"template_kind_name":"provision"},{"id":30,"name":"Kickstart
351
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":29,"name":"Junos
352
        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
353
        default ZTP config","template_kind_id":9,"template_kind_name":"ZTP"},{"id":27,"name":"Junos
354
        default SLAX","template_kind_id":5,"template_kind_name":"provision"},{"id":26,"name":"Jumpstart
355
        default PXEGrub","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":25,"name":"Jumpstart
356
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":24,"name":"Jumpstart
357
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":23,"name":"Grubby
358
        default","template_kind_id":7,"template_kind_name":"script"},{"id":22,"name":"FreeBSD
359
        (mfsBSD) PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":21,"name":"FreeBSD
360
        (mfsBSD) provision","template_kind_id":5,"template_kind_name":"provision"},{"id":20,"name":"FreeBSD
361
        (mfsBSD) finish","template_kind_id":6,"template_kind_name":"finish"},{"id":19,"name":"CoreOS
362
        PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":18,"name":"CoreOS
363
        provision","template_kind_id":5,"template_kind_name":"provision"},{"id":17,"name":"AutoYaST
364
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":16,"name":"AutoYaST
365
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":15,"name":"AutoYaST
366
        SLES default","template_kind_id":5,"template_kind_name":"provision"},{"id":14,"name":"AutoYaST
367
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":13,"name":"Atomic
368
        Kickstart default","template_kind_id":5,"template_kind_name":"provision"},{"id":12,"name":"Alterator
369
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":11,"name":"Alterator
370
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":10,"name":"Alterator
371
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":9,"name":"PXELinux
372
        chain iPXE UNDI","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":8,"name":"PXELinux
373
        chain iPXE","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":7,"name":"PXELinux
374
        default memdisk","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":6,"name":"PXEGrub2
375
        default local boot","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":5,"name":"PXEGrub
376
        default local boot","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":4,"name":"PXELinux
377
        default local boot","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":3,"name":"PXEGrub2
378
        global default","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":2,"name":"PXEGrub
379
        global default","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":1,"name":"PXELinux
380
        global default","template_kind_id":1,"template_kind_name":"PXELinux"}],"domains":[{"id":2,"name":"test.com"}],"realms":[],"environments":[],"hostgroups":[],"locations":[],"parameters":[]}'
381
    http_version: 
382
  recorded_at: Mon, 12 Sep 2016 15:40:22 GMT
383
- request:
384
    method: get
385
    uri: https://admin:changeme@katello.example.com:50218/api/status
6 386
    body:
7 387
      encoding: US-ASCII
8 388
      string: ''
......
16 396
  response:
17 397
    status:
18 398
      code: 200
19
      message: OK
399
      message: 'OK '
20 400
    headers:
21 401
      Date:
22
      - Mon, 12 Sep 2016 15:40:12 GMT
402
      - Fri, 30 Sep 2016 15:40:09 GMT
23 403
      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
404
      - WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
31 405
      Foreman-Version:
32 406
      - 1.14.0-develop
33 407
      Foreman-Api-Version:
......
35 409
      Content-Type:
36 410
      - application/json; charset=utf-8
37 411
      Apipie-Checksum:
38
      - 9544abef9cf8343005f07ed8c9f1f8e7
412
      - 68d37bf606b9a03df6e1e749d6054009
39 413
      Etag:
40 414
      - W/"1316c9d778b9181476af8a9546423fb1-gzip"
41 415
      Cache-Control:
42 416
      - max-age=0, private, must-revalidate
43 417
      X-Request-Id:
44
      - 576cbed4-1f90-4775-bb68-9f78a393fa59
418
      - 6e979e43-ea7e-4674-8598-e637cbe1b175
45 419
      X-Runtime:
46
      - '0.238714'
420
      - '0.086730'
421
      Content-Security-Policy:
422
      - 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
423
        img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
424
        ''self''; style-src ''unsafe-inline'' ''self'''
425
      Strict-Transport-Security:
426
      - max-age=631152000; includeSubdomains
427
      X-Content-Type-Options:
428
      - nosniff
429
      X-Download-Options:
430
      - noopen
431
      X-Frame-Options:
432
      - sameorigin
433
      X-Permitted-Cross-Domain-Policies:
434
      - none
435
      X-Xss-Protection:
436
      - 1; mode=block
47 437
      Via:
48
      - 1.1 katello.example.com:50191
438
      - 1.1 testing.example.com:50218
49 439
      Vary:
50 440
      - Accept-Encoding
51 441
      Content-Length:
52 442
      - '81'
53 443
      Set-Cookie:
54
      - _session_id=b8119d29a7ff12979db673a4a930c5f9; path=/; HttpOnly
444
      - _session_id=9f5c1f4bf8ba687dc5e6ed8762c5c4c6; path=/; HttpOnly
55 445
    body:
56 446
      encoding: UTF-8
57 447
      string: '{"result":"ok","status":200,"version":"1.14.0-develop","api_version":2}'
58 448
    http_version: 
59
  recorded_at: Mon, 12 Sep 2016 15:40:13 GMT
449
  recorded_at: Fri, 30 Sep 2016 15:40:09 GMT
60 450
- request:
61 451
    method: get
62
    uri: https://admin:changeme@katello.example.com:50191/api/v2/plugins
452
    uri: https://admin:changeme@katello.example.com:50218/api/v2/plugins
63 453
    body:
64 454
      encoding: US-ASCII
65 455
      string: ''
......
73 463
  response:
74 464
    status:
75 465
      code: 200
76
      message: OK
466
      message: 'OK '
77 467
    headers:
78 468
      Date:
79
      - Mon, 12 Sep 2016 15:40:12 GMT
469
      - Fri, 30 Sep 2016 15:40:09 GMT
80 470
      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
471
      - WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
88 472
      Foreman-Version:
89 473
      - 1.14.0-develop
90 474
      Foreman-Api-Version:
......
92 476
      Content-Type:
93 477
      - application/json; charset=utf-8
94 478
      Apipie-Checksum:
95
      - 9544abef9cf8343005f07ed8c9f1f8e7
479
      - 68d37bf606b9a03df6e1e749d6054009
96 480
      Etag:
97
      - W/"c547959b2afaff0cf0a8d731005e9365-gzip"
481
      - W/"8f0162a4d2fd78df40b7f264aee93d64-gzip"
98 482
      Cache-Control:
99 483
      - max-age=0, private, must-revalidate
100 484
      X-Request-Id:
101
      - 8a88a6e2-ca2c-4c56-ab87-08c9f9d70bf3
485
      - 72ea2719-8f17-4aee-90bf-51f0e5b992a1
102 486
      X-Runtime:
103
      - '1.255222'
487
      - '0.069597'
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
104 504
      Via:
105
      - 1.1 katello.example.com:50191
505
      - 1.1 testing.example.com:50218
106 506
      Vary:
107 507
      - Accept-Encoding
108 508
      Content-Length:
109
      - '566'
509
      - '565'
110 510
      Set-Cookie:
111
      - _session_id=ab45b275b521ba79c36fd644cc6c4737; path=/; HttpOnly
511
      - _session_id=2e5c3dbeccb17bb91efeb373f01b33af; path=/; HttpOnly
112 512
    body:
113 513
      encoding: ASCII-8BIT
114 514
      string: !binary |-
......
127 527
        Y2UuIEl0IGFsc28gb3B0aW9uYWxseSBwcm92aWRlcyBEeW5mbG93IGluZnJh
128 528
        c3RydWN0dXJlIGZvciB1c2luZyBpdCBmb3IgbWFuYWdpbmcgdGhlIHRhc2tz
129 529
        LlxuIiwidXJsIjoiaHR0cHM6Ly9naXRodWIuY29tL3RoZWZvcmVtYW4vZm9y
130
        ZW1hbi10YXNrcyIsInZlcnNpb24iOiIwLjguMSJ9LHsiaWQiOiJmb3JlbWFu
530
        ZW1hbi10YXNrcyIsInZlcnNpb24iOiIwLjguMiJ9LHsiaWQiOiJmb3JlbWFu
131 531
        X2RvY2tlciIsIm5hbWUiOiJmb3JlbWFuX2RvY2tlciIsImF1dGhvciI6IkRh
132 532
        bmllbCBMb2JhdG8sIEFtb3MgQmVuYXJpIiwiZGVzY3JpcHRpb24iOiJQcm92
133 533
        aXNpb24gYW5kIG1hbmFnZSBEb2NrZXIgY29udGFpbmVycyBhbmQgaW1hZ2Vz
......
136 536
        ZCI6ImthdGVsbG8iLCJuYW1lIjoia2F0ZWxsbyIsImF1dGhvciI6Ik4vQSIs
137 537
        ImRlc2NyaXB0aW9uIjoiQ29udGVudCBhbmQgU3Vic2NyaXB0aW9uIE1hbmFn
138 538
        ZW1lbnQgcGx1Z2luIGZvciBGb3JlbWFuIiwidXJsIjoiaHR0cDovL3d3dy5r
139
        YXRlbGxvLm9yZyIsInZlcnNpb24iOiIzLjIuMCJ9XQp9Cg==
539
        YXRlbGxvLm9yZyIsInZlcnNpb24iOiIzLjMuMCJ9XQp9Cg==
140 540
    http_version: 
141
  recorded_at: Mon, 12 Sep 2016 15:40:14 GMT
541
  recorded_at: Fri, 30 Sep 2016 15:40:10 GMT
142 542
- request:
143 543
    method: get
144
    uri: https://admin:changeme@katello.example.com:50191/katello/api/organizations?per_page=999999
544
    uri: https://admin:changeme@katello.example.com:50218/katello/api/organizations?per_page=999999
145 545
    body:
146 546
      encoding: US-ASCII
147 547
      string: ''
......
154 554
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.10p492
155 555
      Content-Type:
156 556
      - application/json
557
      Accept-Language:
558
      - en
157 559
      Host:
158
      - katello.example.com:50191
560
      - katello.example.com:50218
159 561
  response:
160 562
    status:
161 563
      code: 200
162
      message: OK
564
      message: 'OK '
163 565
    headers:
164 566
      Date:
165
      - Mon, 12 Sep 2016 15:40:14 GMT
567
      - Fri, 30 Sep 2016 15:40:09 GMT
166 568
      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
569
      - WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
174 570
      Foreman-Version:
175 571
      - 1.14.0-develop
176 572
      Foreman-Api-Version:
......
178 574
      Content-Type:
179 575
      - application/json; charset=utf-8
180 576
      Apipie-Checksum:
181
      - 9544abef9cf8343005f07ed8c9f1f8e7
577
      - 68d37bf606b9a03df6e1e749d6054009
182 578
      Etag:
183
      - W/"6f6e523169508346de19ea518f842d6f-gzip"
579
      - W/"758d82fead8e0302548ed1a70bdf6bca-gzip"
184 580
      Cache-Control:
185 581
      - max-age=0, private, must-revalidate
186 582
      X-Request-Id:
187
      - d7d862bf-291c-4c5d-a635-d269b07dde60
583
      - 56c902fe-6d6b-4e18-89e3-28987cc01bae
188 584
      X-Runtime:
189
      - '0.326289'
585
      - '0.087628'
586
      Content-Security-Policy:
587
      - 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
588
        img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
589
        ''self''; style-src ''unsafe-inline'' ''self'''
590
      Strict-Transport-Security:
591
      - max-age=631152000; includeSubdomains
592
      X-Content-Type-Options:
593
      - nosniff
594
      X-Download-Options:
595
      - noopen
596
      X-Frame-Options:
597
      - sameorigin
598
      X-Permitted-Cross-Domain-Policies:
599
      - none
600
      X-Xss-Protection:
601
      - 1; mode=block
190 602
      Via:
191
      - 1.1 katello.example.com:50191
603
      - 1.1 testing.example.com:50218
192 604
      Vary:
193 605
      - Accept-Encoding
194 606
      Content-Length:
195
      - '792'
607
      - '563'
196 608
      Set-Cookie:
197
      - _session_id=b084ba05036731b8de52e5d815b7701c; path=/; HttpOnly
609
      - _session_id=87d63c2e2a892dd98929dc254aca658f; path=/; HttpOnly
198 610
    body:
199 611
      encoding: ASCII-8BIT
200 612
      string: |
201 613
        {
202
          "total": 3,
203
          "subtotal": 3,
614
          "total": 2,
615
          "subtotal": 2,
204 616
          "page": 1,
205 617
          "per_page": 999999,
206 618
          "search": null,
......
208 620
            "by": null,
209 621
            "order": null
210 622
          },
211
          "results": [{"label":"Default_Organization","created_at":"2016-09-02 14:00:59 UTC","updated_at":"2016-09-02 14:00:59 UTC","id":1,"name":"Default Organization","title":"Default Organization","description":null},{"label":"examplecorp","created_at":"2016-09-02 15:00:24 UTC","updated_at":"2016-09-02 15:00:24 UTC","id":3,"name":"Example Corporation","title":"Example Corporation","description":"The number one example company in the world!"},{"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"}]
623
          "results": [{"label":"Default_Organization","created_at":"2016-09-30 14:47:05 UTC","updated_at":"2016-09-30 14:47:05 UTC","id":1,"name":"Default Organization","title":"Default Organization","description":null},{"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"}]
212 624
        }
213 625
    http_version: 
214
  recorded_at: Mon, 12 Sep 2016 15:40:14 GMT
626
  recorded_at: Fri, 30 Sep 2016 15:40:10 GMT
215 627
- request:
216 628
    method: get
217
    uri: https://admin:changeme@katello.example.com:50191/katello/api/organizations/9
629
    uri: https://admin:changeme@katello.example.com:50218/katello/api/organizations/8
218 630
    body:
219 631
      encoding: US-ASCII
220 632
      string: ''
......
227 639
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.10p492
228 640
      Content-Type:
229 641
      - application/json
642
      Accept-Language:
643
      - en
230 644
      Host:
231
      - katello.example.com:50191
645
      - katello.example.com:50218
232 646
  response:
233 647
    status:
234 648
      code: 200
235
      message: OK
649
      message: 'OK '
236 650
    headers:
237 651
      Date:
238
      - Mon, 12 Sep 2016 15:40:14 GMT
652
      - Fri, 30 Sep 2016 15:40:09 GMT
239 653
      Server:
240
      - Apache/2.4.6 (CentOS)
241
      X-Frame-Options:
242
      - SAMEORIGIN
243
      X-Xss-Protection:
244
      - 1; mode=block
245
      X-Content-Type-Options:
246
      - nosniff
654
      - WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
247 655
      Foreman-Version:
248 656
      - 1.14.0-develop
249 657
      Foreman-Api-Version:
......
251 659
      Content-Type:
252 660
      - application/json; charset=utf-8
253 661
      Apipie-Checksum:
254
      - 9544abef9cf8343005f07ed8c9f1f8e7
662
      - 68d37bf606b9a03df6e1e749d6054009
255 663
      Etag:
256
      - W/"253ac9fa8c0d829e51da8f57b05de99d-gzip"
664
      - W/"6a598bc5d5d61c73496d98f399fce58f-gzip"
257 665
      Cache-Control:
258 666
      - max-age=0, private, must-revalidate
259 667
      X-Request-Id:
260
      - f9239faf-b57c-4603-acd4-3b027baed9de
668
      - ee3c1460-e184-4d7b-aa9f-d8a3d2904ce3
261 669
      X-Runtime:
262
      - '3.602532'
670
      - '0.361977'
671
      Content-Security-Policy:
672
      - 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
673
        img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
674
        ''self''; style-src ''unsafe-inline'' ''self'''
675
      Strict-Transport-Security:
676
      - max-age=631152000; includeSubdomains
677
      X-Content-Type-Options:
678
      - nosniff
679
      X-Download-Options:
680
      - noopen
681
      X-Frame-Options:
682
      - sameorigin
683
      X-Permitted-Cross-Domain-Policies:
684
      - none
685
      X-Xss-Protection:
686
      - 1; mode=block
263 687
      Via:
264
      - 1.1 katello.example.com:50191
688
      - 1.1 testing.example.com:50218
265 689
      Vary:
266 690
      - Accept-Encoding
267 691
      Content-Length:
268
      - '21851'
692
      - '21677'
269 693
      Set-Cookie:
270
      - _session_id=eac6092f2ffe04713dec53402b1aee42; path=/; HttpOnly
694
      - _session_id=7a7b7222f28d43736dcf0cb9df2423cc; path=/; HttpOnly
271 695
    body:
272 696
      encoding: ASCII-8BIT
273
      string: '{"label":"testcorp","owner_details":{"parentOwner":null,"id":"ff80808156eb30a60157024c785205e2","key":"testcorp","displayName":"Test
274
        Corporation","contentPrefix":"/testcorp/$env","defaultServiceLevel":null,"upstreamConsumer":{"id":"ff80808156eb30a6015704818a920660","uuid":"d45ac754-56e8-425e-a6ef-2028953f6f2c","name":"TestCorp","idCert":{"key":"-----BEGIN
697
      string: '{"label":"testcorp","owner_details":{"parentOwner":null,"id":"ff808081577b8f0201577ba5d9850003","key":"testcorp","displayName":"Test
698
        Corporation","contentPrefix":"/testcorp/$env","defaultServiceLevel":null,"upstreamConsumer":{"id":"ff808081577bae9001577bc066890294","uuid":"d45ac754-56e8-425e-a6ef-2028953f6f2c","name":"TestCorp","idCert":{"key":"-----BEGIN
275 699
        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
276 700
        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
277
        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
278
        today for a better tomorrow","created_at":"2016-09-07 01:39:03 UTC","updated_at":"2016-09-07
279
        01:39:03 UTC","ancestry":null,"parent_id":null,"parent_name":null,"id":9,"name":"Test
280
        Corporation","title":"Test Corporation","users":[],"smart_proxies":[{"name":"katello.example.com","id":1,"url":"https://katello.example.com:9090"}],"subnets":[{"id":5,"name":"Test
281
        Subnet","network_address":"192.168.100.1/24"}],"compute_resources":[],"media":[],"config_templates":[{"id":90,"name":"Katello
282
        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
283
        Kickstart Default Finish","template_kind_id":6,"template_kind_name":"finish"},{"id":87,"name":"Katello
284
        Kickstart Default User Data","template_kind_id":8,"template_kind_name":"user_data"},{"id":86,"name":"Katello
285
        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
701
        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
702
        today for a better tomorrow","created_at":"2016-09-30 15:10:48 UTC","updated_at":"2016-09-30
703
        15:10:48 UTC","ancestry":null,"parent_id":null,"parent_name":null,"id":8,"name":"Test
704
        Corporation","title":"Test Corporation","users":[],"smart_proxies":[{"name":"testing.example.com","id":1,"url":"https://testing.example.com:9090"}],"subnets":[{"id":1,"name":"Test
705
        Subnet","network_address":"192.168.100.1/24"}],"compute_resources":[],"media":[],"config_templates":[{"id":89,"name":"Katello
706
        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
707
        Kickstart Default Finish","template_kind_id":6,"template_kind_name":"finish"},{"id":86,"name":"Katello
708
        Kickstart Default User Data","template_kind_id":8,"template_kind_name":"user_data"},{"id":85,"name":"Katello
709
        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
286 710
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":47,"name":"XenServer
287 711
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":46,"name":"XenServer
288 712
        default answerfile","template_kind_id":5,"template_kind_name":"provision"},{"id":45,"name":"WAIK
......
330 754
        default local boot","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":3,"name":"PXEGrub2
331 755
        global default","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":2,"name":"PXEGrub
332 756
        global default","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":1,"name":"PXELinux
333
        global default","template_kind_id":1,"template_kind_name":"PXELinux"}],"ptables":[{"os_family":"Xenserver","created_at":"2016-09-02
334
        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
335
        14:01:03 UTC","updated_at":"2016-09-02 14:01:03 UTC","name":"Preseed custom
336
        LVM","id":84},{"os_family":"Debian","created_at":"2016-09-02 14:01:03 UTC","updated_at":"2016-09-02
337
        14:01:03 UTC","name":"Preseed default","id":83},{"os_family":"NXOS","created_at":"2016-09-02
338
        14:01:03 UTC","updated_at":"2016-09-02 14:01:03 UTC","name":"NX-OS default
339
        fake","id":82},{"os_family":"Redhat","created_at":"2016-09-02 14:01:03 UTC","updated_at":"2016-09-02
340
        14:01:03 UTC","name":"Kickstart default","id":81},{"os_family":"Junos","created_at":"2016-09-02
341
        14:01:03 UTC","updated_at":"2016-09-02 14:01:03 UTC","name":"Junos default
342
        fake","id":80},{"os_family":"Solaris","created_at":"2016-09-02 14:01:03 UTC","updated_at":"2016-09-02
343
        14:01:03 UTC","name":"Jumpstart mirrored","id":79},{"os_family":"Solaris","created_at":"2016-09-02
344
        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
345
        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
346
        14:01:03 UTC","updated_at":"2016-09-02 14:01:03 UTC","name":"CoreOS default
347
        fake","id":76},{"os_family":"Suse","created_at":"2016-09-02 14:01:02 UTC","updated_at":"2016-09-02
348
        14:01:02 UTC","name":"AutoYaST LVM","id":75},{"os_family":"Suse","created_at":"2016-09-02
349
        14:01:02 UTC","updated_at":"2016-09-02 14:01:02 UTC","name":"AutoYaST entire
350
        virtual disk","id":74},{"os_family":"Suse","created_at":"2016-09-02 14:01:02
351
        UTC","updated_at":"2016-09-02 14:01:02 UTC","name":"AutoYaST entire SCSI disk","id":73}],"provisioning_templates":[{"id":90,"name":"Katello
352
        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
353
        Kickstart Default Finish","template_kind_id":6,"template_kind_name":"finish"},{"id":87,"name":"Katello
354
        Kickstart Default User Data","template_kind_id":8,"template_kind_name":"user_data"},{"id":86,"name":"Katello
355
        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
757
        global default","template_kind_id":1,"template_kind_name":"PXELinux"}],"ptables":[{"os_family":"Xenserver","created_at":"2016-09-30
758
        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
759
        14:47:09 UTC","updated_at":"2016-09-30 14:47:09 UTC","name":"Preseed custom
760
        LVM","id":83},{"os_family":"Debian","created_at":"2016-09-30 14:47:09 UTC","updated_at":"2016-09-30
761
        14:47:09 UTC","name":"Preseed default","id":82},{"os_family":"NXOS","created_at":"2016-09-30
762
        14:47:09 UTC","updated_at":"2016-09-30 14:47:09 UTC","name":"NX-OS default
763
        fake","id":81},{"os_family":"Redhat","created_at":"2016-09-30 14:47:09 UTC","updated_at":"2016-09-30
764
        14:47:09 UTC","name":"Kickstart default","id":80},{"os_family":"Junos","created_at":"2016-09-30
765
        14:47:09 UTC","updated_at":"2016-09-30 14:47:09 UTC","name":"Junos default
766
        fake","id":79},{"os_family":"Solaris","created_at":"2016-09-30 14:47:09 UTC","updated_at":"2016-09-30
767
        14:47:09 UTC","name":"Jumpstart mirrored","id":78},{"os_family":"Solaris","created_at":"2016-09-30
768
        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
769
        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
770
        14:47:09 UTC","updated_at":"2016-09-30 14:47:09 UTC","name":"CoreOS default
771
        fake","id":75},{"os_family":"Suse","created_at":"2016-09-30 14:47:09 UTC","updated_at":"2016-09-30
772
        14:47:09 UTC","name":"AutoYaST LVM","id":74},{"os_family":"Suse","created_at":"2016-09-30
773
        14:47:09 UTC","updated_at":"2016-09-30 14:47:09 UTC","name":"AutoYaST entire
774
        virtual disk","id":73},{"os_family":"Suse","created_at":"2016-09-30 14:47:09
775
        UTC","updated_at":"2016-09-30 14:47:09 UTC","name":"AutoYaST entire SCSI disk","id":72}],"provisioning_templates":[{"id":89,"name":"Katello
776
        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
777
        Kickstart Default Finish","template_kind_id":6,"template_kind_name":"finish"},{"id":86,"name":"Katello
778
        Kickstart Default User Data","template_kind_id":8,"template_kind_name":"user_data"},{"id":85,"name":"Katello
779
        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
356 780
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":47,"name":"XenServer
357 781
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":46,"name":"XenServer
358 782
        default answerfile","template_kind_id":5,"template_kind_name":"provision"},{"id":45,"name":"WAIK
......
400 824
        default local boot","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":3,"name":"PXEGrub2
401 825
        global default","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":2,"name":"PXEGrub
402 826
        global default","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":1,"name":"PXELinux
403
        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}'
827
        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}'
404 828
    http_version: 
405
  recorded_at: Mon, 12 Sep 2016 15:40:18 GMT
829
  recorded_at: Fri, 30 Sep 2016 15:40:10 GMT
406 830
- request:
407 831
    method: put
408
    uri: https://admin:changeme@katello.example.com:50191/katello/api/organizations/9
832
    uri: https://admin:changeme@katello.example.com:50218/katello/api/organizations/8
409 833
    body:
410 834
      encoding: UTF-8
411
      string: '{"organization":{"id":9,"description":"Testing today for a better tomorrow"}}'
835
      string: '{"organization":{"id":8,"description":"Testing today for a better tomorrow"}}'
412 836
    headers:
413 837
      Accept:
414 838
      - application/json;version=2
......
418 842
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.10p492
419 843
      Content-Type:
420 844
      - application/json
845
      Accept-Language:
846
      - en
421 847
      Content-Length:
422 848
      - '77'
423 849
      Host:
424
      - katello.example.com:50191
850
      - katello.example.com:50218
425 851
  response:
426 852
    status:
427 853
      code: 200
428
      message: OK
854
      message: 'OK '
429 855
    headers:
430 856
      Date:
431
      - Mon, 12 Sep 2016 15:40:18 GMT
857
      - Fri, 30 Sep 2016 15:40:11 GMT
432 858
      Server:
433
      - Apache/2.4.6 (CentOS)
434
      X-Frame-Options:
435
      - SAMEORIGIN
436
      X-Xss-Protection:
437
      - 1; mode=block
438
      X-Content-Type-Options:
439
      - nosniff
859
      - WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
440 860
      Foreman-Version:
441 861
      - 1.14.0-develop
442 862
      Foreman-Api-Version:
......
444 864
      Content-Type:
445 865
      - application/json; charset=utf-8
446 866
      Apipie-Checksum:
447
      - 9544abef9cf8343005f07ed8c9f1f8e7
867
      - 68d37bf606b9a03df6e1e749d6054009
448 868
      Etag:
449
      - W/"629f8d491c90ac79b4b7bedb2e2e8c86-gzip"
869
      - W/"72efb42fc0758be104610e803de29d0e-gzip"
450 870
      Cache-Control:
451 871
      - max-age=0, private, must-revalidate
452 872
      X-Request-Id:
453
      - d4186d5e-be26-4049-96fd-ff85f39f5ade
873
      - ced2451c-993e-4d4b-ac27-700406b367eb
454 874
      X-Runtime:
455
      - '4.028317'
875
      - '1.361914'
876
      Content-Security-Policy:
877
      - 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
878
        img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
879
        ''self''; style-src ''unsafe-inline'' ''self'''
880
      Strict-Transport-Security:
881
      - max-age=631152000; includeSubdomains
882
      X-Content-Type-Options:
883
      - nosniff
884
      X-Download-Options:
885
      - noopen
886
      X-Frame-Options:
887
      - sameorigin
888
      X-Permitted-Cross-Domain-Policies:
889
      - none
890
      X-Xss-Protection:
891
      - 1; mode=block
456 892
      Via:
457
      - 1.1 katello.example.com:50191
893
      - 1.1 testing.example.com:50218
458 894
      Vary:
459 895
      - Accept-Encoding
460 896
      Content-Length:
461
      - '16675'
897
      - '16501'
462 898
      Set-Cookie:
463
      - _session_id=9c7d560f0c038d0692da8809dbcf9c0f; path=/; HttpOnly
899
      - _session_id=7010cdb5dd451b68eb16679317c342a2; path=/; HttpOnly
464 900
      - request_method=PUT; path=/
465 901
    body:
466 902
      encoding: ASCII-8BIT
467
      string: '{"select_all_types":[],"description":"Testing today for a better tomorrow","created_at":"2016-09-07
468
        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
469
        Corporation","title":"Test Corporation","users":[],"smart_proxies":[{"name":"katello.example.com","id":1,"url":"https://katello.example.com:9090"}],"subnets":[{"id":5,"name":"Test
470
        Subnet","network_address":"192.168.100.1/24"}],"compute_resources":[],"media":[],"config_templates":[{"id":90,"name":"Katello
471
        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
472
        Kickstart Default Finish","template_kind_id":6,"template_kind_name":"finish"},{"id":87,"name":"Katello
473
        Kickstart Default User Data","template_kind_id":8,"template_kind_name":"user_data"},{"id":86,"name":"Katello
474
        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
903
      string: '{"select_all_types":[],"description":"Testing today for a better tomorrow","created_at":"2016-09-30
904
        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
905
        Corporation","title":"Test Corporation","users":[],"smart_proxies":[{"name":"testing.example.com","id":1,"url":"https://testing.example.com:9090"}],"subnets":[{"id":1,"name":"Test
906
        Subnet","network_address":"192.168.100.1/24"}],"compute_resources":[],"media":[],"config_templates":[{"id":89,"name":"Katello
907
        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
908
        Kickstart Default Finish","template_kind_id":6,"template_kind_name":"finish"},{"id":86,"name":"Katello
909
        Kickstart Default User Data","template_kind_id":8,"template_kind_name":"user_data"},{"id":85,"name":"Katello
910
        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
475 911
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":47,"name":"XenServer
476 912
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":46,"name":"XenServer
477 913
        default answerfile","template_kind_id":5,"template_kind_name":"provision"},{"id":45,"name":"WAIK
......
519 955
        default local boot","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":3,"name":"PXEGrub2
520 956
        global default","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":2,"name":"PXEGrub
521 957
        global default","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":1,"name":"PXELinux
522
        global default","template_kind_id":1,"template_kind_name":"PXELinux"}],"ptables":[{"os_family":"Xenserver","created_at":"2016-09-02
523
        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
524
        14:01:03 UTC","updated_at":"2016-09-02 14:01:03 UTC","name":"Preseed custom
525
        LVM","id":84},{"os_family":"Debian","created_at":"2016-09-02 14:01:03 UTC","updated_at":"2016-09-02
526
        14:01:03 UTC","name":"Preseed default","id":83},{"os_family":"NXOS","created_at":"2016-09-02
527
        14:01:03 UTC","updated_at":"2016-09-02 14:01:03 UTC","name":"NX-OS default
528
        fake","id":82},{"os_family":"Redhat","created_at":"2016-09-02 14:01:03 UTC","updated_at":"2016-09-02
529
        14:01:03 UTC","name":"Kickstart default","id":81},{"os_family":"Junos","created_at":"2016-09-02
530
        14:01:03 UTC","updated_at":"2016-09-02 14:01:03 UTC","name":"Junos default
531
        fake","id":80},{"os_family":"Solaris","created_at":"2016-09-02 14:01:03 UTC","updated_at":"2016-09-02
532
        14:01:03 UTC","name":"Jumpstart mirrored","id":79},{"os_family":"Solaris","created_at":"2016-09-02
533
        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
534
        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
535
        14:01:03 UTC","updated_at":"2016-09-02 14:01:03 UTC","name":"CoreOS default
536
        fake","id":76},{"os_family":"Suse","created_at":"2016-09-02 14:01:02 UTC","updated_at":"2016-09-02
537
        14:01:02 UTC","name":"AutoYaST LVM","id":75},{"os_family":"Suse","created_at":"2016-09-02
538
        14:01:02 UTC","updated_at":"2016-09-02 14:01:02 UTC","name":"AutoYaST entire
539
        virtual disk","id":74},{"os_family":"Suse","created_at":"2016-09-02 14:01:02
540
        UTC","updated_at":"2016-09-02 14:01:02 UTC","name":"AutoYaST entire SCSI disk","id":73}],"provisioning_templates":[{"id":90,"name":"Katello
541
        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
542
        Kickstart Default Finish","template_kind_id":6,"template_kind_name":"finish"},{"id":87,"name":"Katello
543
        Kickstart Default User Data","template_kind_id":8,"template_kind_name":"user_data"},{"id":86,"name":"Katello
544
        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
958
        global default","template_kind_id":1,"template_kind_name":"PXELinux"}],"ptables":[{"os_family":"Xenserver","created_at":"2016-09-30
959
        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
960
        14:47:09 UTC","updated_at":"2016-09-30 14:47:09 UTC","name":"Preseed custom
961
        LVM","id":83},{"os_family":"Debian","created_at":"2016-09-30 14:47:09 UTC","updated_at":"2016-09-30
962
        14:47:09 UTC","name":"Preseed default","id":82},{"os_family":"NXOS","created_at":"2016-09-30
963
        14:47:09 UTC","updated_at":"2016-09-30 14:47:09 UTC","name":"NX-OS default
964
        fake","id":81},{"os_family":"Redhat","created_at":"2016-09-30 14:47:09 UTC","updated_at":"2016-09-30
965
        14:47:09 UTC","name":"Kickstart default","id":80},{"os_family":"Junos","created_at":"2016-09-30
966
        14:47:09 UTC","updated_at":"2016-09-30 14:47:09 UTC","name":"Junos default
967
        fake","id":79},{"os_family":"Solaris","created_at":"2016-09-30 14:47:09 UTC","updated_at":"2016-09-30
968
        14:47:09 UTC","name":"Jumpstart mirrored","id":78},{"os_family":"Solaris","created_at":"2016-09-30
969
        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
970
        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
971
        14:47:09 UTC","updated_at":"2016-09-30 14:47:09 UTC","name":"CoreOS default
972
        fake","id":75},{"os_family":"Suse","created_at":"2016-09-30 14:47:09 UTC","updated_at":"2016-09-30
973
        14:47:09 UTC","name":"AutoYaST LVM","id":74},{"os_family":"Suse","created_at":"2016-09-30
974
        14:47:09 UTC","updated_at":"2016-09-30 14:47:09 UTC","name":"AutoYaST entire
975
        virtual disk","id":73},{"os_family":"Suse","created_at":"2016-09-30 14:47:09
976
        UTC","updated_at":"2016-09-30 14:47:09 UTC","name":"AutoYaST entire SCSI disk","id":72}],"provisioning_templates":[{"id":89,"name":"Katello
977
        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
978
        Kickstart Default Finish","template_kind_id":6,"template_kind_name":"finish"},{"id":86,"name":"Katello
979
        Kickstart Default User Data","template_kind_id":8,"template_kind_name":"user_data"},{"id":85,"name":"Katello
980
        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
545 981
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":47,"name":"XenServer
546 982
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":46,"name":"XenServer
547 983
        default answerfile","template_kind_id":5,"template_kind_name":"provision"},{"id":45,"name":"WAIK
......
589 1025
        default local boot","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":3,"name":"PXEGrub2
590 1026
        global default","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":2,"name":"PXEGrub
591 1027
        global default","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":1,"name":"PXELinux
592
        global default","template_kind_id":1,"template_kind_name":"PXELinux"}],"domains":[{"id":2,"name":"test.com"}],"realms":[],"environments":[],"hostgroups":[],"locations":[],"parameters":[]}'
1028
        global default","template_kind_id":1,"template_kind_name":"PXELinux"}],"domains":[{"id":1,"name":"test.com"}],"realms":[],"environments":[],"hostgroups":[],"locations":[],"parameters":[]}'
593 1029
    http_version: 
594
  recorded_at: Mon, 12 Sep 2016 15:40:22 GMT
1030
  recorded_at: Fri, 30 Sep 2016 15:40:11 GMT
595 1031
recorded_with: VCR 3.0.3

Also available in: Unified diff