├── .gitignore ├── .travis.yml ├── Gemfile ├── LICENSE ├── README.md ├── Rakefile ├── katello-attach-subscription ├── katello-attach-subscription.yaml-example ├── lib ├── katello_attach_subscription.rb └── katello_attach_subscription │ ├── fact_analyzer.rb │ ├── host_matcher.rb │ ├── utils.rb │ ├── version.rb │ └── virt_who_helper.rb └── test ├── fact_analyzer_test.rb ├── fixtures ├── merge_sub_file.yaml ├── prod_config.yaml ├── prod_systems.yaml ├── prod_virtwho.json ├── rhel_cisco_blade_facts.json ├── rhel_cisco_blade_host.json ├── rhel_dell_poweredge_facts.json ├── rhel_dell_poweredge_host.json ├── rhel_kvm_vm_facts.json ├── rhel_kvm_vm_host.json ├── rhel_rhv_vm_facts.json ├── rhel_rhv_vm_host.json ├── vmware_esx_facts.json ├── vmware_esx_host.json └── vmware_esx_virtwho.json ├── host_matcher_test.rb ├── katello_attach_subscription_test.rb ├── sub_merger_test.rb ├── test_helper.rb ├── utils_test.rb └── virt_who_helper_test.rb /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RedHatSatellite/katello-attach-subscription/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RedHatSatellite/katello-attach-subscription/HEAD/.travis.yml -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RedHatSatellite/katello-attach-subscription/HEAD/Gemfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RedHatSatellite/katello-attach-subscription/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RedHatSatellite/katello-attach-subscription/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RedHatSatellite/katello-attach-subscription/HEAD/Rakefile -------------------------------------------------------------------------------- /katello-attach-subscription: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RedHatSatellite/katello-attach-subscription/HEAD/katello-attach-subscription -------------------------------------------------------------------------------- /katello-attach-subscription.yaml-example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RedHatSatellite/katello-attach-subscription/HEAD/katello-attach-subscription.yaml-example -------------------------------------------------------------------------------- /lib/katello_attach_subscription.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RedHatSatellite/katello-attach-subscription/HEAD/lib/katello_attach_subscription.rb -------------------------------------------------------------------------------- /lib/katello_attach_subscription/fact_analyzer.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RedHatSatellite/katello-attach-subscription/HEAD/lib/katello_attach_subscription/fact_analyzer.rb -------------------------------------------------------------------------------- /lib/katello_attach_subscription/host_matcher.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RedHatSatellite/katello-attach-subscription/HEAD/lib/katello_attach_subscription/host_matcher.rb -------------------------------------------------------------------------------- /lib/katello_attach_subscription/utils.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RedHatSatellite/katello-attach-subscription/HEAD/lib/katello_attach_subscription/utils.rb -------------------------------------------------------------------------------- /lib/katello_attach_subscription/version.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RedHatSatellite/katello-attach-subscription/HEAD/lib/katello_attach_subscription/version.rb -------------------------------------------------------------------------------- /lib/katello_attach_subscription/virt_who_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RedHatSatellite/katello-attach-subscription/HEAD/lib/katello_attach_subscription/virt_who_helper.rb -------------------------------------------------------------------------------- /test/fact_analyzer_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RedHatSatellite/katello-attach-subscription/HEAD/test/fact_analyzer_test.rb -------------------------------------------------------------------------------- /test/fixtures/merge_sub_file.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RedHatSatellite/katello-attach-subscription/HEAD/test/fixtures/merge_sub_file.yaml -------------------------------------------------------------------------------- /test/fixtures/prod_config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RedHatSatellite/katello-attach-subscription/HEAD/test/fixtures/prod_config.yaml -------------------------------------------------------------------------------- /test/fixtures/prod_systems.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RedHatSatellite/katello-attach-subscription/HEAD/test/fixtures/prod_systems.yaml -------------------------------------------------------------------------------- /test/fixtures/prod_virtwho.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RedHatSatellite/katello-attach-subscription/HEAD/test/fixtures/prod_virtwho.json -------------------------------------------------------------------------------- /test/fixtures/rhel_cisco_blade_facts.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RedHatSatellite/katello-attach-subscription/HEAD/test/fixtures/rhel_cisco_blade_facts.json -------------------------------------------------------------------------------- /test/fixtures/rhel_cisco_blade_host.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RedHatSatellite/katello-attach-subscription/HEAD/test/fixtures/rhel_cisco_blade_host.json -------------------------------------------------------------------------------- /test/fixtures/rhel_dell_poweredge_facts.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RedHatSatellite/katello-attach-subscription/HEAD/test/fixtures/rhel_dell_poweredge_facts.json -------------------------------------------------------------------------------- /test/fixtures/rhel_dell_poweredge_host.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RedHatSatellite/katello-attach-subscription/HEAD/test/fixtures/rhel_dell_poweredge_host.json -------------------------------------------------------------------------------- /test/fixtures/rhel_kvm_vm_facts.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RedHatSatellite/katello-attach-subscription/HEAD/test/fixtures/rhel_kvm_vm_facts.json -------------------------------------------------------------------------------- /test/fixtures/rhel_kvm_vm_host.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RedHatSatellite/katello-attach-subscription/HEAD/test/fixtures/rhel_kvm_vm_host.json -------------------------------------------------------------------------------- /test/fixtures/rhel_rhv_vm_facts.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RedHatSatellite/katello-attach-subscription/HEAD/test/fixtures/rhel_rhv_vm_facts.json -------------------------------------------------------------------------------- /test/fixtures/rhel_rhv_vm_host.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RedHatSatellite/katello-attach-subscription/HEAD/test/fixtures/rhel_rhv_vm_host.json -------------------------------------------------------------------------------- /test/fixtures/vmware_esx_facts.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RedHatSatellite/katello-attach-subscription/HEAD/test/fixtures/vmware_esx_facts.json -------------------------------------------------------------------------------- /test/fixtures/vmware_esx_host.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RedHatSatellite/katello-attach-subscription/HEAD/test/fixtures/vmware_esx_host.json -------------------------------------------------------------------------------- /test/fixtures/vmware_esx_virtwho.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RedHatSatellite/katello-attach-subscription/HEAD/test/fixtures/vmware_esx_virtwho.json -------------------------------------------------------------------------------- /test/host_matcher_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RedHatSatellite/katello-attach-subscription/HEAD/test/host_matcher_test.rb -------------------------------------------------------------------------------- /test/katello_attach_subscription_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RedHatSatellite/katello-attach-subscription/HEAD/test/katello_attach_subscription_test.rb -------------------------------------------------------------------------------- /test/sub_merger_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RedHatSatellite/katello-attach-subscription/HEAD/test/sub_merger_test.rb -------------------------------------------------------------------------------- /test/test_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RedHatSatellite/katello-attach-subscription/HEAD/test/test_helper.rb -------------------------------------------------------------------------------- /test/utils_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RedHatSatellite/katello-attach-subscription/HEAD/test/utils_test.rb -------------------------------------------------------------------------------- /test/virt_who_helper_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RedHatSatellite/katello-attach-subscription/HEAD/test/virt_who_helper_test.rb --------------------------------------------------------------------------------