-
-
Notifications
You must be signed in to change notification settings - Fork 246
New issue
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
Ubutnu 16.04 second provisioning fails & puts node.js in invalid state #360
Comments
NOTE: the Also note, the first provision installs Node.js & NPM correctly. Here are the relevant output lines after the first provision:
Afterwards, if I run provision again, it puts the system in an invalid state. This is even more so annoying since |
@MichaelMackus We dropped symlink management in #347 , which is in 5.0.0. Can verify the source and version of the module that you are using? |
Hmm. I'm using 5.0.0 of puppet-nodejs, commit SHA c771342 - looks like that's the latest commit according to Github. |
OK that was weird! Looks like my puppet module inside the container was different than the one on my host (which is 5.0.0). I did a quick update of the module, and everything is working as expected now! Sorry for the false alarm. In any case, glad this is figured out, was a huge annoyance. |
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
class { '::nodejs' }
What are you seeing
First provision, everything works fine. Second time I provision the server (no matter what combination of repo_url_suffix or manage_repo settings), I get a circular symlink error. It seems like /usr/bin/node is symlinked to /etc/alternatives/nodejs which is also symlinked to /usr/bin/node!
What behaviour did you expect instead
Idempotent node.js installation, no matter how many times provision is run.
Output log
The text was updated successfully, but these errors were encountered: