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 6b72635 commit fa5472fCopy full SHA for fa5472f
spec/acceptance/vhost_spec.rb
@@ -10,11 +10,11 @@ class { 'apache':
10
default_ssl_vhost => false,
11
service_ensure => stopped,
12
}
13
- if ($::osfamily == 'Suse' and $::operatingsystemrelease < '15') {
+ if ($facts['os']['family'] == 'Suse' and $::operatingsystemrelease < '15') {
14
exec { '/usr/bin/gensslcert':
15
require => Class['apache'],
16
17
- } elsif ($::osfamily == 'Suse' and $::operatingsystemrelease >= '15') {
+ } elsif ($facts['os']['family'] == 'Suse' and $::operatingsystemrelease >= '15') {
18
# In SLES 15, if not given a name, gensslcert defaults the name to be the hostname
19
exec { '/usr/bin/gensslcert -n default':
20
0 commit comments