Sha256: 0617bf160fe135941d21ad9ef1b58ba6c79a8f6c3ae1e072056471a796ca4710
Contents?: true
Size: 727 Bytes
Versions: 2
Compression:
Stored size: 727 Bytes
Contents
module Katello class Hypervisor < System use_index_of System if SETTINGS[:katello][:use_elasticsearch] validates_lengths_from_database UNSUPPORTED_ACTIONS = [:package_profile, :pulp_facts, :simple_packages, :errata, :del_pulp_consumer, :set_pulp_consumer, :update_pulp_consumer, :upload_package_profile, :install_package, :uninstall_package, :update_package, :install_package_group, :uninstall_package_group] UNSUPPORTED_ACTIONS.each do |unsupported_action| define_method(unsupported_action) do fail Errors::UnsupportedActionException.new(unsupported_action, self, _("Hypervisor does not support this action")) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
katello-2.4.0.rc2 | app/models/katello/hypervisor.rb |
katello-2.4.0.rc1 | app/models/katello/hypervisor.rb |