Sha256: 6792c5270ac5a2b319571b35a833b4f4f3f56cd93802e5cf114cba724534c6fe
Contents?: true
Size: 713 Bytes
Versions: 68
Compression:
Stored size: 713 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) end def humanized_name _("Create") end end end end end
Version data entries
68 entries across 68 versions & 1 rubygems