-
-
Notifications
You must be signed in to change notification settings - Fork 246
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
60 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# @summary Manage the DNF module | ||
# | ||
# On EL8+ DNF can manage modules. | ||
# This is a method of providing multiple versions on the same OS. | ||
# Only one DNF module stream can be active at the same time. | ||
# | ||
# @param ensure | ||
# Value of ensure parameter for redis dns module package | ||
# | ||
# @param module | ||
# Name of the nodejs dnf package | ||
# | ||
# @api private | ||
class nodejs::repo::dnfmodule ( | ||
String[1] $ensure = $nodejs::repo_version, | ||
String[1] $module = 'nodejs', | ||
) { | ||
package { 'nodejs dnf module': | ||
ensure => $ensure, | ||
name => $module, | ||
enable_only => true, | ||
provider => 'dnfmodule', | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters