Re-inject opts into modules under multi-master mode.
Merge pull request #15848 from cachedout/multimaster_opts

Re-inject opts into modules under multi-master mode.