From bbdb6d4f5e723d9c361c7c467fd80c3aeaa9dcee Mon Sep 17 00:00:00 2001 From: Phil Friderici Date: Tue, 23 Feb 2016 13:20:18 +0100 Subject: [PATCH] Enhance Puppet v4 compatibility --- manifests/init.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/init.pp b/manifests/init.pp index ce4ccbc..5c71ea5 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -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]