Skip to content

Commit

Permalink
Update comments for init_spec
Browse files Browse the repository at this point in the history
  • Loading branch information
mhashizume committed Sep 25, 2024
1 parent 6cbcbb6 commit dcd9952
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions task_spec/spec/acceptance/init_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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{}

Check failure on line 45 in task_spec/spec/acceptance/init_spec.rb

View workflow job for this annotation

GitHub Actions / static_code_analysis / Run checks

Layout/LeadingCommentSpace: Missing space after `#`. (https://rubystyle.guide#hash-space)
end
Expand Down Expand Up @@ -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'
Expand Down

0 comments on commit dcd9952

Please sign in to comment.