Revision 1a6e85fa
Added by Ivan Necas about 10 years ago
app/lib/actions/katello/environment/library_create.rb | ||
---|---|---|
end
|
||
|
||
version = library_view.versions.first
|
||
library_view_env = library_view.add_environment(library_env, version)
|
||
|
||
plan_action(Katello::ContentView::Create, library_view)
|
||
plan_action(Katello::ContentView::EnvironmentCreate, library_view_env)
|
||
plan_action(Katello::ContentView::AddToEnvironment, version, library_env)
|
||
plan_action(Katello::Foreman::ContentUpdate, library_env, library_view)
|
||
end
|
||
|
Also available in: Unified diff
Extract adding content view version to environment into Dynflow