choria-legacy / puppet-nats

NATS.io module for the Choria Orchestrator
http://choria.io
Apache License 2.0
5 stars 16 forks source link

Passwords starting with a digit fail #37

Closed houtmanj closed 7 years ago

houtmanj commented 7 years ago

Password starting with a digit can break the configuration.

Error message:
May 20 12:00:59 systemd[1]: Starting NATS.io Messaging System...
May 20 12:00:59 gnatsd[5576]: Parse error on line 29: 'Expected a map value terminator "," or a map terminator "}", but got 'X' instead.'

The relevant section of the config file:

   authorization {
     user: routes
     password: 5XXXXXXXXXX
     timeout: 0.75
   }