Coder Social home page Coder Social logo

Comments (2)

ekohl avatar ekohl commented on July 17, 2024

This drastically reduces the universal usability for a relatively small gain as far as code complexity is concerned.

I disagree with that, in particular the systemd timer and other ordering/workarounds are good examples where there's more code complexity than you'd think.

The ultimate fix for situations like these would require a feature in puppet that would enable a module to include another module in a private namespace. Referals from within the including module (i.e. in this particular case, the calls to ::systemd resources) would work as expected. However, the namespace would not be visible from modules other than the one including it.

Until such a private namespace puppet feature is available, published modules should take care not to trample on namespaces outside their own module.

While I agree that Puppet never solved namespacing quite right (other issues are around moving from one to another), I don't see how the current situation tramples on namespaces outside their own module. We have a dependency declared in our metadata.json and utilize it.

In the latter manifest the inclusion of the systemd::timer resource takes place even if the 'systemd timer' method is not enabled.

The reason for that is a user can switch between runmodes. That's why it is there: to ensure it's absent. You can override unavailable_runmodes to disable it. It would still leave the service overrides on the server side though which can be a problem.

from puppet-puppet.

ekohl avatar ekohl commented on July 17, 2024

At this point I think the Vox Pupuli systemd module is very common. Even puppetlabs/postgresql has started to depend on it.

from puppet-puppet.

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.