Skip to content

Commit

Permalink
Merge pull request #519 from puppetlabs/pdksync_GH-cat-12/main/add_re…
Browse files Browse the repository at this point in the history
…dhat_9_support

pdksync - (GH-cat-12) Add Support for Redhat 9
  • Loading branch information
LukasAud authored Jun 13, 2022
2 parents f2ab613 + 17fafbc commit 4f3ec08
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
3 changes: 2 additions & 1 deletion metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
"operatingsystem": "RedHat",
"operatingsystemrelease": [
"7",
"8"
"8",
"9"
]
},
{
Expand Down
6 changes: 5 additions & 1 deletion spec/spec_helper_acceptance_local.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,11 @@ def retry_on_error_matching(max_retry_count = MAX_RETRY_COUNT, retry_wait_interv
LitmusHelper.instance.run_shell('setenforce 0', expect_failures: true) if os[:family].match?(%r{redhat|oracle})

if os[:family] == 'redhat' && os[:release].to_i != 8
LitmusHelper.instance.run_shell('puppet module install stahnma/epel')
epel_owner = 'puppet'
if os[:release].to_i == 6
epel_owner = 'stahnma'
end
LitmusHelper.instance.run_shell("puppet module install #{epel_owner}/epel")
if os[:release][0].match?(%r{5|6})
pp = <<-PP
class { 'epel':
Expand Down

0 comments on commit 4f3ec08

Please sign in to comment.