diff --git a/task_spec/spec/acceptance/init_spec.rb b/task_spec/spec/acceptance/init_spec.rb index 7d499f74..3db18f7f 100644 --- a/task_spec/spec/acceptance/init_spec.rb +++ b/task_spec/spec/acceptance/init_spec.rb @@ -38,9 +38,9 @@ def log_output_errors(result) puts logger.info(out) end - # Added this method to simplify the 'case' condition - # used for target_platform, which will use latest puppet_agent - # in below mentioned test spec + # This method contains a list of platforms that are only available in nightly builds of puppet-agent. Once a regular + # release of puppet-agent includes support for these platforms, they can be removed from this method and added to + # the logic that determines the puppet_7_version variable below. def latest_platform_list #%r{} end @@ -79,14 +79,7 @@ def latest_platform_list '7.18.0' end - # Platforms that only have nightly builds available. Once a platform - # is released, it should be removed from this list. - # case target_platform - # when %r{fedora-36} - # puppet_7_collection = 'puppet7-nightly' - # puppet_8_collection = 'puppet8-nightly' - # else - # end + # Use nightlies for unreleased platforms case target_platform when latest_platform_list puppet_7_collection = 'puppet7-nightly'