Skip to content
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

Unable to update Node version #285

Closed
oryagel opened this issue Mar 18, 2017 · 3 comments
Closed

Unable to update Node version #285

oryagel opened this issue Mar 18, 2017 · 3 comments

Comments

@oryagel
Copy link

oryagel commented Mar 18, 2017

Hi,
Thanks for this module!
Using the module I installed node 6.x successfully. Then I wanted to update the node version to 7.x, I changed repo_url_suffix to 7.x and puppet agent does recognize the change but it doesn't update the node version on the machine. When I do node -v I still get version 6.
Is this supposed to update node version in that case?

Thanks

  • Puppet: PE 2016.4.2
  • Ruby: 1.9.3
  • Distribution: Ubuntu 14.04
  • Module version: 2.3.0

The log from the puppet agent:

Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Loading facts
Info: Caching catalog for xxxxxxx
Info: Applying configuration version '1489828173'
Notice: /Stage[main]/Nodejs::Repo::Nodesource::Apt/Apt::Source[nodesource]/Apt::Setting[list-nodesource]/File[/etc/apt/sources.list.d/nodesource.list]/content:
--- /etc/apt/sources.list.d/nodesource.list     2017-03-18 13:17:14.403628212 +0 200
+++ /tmp/puppet-file20170318-19337-17kofrx      2017-03-18 13:17:55.995628973 +0 200
@@ -1,3 +1,3 @@
 # This file is managed by Puppet. DO NOT EDIT.
 # nodesource
-deb https://deb.nodesource.com/node_6.x trusty main
+deb https://deb.nodesource.com/node_7.x trusty main

Info: Computing checksum on file /etc/apt/sources.list.d/nodesource.list
Info: FileBucket got a duplicate file {md5}d595d7c858e4b2afdafc8753fbd3bb8f
Info: /Stage[main]/Nodejs::Repo::Nodesource::Apt/Apt::Source[nodesource]/Apt::Setting[list-nodesource]/File[/etc/apt/sources.list.d/nodesource.list]: Filebucket                                  ed /etc/apt/sources.list.d/nodesource.list to puppet with sum d595d7c858e4b2afda                                  fc8753fbd3bb8f
Notice: /Stage[main]/Nodejs::Repo::Nodesource::Apt/Apt::Source[nodesource]/Apt::Setting[list-nodesource]/File[/etc/apt/sources.list.d/nodesource.list]/content:                                   content changed '{md5}d595d7c858e4b2afdafc8753fbd3bb8f' to '{md5}9951f53ddb24e07                                  4c804c017f337034e'
Info: /Stage[main]/Nodejs::Repo::Nodesource::Apt/Apt::Source[nodesource]/Apt::Setting[list-nodesource]/File[/etc/apt/sources.list.d/nodesource.list]: Scheduling                                   refresh of Class[Apt::Update]
Info: Class[Apt::Update]: Scheduling refresh of Exec[apt_update]
Notice: /Stage[main]/Apt::Update/Exec[apt_update]: Triggered 'refresh' from 1 events```
@juniorsysadmin juniorsysadmin added the needs-feedback Further information is requested label Sep 24, 2017
@juniorsysadmin
Copy link
Member

@oryagel Is this still an issue running latest Ruby/Puppet/module versions?

@oryagel
Copy link
Author

oryagel commented Sep 24, 2017

@juniorsysadmin Yes, still having this issue. Running version 3.1.0 with Puppet 2016.4.2

@juniorsysadmin
Copy link
Member

juniorsysadmin commented Sep 26, 2017

@oryagel Oh, see the comment in #258 . Issue #322 is the raised issue to add better docs.

@juniorsysadmin juniorsysadmin removed the needs-feedback Further information is requested label Sep 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants