Skip to content
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

Allow setting user and group permissions of the NTP logfile #615

Merged
merged 1 commit into from
Mar 29, 2021
Merged

Allow setting user and group permissions of the NTP logfile #615

merged 1 commit into from
Mar 29, 2021

Conversation

Kristijan
Copy link
Contributor

The Puppet file resource manifests/config.pp assumes that the user and group ntp exist on all supported operating systems. This is not the case (at least) for AIX 7.1, AIX 7.2, and Solaris 11. This results in the Puppet agent run failing to modify the user and group permissions of $ntp::logfile.

I'm proposing that the user and group values be turned into parameters, with the default user and group in data/common.yaml remaining as ntp as to not break any existing configurations.

@Kristijan Kristijan requested a review from a team as a code owner March 16, 2021 03:59
@CLAassistant
Copy link

CLAassistant commented Mar 16, 2021

CLA assistant check
All committers have signed the CLA.

@puppet-community-rangefinder
Copy link

ntp::config is a class

that may have no external impact to Forge modules.

ntp is a class

Breaking changes to this file WILL impact these 23 modules (exact match):
Breaking changes to this file MAY impact these 9 modules (near match):

This module is declared in 122 of 576 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.

@carabasdaniel carabasdaniel changed the title user and group permissions of the NTP logfile Allow setting user and group permissions of the NTP logfile Mar 29, 2021
@carabasdaniel
Copy link
Contributor

Hi @Kristijan, thank you for your contribution, this looks great 👍

@carabasdaniel carabasdaniel merged commit 85ae56f into puppetlabs:main Mar 29, 2021
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.

3 participants