aboutsummaryrefslogtreecommitdiff
path: root/manifests/series8.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2024-12-31 18:22:12 -0300
committerSilvio Rhatto <rhatto@riseup.net>2024-12-31 18:22:12 -0300
commit74d515930abbf2278ac4387cb16f5f2ce5f08807 (patch)
treefcdbcc4e91991225ef06c144602c81f37839313e /manifests/series8.pp
parenta344dbf14ca118ea4862f171d2111713607e54c6 (diff)
downloadpuppet-php-74d515930abbf2278ac4387cb16f5f2ce5f08807.tar.gz
puppet-php-74d515930abbf2278ac4387cb16f5f2ce5f08807.tar.bz2
Fix: disable deb.sury repo by defaultHEADmaster
Diffstat (limited to 'manifests/series8.pp')
-rw-r--r--manifests/series8.pp25
1 files changed, 19 insertions, 6 deletions
diff --git a/manifests/series8.pp b/manifests/series8.pp
index 00192ea..c377c78 100644
--- a/manifests/series8.pp
+++ b/manifests/series8.pp
@@ -1,25 +1,38 @@
class php::series8(
$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,
+ }
}
}