aboutsummaryrefslogtreecommitdiff
path: root/manifests/series7.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/series7.pp')
-rw-r--r--manifests/series7.pp25
1 files changed, 19 insertions, 6 deletions
diff --git a/manifests/series7.pp b/manifests/series7.pp
index bc3a4b1..ba68097 100644
--- a/manifests/series7.pp
+++ b/manifests/series7.pp
@@ -1,25 +1,38 @@
class php::series7(
$hardened = true,
$manage_mod_php = false,
+ $deb_sury_repo = 'absent',
) {
case $::lsbdistcodename {
'xenial': {
- include php::ppa
+ class { 'php::ppa':
+ ensure => $deb_sury_repo,
+ }
}
'trusty': {
- include php::ppa
+ class { 'php::ppa':
+ ensure => $deb_sury_repo,
+ }
}
'bookworm': {
- include php::dpa
+ class { 'php::dpa':
+ ensure => $deb_sury_repo,
+ }
}
'bullseye': {
- include php::dpa
+ class { 'php::dpa':
+ ensure => $deb_sury_repo,
+ }
}
'stretch': {
- include php::dpa
+ class { 'php::dpa':
+ ensure => $deb_sury_repo,
+ }
}
'buster': {
- include php::dpa
+ class { 'php::dpa':
+ ensure => $deb_sury_repo,
+ }
}
}