Skip to content

make systemd timers configurable #109

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

Conversation

SimonHoenscheid
Copy link
Contributor

@SimonHoenscheid SimonHoenscheid commented Sep 5, 2022

closes #107

@SimonHoenscheid SimonHoenscheid requested a review from a team as a code owner September 5, 2022 11:57
@puppet-community-rangefinder
Copy link

pe_databases::collect is a type

that may have no external impact to Forge modules.

pe_databases is a class

that may have no external impact to Forge modules.

pe_databases::pg_repack is a class

that may have no external impact to Forge modules.

pe_databases::postgresql_settings is a class

that may have no external impact to Forge modules.

pe_databases::postgresql_settings::table_settings is a class

that may have no external impact to Forge modules.

pe_databases::set_puppetdb_table_autovacuum_cost_delay_zero is a type

that may have no external impact to Forge modules.

pe_databases::set_table_attribute is a type

that may have no external impact to Forge modules.

This module is declared in 0 of 579 indexed public Puppetfiles.


These results were generated with Rangefinder, a tool that helps predict the downstream impact of breaking changes to elements used in Puppet modules. You can run this on the command line to get a full report.

Exact matches are those that we can positively identify via namespace and the declaring modules' metadata. Non-namespaced items, such as Puppet 3.x functions, will always be reported as near matches only.

@SimonHoenscheid SimonHoenscheid force-pushed the shoenscheid_make_systemd_timers_configurable branch from e84bbe6 to 52c512f Compare September 5, 2022 21:28
@SimonHoenscheid SimonHoenscheid force-pushed the shoenscheid_make_systemd_timers_configurable branch 4 times, most recently from a3fc962 to 27bc565 Compare September 7, 2022 09:21
Copy link
Contributor

@MartyEwings MartyEwings left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Due to the nature of this module being shipped with PE, even using a supported module such as stdlib is not something we can do within the confines of this project.

you may just have to declare this as a string

@bastelfreak
Copy link

@MartyEwings why can't you vendor stdlib or other modules? Puppet Inc and Vox Pupuli are working on best practice guidelines since years. a few of the topics are:

  • make datatypes as strict as possible
  • reuse existing datatypes
  • rely on puppet/systemd to unify unit management and reduce exec resources to reload systemd

I'm always a bit afraid that new users first check modules from Puppet and assume the used code style is the current best practice. pe_databases would be a bad example here. Would'nt it make more sense to rely on external modules and use them in PE?

@MartyEwings
Copy link
Contributor

@bastelfreak I work within the confines of a contributor to PE from the customer success organization, The overarching product team decides the standards of what is shipped with the Product. Im not sure what the specifics of the stdlib outside of PE discussion was, but there are a few good reasons I'm told.

With regards to dependencies, Everything my group puts in must not interfere with an offline installation, and the more dependencies I have the more my team must maintain and test and package.

In order to get the Product functions we require in, we have built everything for native Puppet Enterprise. Its not ideal, but its the practical way to contribute these functions we consider to be critical

@SimonHoenscheid SimonHoenscheid force-pushed the shoenscheid_make_systemd_timers_configurable branch from 27bc565 to d391423 Compare September 8, 2022 06:23
Copy link
Contributor

@m0dular m0dular left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@m0dular m0dular merged commit f76de04 into puppetlabs:main Sep 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Systemd timers should be configurable
4 participants