Skip to content

Commit

Permalink
default to 16.x on el7
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeni committed Oct 27, 2023
1 parent ee1f3f9 commit 9faf50b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion manifests/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@
$repo_proxy_password = 'absent'
$repo_proxy_username = 'absent'
$repo_release = undef
$repo_url_suffix = '18.x'
$repo_url_suffix = ($facts['os']['family'] == 'RedHat' and $facts['os']['release']['major'] == '7') ? {
true => '16.x',
default => '18.x',
}
$use_flags = ['npm', 'snapshot']

$cmd_exe_path = $facts['os']['family'] ? {
Expand Down

0 comments on commit 9faf50b

Please sign in to comment.