saltstack-formulas / lvm-formula

8 stars 13 forks source link

refactor(map.jinja): use config.get #14

Closed noelmcloughlin closed 5 years ago

noelmcloughlin commented 5 years ago

This PR replaces ERROR with WARNING.

Saw these on FreeBSD.

Using pillar.get

[ERROR   ] pillar.get: Default (None) is of type 'NoneType', must be a dict or list to merge. Merge will be skipped.
[ERROR   ] pillar.get: Default (None) is of type 'NoneType', must be a dict or list to merge. Merge will be skipped.
[ERROR   ] pillar.get: Default (None) is of type 'NoneType', must be a dict or list to merge. Merge will be skipped.
[ERROR   ] pillar.get: Default (None) is of type 'NoneType', must be a dict or list to merge. Merge will be skipped.

Using config.get

[WARNING ] Unsupported merge strategy 'True'. Falling back to 'recurse'.
[WARNING ] Unsupported merge strategy 'True'. Falling back to 'recurse'.
[WARNING ] Unsupported merge strategy 'True'. Falling back to 'recurse'.
[WARNING ] Unsupported merge strategy 'True'. Falling back to 'recurse'.
aboe76 commented 5 years ago

@noelmcloughlin thanks