Skip to content

Commit

Permalink
Don't do nodejs::install when manage_package_repo is set to false.
Browse files Browse the repository at this point in the history
  • Loading branch information
anordby authored and kenyon committed Sep 21, 2023
1 parent 78e933d commit 44b278b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@
fail("${module_name}: The manage_package_repo parameter was set to true but no repo_class was provided.")
}

contain 'nodejs::install'

if $manage_package_repo {
contain 'nodejs::install'

include $repo_class

Class[$repo_class]
Expand Down

0 comments on commit 44b278b

Please sign in to comment.