puppet-php icon indicating copy to clipboard operation
puppet-php copied to clipboard

Pear tmp dir how to set

Open dionrowney opened this issue 1 year ago • 0 comments

  • 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?

dionrowney avatar May 09 '24 16:05 dionrowney