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 committed Jul 17, 2023
1 parent 209a59d commit ac0b19c
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 ac0b19c

Please sign in to comment.