Class: Actions::Katello::Applicability::Host::Generate
- Inherits:
-
EntryAction
- Object
- EntryAction
- Actions::Katello::Applicability::Host::Generate
- Defined in:
- app/lib/actions/katello/applicability/host/generate.rb
Instance Method Summary collapse
Instance Method Details
#humanized_name ⇒ Object
21 22 23 |
# File 'app/lib/actions/katello/applicability/host/generate.rb', line 21 def humanized_name _("Generate host applicability") end |
#resource_locks ⇒ Object
17 18 19 |
# File 'app/lib/actions/katello/applicability/host/generate.rb', line 17 def resource_locks :link end |
#run ⇒ Object
12 13 14 15 |
# File 'app/lib/actions/katello/applicability/host/generate.rb', line 12 def run content_facet = ::Host.find(input[:host_id]).content_facet content_facet.calculate_and_import_applicability end |