diff --git a/manifests/init.pp b/manifests/init.pp index 70e2ee5..5f606e7 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -90,7 +90,7 @@ $qvalue = shellquote("${value}") # lint:endignore exec { "enforce-sysctl-value-${qtitle}": - unless => "/usr/bin/test \"$(/sbin/sysctl -n ${qtitle})\" = ${qvalue}", + unless => "/usr/bin/test \"$(/sbin/sysctl -n ${qtitle} | sed -e 's/\t/ /g')\" = ${qvalue}", command => "/sbin/sysctl -w ${qtitle}=${qvalue}", } }