puppet-nodejs icon indicating copy to clipboard operation
puppet-nodejs copied to clipboard

nodejs_package_ensure won't upgrade my node (RHEL 7)

Open jblom opened this issue 6 years ago • 0 comments

Affected Puppet, Ruby, OS and module versions/distributions

  • Puppet: 4.10.12
  • Ruby: ruby 2.0.0p648 (2015-12-16)
  • Distribution: RHEL7
  • Module version: v7.0.1

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

jblom avatar Jun 13 '19 08:06 jblom