diff --git a/definitions/features/capsule.rb b/definitions/features/capsule.rb index 92a272239..acc567697 100644 --- a/definitions/features/capsule.rb +++ b/definitions/features/capsule.rb @@ -18,4 +18,8 @@ def current_version def package_name 'satellite-capsule' end + + def module_name + 'satellite-capsule' + end end diff --git a/definitions/features/satellite.rb b/definitions/features/satellite.rb index 58777af74..724535497 100644 --- a/definitions/features/satellite.rb +++ b/definitions/features/satellite.rb @@ -22,6 +22,10 @@ def package_name 'satellite' end + def module_name + 'satellite' + end + private def version_from_source diff --git a/definitions/scenarios/satellite_upgrade.rb b/definitions/scenarios/satellite_upgrade.rb index 76e299327..f2026f193 100644 --- a/definitions/scenarios/satellite_upgrade.rb +++ b/definitions/scenarios/satellite_upgrade.rb @@ -60,7 +60,7 @@ def compose if el8? modules_to_switch = ['postgresql:13'] add_step(Procedures::Packages::SwitchModules.new(:module_names => modules_to_switch)) - modules_to_enable = ["satellite:#{el_short_name}"] + modules_to_enable = ["#{feature(:instance).downstream.module_name}:#{el_short_name}"] add_step(Procedures::Packages::EnableModules.new(:module_names => modules_to_enable)) end add_step(Procedures::Packages::Update.new(