rhizo_base/packages: Ensure package installed before config
The /etc/php/7.0/apache2 directory is created by the libapache2-mod-php package on installation. Be sure this package is installed before attempting to set its configuration files!
This commit is contained in:
parent
2c90ef70aa
commit
8bdf6646e8
1 changed files with 1 additions and 0 deletions
|
@ -61,6 +61,7 @@ class rhizo_base::packages::debian inherits rhizo_base::packages::common {
|
|||
file { '/etc/php/7.0/apache2/php.ini':
|
||||
ensure => present,
|
||||
source => "puppet:///modules/rhizo_base/php.ini",
|
||||
require => Package['libapache2-mod-php']
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue