Sha256: a96fb4b2447fb3c664f9a040b4f2c0b45c3736c99f98fd6b050271faf337bf20
Contents?: true
Size: 726 Bytes
Versions: 100
Compression:
Stored size: 726 Bytes
Contents
module Actions module Katello module Repository class CreateRoot < Actions::EntryAction def plan(root) root.save! repository = ::Katello::Repository.new(:environment => root.organization.library, :content_view_version => root.organization.library.default_content_view_version, :root => root) repository.relative_path = repository.custom_repo_path repository.save! action_subject(repository) plan_action(::Actions::Katello::Repository::Create, repository, false, true) end def humanized_name _("Create") end end end end end
Version data entries
100 entries across 100 versions & 1 rubygems