-
-
Notifications
You must be signed in to change notification settings - Fork 245
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
Making it possible to provide concrete nodejs versions to force upgrade/downgrade (#197) #198
Conversation
…ate the sources.list Until now only the value 'present' caused a sources.list update. Now it's possible to also provide a certain version or other values like 'latest' Only if 'absent' is provided explicitly, the nodejs package will be purged.
I tried executing the existing tests with
This error seems unrelated to my patch though (imo). I am not that experienced in Ruby/Puppet so I don't really know how to solve it. |
@fstr You want to run |
What's wrong with just having the change: |
I have my update frequency on always. I investigated this problem again and you are right. The apt-get update call is not needed. The install failed because the nodesource repository updated from So for upgrading it would be:
For downgrading it would be:
I will remove the commit with the apt-get update changes later. |
@fstr Ready to merge? |
yes |
Making it possible to provide concrete nodejs versions to force upgrade/downgrade (#197)
Making it possible to provide concrete nodejs versions to force upgrade/downgrade (voxpupuli#197)
This fixes issue #197
It is now possible to upgrade/downgrade in Debian providing (forcing) a certain version. It's also possible to use 'latest', but using latest will not downgrade your version if you want to.
upgrade
upgrade
downgrade