# Put everything into /virt !using : virt # Following line makes it look exactly as mux-selftest.yaml !include : mux-selftest.yaml distro: !mux # This line extends the distro branch using include !include : mux-selftest-distro.yaml # remove node called "mint" !remove_node : mi.*nt # This is a new /distro/mint appended as latest child mint: new_mint: True fedora: !remove_value : init.* new_init: systemd gentoo: # This modifies the value of 'is_cool' is_cool: True # And this removes the original 'is_cool' # Setting happens after ctrl so it should be created' !remove_value : is_cool distro: !mux gentoo: # This won't change anything # This creates new branch the usual way new_node: # Put this new_node into /absolutely/fresh/ ('/' are automatically # removed during parse time, absolute location is not supported and # not even planned) !using : /absolutely/fresh/ new_value: "something" # Check that mapping keys are not converted to values, while values are # while value between quotes stays as string. on: on: on true: "true" # We do also support ordinary dicts as values if they are either marked # as dicts or when they are stored inside another object. # note: They will be turned into OrderedDict(s), but the behavior # should be similar. dict: explicit: !!python/dict foo: bar bar: baz in_list: - foo: bar bar: baz