Enhance Puppet v4 compatibility
This commit is contained in:
parent
98382a05ff
commit
bbdb6d4f5e
@ -233,7 +233,7 @@ class ssh (
|
||||
}
|
||||
}
|
||||
|
||||
if $::ssh_version =~ /^OpenSSH/ {
|
||||
if "${::ssh_version}" =~ /^OpenSSH/ { # lint:ignore:only_variable_string
|
||||
$ssh_version_array = split($::ssh_version_numeric, '\.')
|
||||
$ssh_version_maj_int = 0 + $ssh_version_array[0]
|
||||
$ssh_version_min_int = 0 + $ssh_version_array[1]
|
||||
|
Loading…
x
Reference in New Issue
Block a user