Skip to content

Commit

Permalink
terrible hacks to make ensure/provide happy
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeni committed Oct 28, 2023
1 parent 9bd8565 commit e7ee54a
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 @@ -41,7 +41,10 @@
$nodejs_dev_package_name = 'nodejs-devel'
$nodejs_dev_package_ensure = 'absent'
$nodejs_package_name = 'nodejs'
$npm_package_ensure = 'absent'
$npm_package_ensure = $repo_url_suffix ? {
'16.x' => 'present',
default => 'absent',
}
$npm_package_name = 'npm'
$npm_path = '/usr/bin/npm'
$repo_class = 'nodejs::repo::nodesource'
Expand Down

0 comments on commit e7ee54a

Please sign in to comment.