GithubHelp home page GithubHelp logo

Comments (4)

igalic avatar igalic commented on July 19, 2024

👍 @fstr!
would you like to provide us with a pull request?

from puppet-nodejs.

fstr avatar fstr commented on July 19, 2024

I was working with the 0.8.0 release from puppetlabs, you should publish a new release there!

But the problem seems to persist/be slightly different for the latest 1.3.0 release.

When I change the repo_url_suffix from 4.x to 5.x, the sources.list.d file is updated, but no apt-get update is executed. A notify => Exec['apt_update'] when changing the sources.list entry seems to be propagated to be executed AFTER apt-get install

With the change I proposed providing a certain version, the install fails because of the missing apt-get update.

The best fix I found so far, is doing a require => Exec['apt_update'] in install.pp for each package to make sure, that the required versions are available after providing the sources.list.

Example:

  # nodejs
  package { $nodejs::nodejs_package_name:
    ensure => $nodejs::nodejs_package_ensure,
    require  => Exec['apt_update']
  }

I'll try to provide a PR later.

from puppet-nodejs.

igalic avatar igalic commented on July 19, 2024

I was working with the 0.8.0 release from puppetlabs, you should publish a new release there!

@fstr puppetlabs/nodejs has been moved to voxpupuli (on the forge this is the /puppet namespace)
we're working together with puppetlabs to make pmt and the forge do redirects.

from puppet-nodejs.

juniorsysadmin avatar juniorsysadmin commented on July 19, 2024

Proposed fix merged in #198

from puppet-nodejs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.