diff --git a/manifests/master/routes.pp b/manifests/master/routes.pp index fcdda80a..4486f896 100644 --- a/manifests/master/routes.pp +++ b/manifests/master/routes.pp @@ -22,7 +22,7 @@ } elsif $routes { $routes_real = $routes } else { - if (defined('$serverversion')) and (versioncmp($serverversion, '7.0') >= 0) { + if (defined('$clientversion')) and (versioncmp($clientversion, '7.0') >= 0) { $default_fact_cache = 'json' } else { $default_fact_cache = 'yaml'