voxpupuli / voxpupuli/puppet-php

Add the ability to purge unmanaged settings in inifile

Open
#237 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Puppet
Stars
86
Forks
264
Avg merge
29m
Merged PRs (30d)
1

Description

currently the php.ini files are loaded with comments and settings which are default. it would be a good thing to be able to purge these, like it is already possible for fpm-pools

currently ini_settings from puppetlabs/inifile only allow purging for child-providers. there is also a open issue for adding the feature to make purging easier.

an existing solution for this is also hash2ini function which got rejected from puppetlabs-stdlib

edit:
also see the related issue for adding support for "specify owner, group, or permission"

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the php.ini management entry points and the ini_settings resource from puppetlabs/inifile, then compare the existing fpm-pools purge implementation in PR 61. Review MODULES-3644, MODULES-1583, and the rejected hash2ini proposal; done should mean a supported way to purge unmanaged defaults and comments, with the ownership, group, and permission question clarified.

Written by the indexing model from the issue text.

Assessment

Domain
devops
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.