Fix some issues defaults and checks in rb-site.
Review Request #11417 — Created Jan. 28, 2021 and submitted
This fixes a few random issues that were encountered while recently
working on and testing
When configuring file-based cache, the default cache "path" was the
default memcached address, due to
--cache-info=having that as the
Similarly, a default of
memcachedwould trigger the wrong cache info
default when walking users through installation. This needed to only
be set if automating an install.
Site.settings_local_templatewasn't set when constructing a
causing breakages in unit tests.
The version range check for Apache was incorrect, breaking something like
This change fixes each of these bugs.
rb-site install --advancedand choosing both memcached and
file options. Verified the defaults.
Tested the defaults when automating the install.
Tested the unit tests (with another upcoming change that fixes a recent
Tested the Apache version check with simulated versions.