Skip to content

Commit dc1d885

Browse files
Merge pull request #38 from corporate-gadfly/default-fact-cache
set default fact cache to json
2 parents b2d7042 + 71c843a commit dc1d885

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

manifests/master/routes.pp

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,7 @@
2222
} elsif $routes {
2323
$routes_real = $routes
2424
} else {
25-
if (defined('$serverversion')) and (versioncmp($serverversion, '7.0') >= 0) {
26-
$default_fact_cache = 'json'
27-
} else {
28-
$default_fact_cache = 'yaml'
29-
}
25+
$default_fact_cache = 'json'
3026
$routes_real = {
3127
'master' => {
3228
'facts' => {

0 commit comments

Comments
 (0)