Validating YAML formatting in Notepad ++

 

The formatting in the YAML file ccpd-config.yml is very particular especially regarding spaces.
This post shows how to configure Notepad ++ to help highlight these issues when troubleshooting CCPD issues.

 

Open Notepad ++

  1. Go to Settings > Preferences > Language

  2. In the Tab Settings section, find yaml and click on it

  3. Make sure "Replace by space" and "Use default value" are not selected

Open a ccp-config.yaml file and select the "Show all characters" icon;

 

If they used TAB instead of space it will show like the entry for password in the screenshot below.