Skip to content

Commit fd7d85c

Browse files
committed
(MAINT) Updating mod_package for SUSE
1 parent 1f0f3e1 commit fd7d85c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

manifests/mod/php.pp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,13 @@
106106
}
107107

108108
if $facts['os']['name'] == 'SLES' {
109+
if $_package_name == 'apache2-mod_php7' and versioncmp($facts['os']['release']['major'], '0') == '15' {
110+
exec { 'enable legacy repos':
111+
command => 'SUSEConnect --product sle-module-legacy/15.4/x86_64',
112+
refreshonly => true,
113+
}
114+
}
115+
109116
::apache::mod { $mod:
110117
package => $_package_name,
111118
package_ensure => $package_ensure,

0 commit comments

Comments
 (0)