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

use_package_json is not idempotent #358

Open
fnoop opened this issue Feb 14, 2018 · 0 comments
Open

use_package_json is not idempotent #358

fnoop opened this issue Feb 14, 2018 · 0 comments
Labels
bug Something isn't working

Comments

@fnoop
Copy link
Contributor

fnoop commented Feb 14, 2018

Affected Puppet, Ruby, OS and module versions/distributions

  • Puppet: 5.2.0
  • Ruby: 2.3.1p112
  • Distribution: Ubuntu 16.04
  • Module version: 5.0.0

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

nodejs::npm { 'npm-maverick-web':
      user             => 'mav',
      home_dir         => '/srv/maverick',
      ensure           => 'present',
      target           => '/srv/maverick/code/maverick-web',
      use_package_json => true,
    } 

What are you seeing

Notice: /Stage[main]/Maverick_web::Maverick_web/Nodejs::Npm[npm-maverick-web]/Exec[npm_install_npm-maverick-web]/returns: executed successfully
This is seen every run

What behaviour did you expect instead

It should only run once

@juniorsysadmin juniorsysadmin added the bug Something isn't working label Feb 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants