Resolution: Cannot Reproduce
Affects Version/s: PUP 4.2.1
Fix Version/s: None
CentOS 6.4, puppet_version=4.2.1, ruby_version=2.1.6, run_mode=user, default_encoding=UTF-8
Certain combinations of unclosed quotes and braces can cause puppet parser validate to hang.
- Put the following into a file test.pp
- run puppet parser validate test.pp
It will hang. Even with --verbose --debug the only output I get is the Debug: Runtime environment: puppet_version=... line.
The code above is a contrived example minimised as small as I can get it (the quotes and the /* in the second resource all seem to be required to reproduce), but it came from a real-world manifest where I had mucked up a find-replace.
This is a pretty minor issue, but I'm reporting it as ideally it would give you a helpful message telling you which line of your code was invalid.