Skip to content

Commit 0adc827

Browse files
committed
Update comments for init_spec
1 parent 5b97a01 commit 0adc827

File tree

1 file changed

+4
-11
lines changed

1 file changed

+4
-11
lines changed

task_spec/spec/acceptance/init_spec.rb

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ def log_output_errors(result)
3838
puts logger.info(out)
3939
end
4040

41-
# Added this method to simplify the 'case' condition
42-
# used for target_platform, which will use latest puppet_agent
43-
# in below mentioned test spec
41+
# This method contains a list of platforms that are only available in nightly builds of puppet-agent. Once a regular
42+
# release of puppet-agent includes support for these platforms, they can be removed from this method and added to
43+
# the logic that determines the puppet_7_version variable below.
4444
def latest_platform_list
4545
# %r{operatingsystem-version-architecture}
4646
end
@@ -79,14 +79,7 @@ def latest_platform_list
7979
'7.18.0'
8080
end
8181

82-
# Platforms that only have nightly builds available. Once a platform
83-
# is released, it should be removed from this list.
84-
# case target_platform
85-
# when %r{fedora-36}
86-
# puppet_7_collection = 'puppet7-nightly'
87-
# puppet_8_collection = 'puppet8-nightly'
88-
# else
89-
# end
82+
# Use nightlies for unreleased platforms
9083
case target_platform
9184
when latest_platform_list
9285
puppet_7_collection = 'puppet7-nightly'

0 commit comments

Comments
 (0)