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:
Matt Johnson 2019-07-14 23:35:02 -05:00 committed by Keith Whyte
parent 2c90ef70aa
commit 8bdf6646e8

View file

@ -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']
}
}