voxpupuli / voxpupuli/puppet-php
Pear tmp dir how to set
Nobody has claimed this yet.
- Dominant language
- Puppet
- Stars
- 86
- Forks
- 264
- Avg merge
- 29m
- Merged PRs (30d)
- 1
Description
- Puppet: 2021.7.7
- Ruby: ??
- Distribution: RHEL9
- Module version: 8.1.1
How to reproduce
Set exec bit on /tmp to noexec
attempt extension install
yaml
`
php::extensions:
redis :
provider: pear
`
Seeing
Installation fails due to no permissions to exec in /tmp
Pecl options needs to be set before install can be performed:
pear config-set temp_dir /root/tmp
then it succeeds.
Request
It is not clear how this is possible with your module. Can you provide an example somewhere?
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.
Research direction
Start from the php::extensions configuration using the pear provider and check how PEAR options are passed during extension installation. Document an example showing how to set PEAR's temp_dir away from /tmp, then verify that the example addresses installations when /tmp is mounted noexec.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100