We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A package with provider => npm may run before npm is installed and fail
Not sure if it is ok to add it in the module, but at least should be in the README
if $::operatingsystem != 'ubuntu' { Package['npm'] -> Package <| provider == npm |> } else { Package['nodejs'] -> Package <| provider == npm |> }
An nodejs::npm anchor would also simplify the rule above
Does it look reasonable?
The text was updated successfully, but these errors were encountered:
👍 this really caused me some headaches today!
Sorry, something went wrong.
This looks to be the source of #57
Edit: Confirmed, added the above code to line 83 of init.pp and my dependency issue went away.
Should no longer be occurring. Note that we also use require => Class['nodejs'] in the npm defined type.
require => Class['nodejs']
No branches or pull requests
A package with provider => npm may run before npm is installed and fail
Not sure if it is ok to add it in the module, but at least should be in the README
if $::operatingsystem != 'ubuntu' {
Package['npm'] -> Package <| provider == npm |>
} else {
Package['nodejs'] -> Package <| provider == npm |>
}
An nodejs::npm anchor would also simplify the rule above
Does it look reasonable?
The text was updated successfully, but these errors were encountered: