Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request voxpupuli#1036 from bastelfreak/proxy_cache_path
Browse files Browse the repository at this point in the history
change proxy_cache_path default false->undef
hunner authored Mar 8, 2017
2 parents aee85e5 + 1f61188 commit 26d74bc
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions manifests/init.pp
Original file line number Diff line number Diff line change
@@ -102,7 +102,7 @@
$proxy_cache_keys_zone = 'd2:100m',
$proxy_cache_levels = '1',
$proxy_cache_max_size = '500m',
$proxy_cache_path = false,
$proxy_cache_path = undef,
$proxy_cache_loader_files = undef,
$proxy_cache_loader_sleep = undef,
$proxy_cache_loader_threshold = undef,
@@ -189,12 +189,6 @@
validate_bool($confd_only)
validate_bool($confd_purge)
validate_bool($server_purge)
if ( $proxy_cache_path != false) {
if ( is_string($proxy_cache_path) or is_hash($proxy_cache_path)) {}
else {
fail('proxy_cache_path must be a string or a hash')
}
}
validate_re($proxy_cache_levels, '^[12](:[12])*$')
validate_string($proxy_cache_keys_zone)
validate_string($proxy_cache_max_size)

0 comments on commit 26d74bc

Please sign in to comment.