ini file not created if ensure is set to package version
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
Research direction
Start with the php::extensions declaration for pdo_sqlsrv and trace the Php::Extension::Config[pdo_sqlsrv] resource shown in the log. Reproduce the supplied Puppet configuration with ensure set to 5.3.0 and inspect how the File resource handles the missing ini. Done means /etc/php/7.0/mods-available/pdo_sqlsrv.ini is created and is not removed on subsequent Puppet runs.
Written by the indexing model from the issue text.
Description
Affected Puppet, Ruby, OS and module versions/distributions
- Puppet: 5.5.13
- Ruby: 2.3.3
- Distribution: Debian 9
- Module version: 6.0.2
How to reproduce (e.g Puppet code you use)
php::extensions:
pdo_sqlsrv:
ensure: '5.3.0'
provider: pecl
header_packages:
- unixodbc-dev
What are you seeing
pdo_sqlsrv.so exists, but /etc/php7.0/mods-available/pdo_sqlsrv.ini does not exist. If manually created, it is removed by puppet.
What behaviour did you expect instead
pdo_sqlsrv.ini should be created.
Output log
Debug: /Stage[main]/Php/Php::Extension[pdo_sqlsrv]/Php::Extension::Config[pdo_sqlsrv]/File[/etc/php/7.0/mods-available/pdo_sqlsrv.ini]: Nothing to manage: no ensure and the resource doesn't exist
- Dominant language
- Puppet
- Stars
- 86
- Forks
- 264
- Avg merge
- 29m
- Merged PRs (30d)
- 1
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from voxpupuli/puppet-php
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
voxpupuli/puppet-php#769 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 58/100
voxpupuli/puppet-php#763 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 52/100
voxpupuli/puppet-php#758 ·
-
docs good first issue
Difficulty 3/5 1-2 days Newbie friendliness 35/100
voxpupuli/puppet-php#741 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
voxpupuli/puppet-php#737 · 2 comments ·
All issues in voxpupuli/puppet-php
Similar issues
-
kind/bug Ubuntu 24
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
kubernetes-sigs/kubespray#13532 ·
-
Needs Design Priority: Wishlist
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
elementary/flatpak-platform#253 ·
-
tagbot-manual
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100