aboutsummaryrefslogtreecommitdiff
path: root/manifests/series7
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2018-09-14 14:45:46 -0300
committerSilvio Rhatto <rhatto@riseup.net>2018-09-14 14:45:46 -0300
commita393864ac0554b671f6e5d04def839d76c90032c (patch)
tree1608b1e90614f7480c95dd2e47fbe15830a28808 /manifests/series7
parent0c815b656e93e18f7fb6b72c0be4e51069799abe (diff)
downloadpuppet-php-a393864ac0554b671f6e5d04def839d76c90032c.tar.gz
puppet-php-a393864ac0554b671f6e5d04def839d76c90032c.tar.bz2
Avoid dependency lookup error for /etc/apt/sources.list.d/php.list at php::packages (3)
Diffstat (limited to 'manifests/series7')
-rw-r--r--manifests/series7/packages.pp6
1 files changed, 4 insertions, 2 deletions
diff --git a/manifests/series7/packages.pp b/manifests/series7/packages.pp
index 1f1d635..15a91c3 100644
--- a/manifests/series7/packages.pp
+++ b/manifests/series7/packages.pp
@@ -2,12 +2,14 @@ class php::series7::packages inherits php::packages {
$version = $::php::params::version7
package { [ "php${version}-common", "php${version}-mysql", "php${version}-cli", "php${version}-curl", 'php-gmp', 'php-xml', "libapache2-mod-php${version}" ]:
- ensure => installed,
+ rnsure => installed,
+ require => File['/etc/apt/sources.list.d/php.list'],
}
# Optional packages
package { [ "php${version}-gd" ]:
- ensure => installed,
+ ensure => installed,
+ require => File['/etc/apt/sources.list.d/php.list'],
}
# Default alternative