safe_yaml is used by default during load of all data from YAML files within puppet.
When puppet module_data loads hiera.yaml from the module it will safe-load the :hierarchy symbol as string ":hierarchy". This prevents anything other than common.yaml from being imported into the module's configuration.
This patch loads only files matching hiera.yaml with de-serialization enabled. Deserializing all symbols could cause undesired operation including increases in memory usage.
safe_yaml is used by default during load of all data from YAML files within puppet.
When puppet module_data loads hiera.yaml from the module it will safe-load the :hierarchy symbol as string ":hierarchy". This prevents anything other than common.yaml from being imported into the module's configuration.
This patch loads only files matching hiera.yaml with de-serialization enabled. Deserializing all symbols could cause undesired operation including increases in memory usage.
Puppet version 4.1.0