Sha256: 33b673746930fa84dad9c6759a420042a8815a69a37d49d06b81254aa4da06cb
Contents?: true
Size: 1.32 KB
Versions: 3
Compression:
Stored size: 1.32 KB
Contents
module HammerCLIForemanOpenscap class Policy < HammerCLIForeman::Command resource :policies class ListCommand < HammerCLIForeman::ListCommand output do field :id, _("Id") field :name, _("Name") field :created_at, _("Created at") end build_options end class InfoCommand < HammerCLIForeman::InfoCommand output ListCommand.output_definition do field :period, _("Period") field :weekday, _("Weekday") field :cron_line, _("Cron line") field :scap_content_id, _("Scap content Id") field :scap_content_profile_id, _("Scap Content profile Id") HammerCLIForeman::References.taxonomies(self) end build_options end class DeleteCommand < HammerCLIForeman::DeleteCommand success_message _("Policy has been deleted") failure_message _("Could not delete the policy") build_options end class CreateCommand < HammerCLIForemanOpenscap::CreateCommand success_message _("Policy created") failure_message _("Could not create the policy") build_options end class UpdateCommand < HammerCLIForemanOpenscap::UpdateCommand success_message _("Policy updated") failure_message _("Could not update the policy") build_options end autoload_subcommands end end
Version data entries
3 entries across 3 versions & 1 rubygems