lundi 9 janvier 2017

chef ruby syntax error while converting hash to yaml

i have mongodb3 cookbook using in my envinorment(took from chef supermarket),when ever we pass input for mongos template like [10.10.0.10,127.0.0.1] , the output file is creating with inproper syntax.

PFB out put -

net: port: 27017 bindIp: ! '[10.10.0.10,127.0.0.1]'

getting ! and '' beside to square brackets instead of [10.10.0.10,127.0.0.1]

can any one please help on this ?

Aucun commentaire:

Enregistrer un commentaire