File tree Expand file tree Collapse file tree 5 files changed +8
-8
lines changed Expand file tree Collapse file tree 5 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 244
244
# ```puppet
245
245
# include apache::params
246
246
# class { 'apache':
247
- # mod_libs => merge($:: apache::params::mod_libs, {
247
+ # mod_libs => merge($apache::params::mod_libs, {
248
248
# 'wsgi' => 'mod_wsgi_python3.so',
249
249
# })
250
250
# }
255
255
# ```puppet
256
256
# include apache::params
257
257
# class { 'apache':
258
- # mod_packages => merge($:: apache::params::mod_packages, {
258
+ # mod_packages => merge($apache::params::mod_packages, {
259
259
# 'auth_kerb' => 'httpd24-mod_auth_kerb',
260
260
# })
261
261
# }
Original file line number Diff line number Diff line change @@ -10,11 +10,11 @@ class { 'apache':
10
10
default_ssl_vhost => false,
11
11
service_ensure => stopped,
12
12
}
13
- if ($facts['os']['family'] == 'Suse' and $::operatingsystemrelease < '15') {
13
+ if ($facts['os']['family'] == 'Suse' and $facts['os']['release']['major'] < '15') {
14
14
exec { '/usr/bin/gensslcert':
15
15
require => Class['apache'],
16
16
}
17
- } elsif ($facts['os']['family'] == 'Suse' and $::operatingsystemrelease >= '15') {
17
+ } elsif ($facts['os']['family'] == 'Suse' and $facts['os']['release']['major'] >= '15') {
18
18
# In SLES 15, if not given a name, gensslcert defaults the name to be the hostname
19
19
exec { '/usr/bin/gensslcert -n default':
20
20
require => Class['apache'],
Original file line number Diff line number Diff line change 46
46
<<-MANIFEST
47
47
include apache::params
48
48
class { 'apache':
49
- mod_packages => merge($:: apache::params::mod_packages, {
49
+ mod_packages => merge($apache::params::mod_packages, {
50
50
'auth_kerb' => 'httpd24-mod_auth_kerb',
51
51
})
52
52
}
Original file line number Diff line number Diff line change 55
55
<<-MANIFEST
56
56
include apache::params
57
57
class { 'apache':
58
- mod_packages => merge($:: apache::params::mod_packages, {
58
+ mod_packages => merge($apache::params::mod_packages, {
59
59
'auth_openidc' => 'httpd24-mod_auth_openidc',
60
60
})
61
61
}
Original file line number Diff line number Diff line change 136
136
<<-MANIFEST
137
137
include apache::params
138
138
class { 'apache':
139
- mod_packages => merge($:: apache::params::mod_packages, {
139
+ mod_packages => merge($apache::params::mod_packages, {
140
140
'wsgi' => 'python3-mod_wsgi',
141
141
}),
142
- mod_libs => merge($:: apache::params::mod_libs, {
142
+ mod_libs => merge($apache::params::mod_libs, {
143
143
'wsgi' => 'mod_wsgi_python3.so',
144
144
})
145
145
}
You can’t perform that action at this time.
0 commit comments