voxpupuli / puppet-nodejs

Puppet module to install nodejs and global npm packages
https://forge.puppet.com/puppet/nodejs
Apache License 2.0
113 stars 247 forks source link

nodejs_package_ensure won't upgrade my node (RHEL 7) #398

Open jblom opened 5 years ago

jblom commented 5 years ago

Affected Puppet, Ruby, OS and module versions/distributions

How to reproduce (e.g Puppet code you use)

On my system I have node 6.x, but I want to upgrade to 10.x

    class { '::nodejs':
      repo_url_suffix => '10.x',
      nodejs_package_ensure => '10.16.0',
      nodejs_dev_package_ensure => 'present',
      npm_package_ensure => 'present',
      repo_class => '::epel',
    }

What are you seeing

Puppet module is not picking up the change

What behaviour did you expect instead

Upgrade of node version

Output log

Puppet doesn't detect a change, which I'd expect after changing repo_url_suffix and nodejs_package_ensure

Any additional information you'd like to impart

I'd like to upgrade my puppet version, but hard to find the time for that. I hope the problem is not related to that