arista-eosplus / rbeapi

Ruby client for Arista eAPI
BSD 3-Clause "New" or "Revised" License
16 stars 16 forks source link

eapi.conf: Password not read correctly with # #157

Closed pdenitto closed 7 years ago

pdenitto commented 8 years ago

Given the following eapi.conf:

[connection:*]
username: eapiuser
password: GotA#InMyPassword

The eapi client will be unable to connect as the password is not passed correctly.

jerearista commented 7 years ago

I apologize for the extreme delay in responding. This is actually an issue with the comment handling within the inifile Rubygem but can be handled by surrounding the value with double-quotes

[connection:*]
username: eapiuser
password: "GotA#InMyPassword"