Comments (2)
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.
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)
- please Allow puppetlabs/stdlib 7.x HOT 1
- camptocamp-systemd is deprecated HOT 2
- CONFIG setting in /etc/default/puppetserver isn't managed
- server::config class references wrong variable for additional_settings HOT 1
- SSL cert isn't created for compilers HOT 3
- missing dependency in metdata.json (theforeman-git) HOT 3
- incorrect handle of runinterval in agent/service/systemd.pp breaks catalog compilation HOT 3
- Ubuntu Focal fails to set max open file limit
- Make reporturl configurable
- Disable Dropsonde telemetry
- Please release new module version v16.3.0
- FreeBSD puppetserver gem-home is missing the system Gem.dir HOT 4
- updating puppetserver 6.x -> 7.x fails without manual intervention HOT 4
- Add support for sensitive config
- Add support for enabling unauthentacated access to metrics endpoint HOT 1
- Sync up with upstream naming (`master`->`server`) HOT 1
- missing CRL `put` from `puppetserver/conf.d/auth.conf` HOT 1
- Add support for local PuppetDB on every Puppet server HOT 1
- stdlib 9.x.x compat HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from puppet-puppet.