Sha256: 1255edfd5e97f3a98d8a58734038a164fa7561db1aaf52dd1746773bf3f5c47d
Contents?: true
Size: 789 Bytes
Versions: 77
Compression:
Stored size: 789 Bytes
Contents
module Actions module Katello module ContentViewPuppetEnvironment class CreateForVersion < Actions::Base # allows accessing the build object from the superior action attr_accessor :new_puppet_environment def plan(content_view_version) content_view = content_view_version.content_view modules_by_repoid = content_view.computed_module_ids_by_repoid self.new_puppet_environment = content_view.build_puppet_env(:version => content_view_version) sequence do plan_action(ContentViewPuppetEnvironment::Create, new_puppet_environment, true) plan_action(ContentViewPuppetEnvironment::CloneContent, new_puppet_environment, modules_by_repoid) end end end end end end
Version data entries
77 entries across 77 versions & 1 rubygems