Class: Bosh::Director::Jobs::Helpers::ConfigParser
- Defined in:
- lib/bosh/director/jobs/helpers/config_parser.rb
Class Method Summary collapse
-
.parse(manifest) ⇒ Object
Search and Replace at a config placeholders in manifest.
Class Method Details
.parse(manifest) ⇒ Object
Search and Replace at a config placeholders in manifest
9 10 11 12 13 14 15 16 |
# File 'lib/bosh/director/jobs/helpers/config_parser.rb', line 9 def parse(manifest) new_manifest = Bosh::Common::DeepCopy.copy(manifest) config_map = DeepHashReplacement.replacement_map(new_manifest) parsed_config = apply_replacements(new_manifest, config_map) parsed_config end |