We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f0f3e1 commit 59f6691Copy full SHA for 59f6691
manifests/mod/php.pp
@@ -106,6 +106,14 @@
106
}
107
108
if $facts['os']['name'] == 'SLES' {
109
+ if $_package_name == 'apache2-mod_php7' and $facts['os']['release']['major'] == '15' {
110
+ exec { 'enable legacy repos':
111
+ path => '/bin:/usr/bin/:/sbin:/usr/sbin',
112
+ command => 'SUSEConnect --product sle-module-legacy/15.4/x86_64',
113
+ unless => 'SUSEConnect --status-text | grep sle-module-legacy/15.4/x86_64',
114
+ }
115
116
+
117
::apache::mod { $mod:
118
package => $_package_name,
119
package_ensure => $package_ensure,
0 commit comments