You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am getting the following error when trying to use this module to install php5-cli:
/Stage[main]/Php::Ini[/etc/php5/cli/php.ini]/File[/etc/php5/cli/php.ini]/ensure) change from absent to file failed: Could not set 'file on ensure: cannot generate tempfile `/etc/php5/cli/php.ini20150831-7938-1j2ducm-9' at /etc/puppet/ext_modules/php/manifests/ini.pp:117
The issue seems to be that Package['php5-cli'] depends on File['/etc/php5/cli/php.ini'], which does not exist before the php5-cli package is installed. I actually think that this dependency should be inverted (i.e. that File['/etc/php5/cli/php.ini'] should depend on Package['php5-cli']).
The text was updated successfully, but these errors were encountered:
I am getting the following error when trying to use this module to install
php5-cli
:The puppet code is as follows:
The issue seems to be that
Package['php5-cli']
depends onFile['/etc/php5/cli/php.ini']
, which does not exist before thephp5-cli
package is installed. I actually think that this dependency should be inverted (i.e. thatFile['/etc/php5/cli/php.ini']
should depend onPackage['php5-cli']
).The text was updated successfully, but these errors were encountered: