Git Product home page Git Product logo

Comments (4)

dhoppe avatar dhoppe commented on September 26, 2024 1

On second thought, I would love to see this at puppetlabs-stdlib, because we would not need to change our modules. But I think the list of modules would be endless:

  • puppetlabs-apt
  • puppetlabs-mysql
  • puppetlabs-postgresql
  • puppetlabs-yumrepo_core
  • camtocamp-systemd
  • stahnma-epel
  • ...

from puppet-nodejs.

juniorsysadmin avatar juniorsysadmin commented on September 26, 2024

apt and probably yum falls under the category of a soft dependency https://puppet.com/docs/puppet/6.0/style_guide.html#dependencies and I am strongly against adding them as a hard dependency as it causes all kinds of usability and maintenance issues longer term.

The README does mention puppetlabs-apt, but perhaps now with the removal of things from core, more needs to be listed there as part of a Pull Request.

from puppet-nodejs.

dhoppe avatar dhoppe commented on September 26, 2024

@juniorsysadmin I agree that these modules should not be defined as hard dependency, but maybe we should add the following code to our modules, because not everyone reads the docs carefully:

if $facts['package_provider'] == 'deb' and !defined('apt') {
  fail('Please provide the module puppetlabs-apt')
} elsif $facts['package_provider'] == 'yum' and !defined('yumrepo_core') {
  fail('Please provide the module puppetlabs-yumrepo_core')
}

from puppet-nodejs.

juniorsysadmin avatar juniorsysadmin commented on September 26, 2024

Issue #395 created to add docs

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.