Why do you have such a large and complex Vagrantfile? It sounds like you
have a lot of attributes that would be better managed outside Vagrant via
Chef Server roles and environments.
On Wednesday, July 16, 2014 3:07:43 PM UTC-7, Alvaro Miranda Aguilera wrote:
>
>
> if you write a json in the vagrant file and then you use
>
> puts myjson.to_json
>
> you see the same structure?
>
> I think this won't be correctly interpreted back in vagrantfile
>
> "nodename": "rabbit@#{hostname(COMPONENTS[:app_mq1])}"
>
> if you write this int he vagrantfile, it should read soemthing like
>
> "nodename": "rabbit@#{hostname(" + COMPONENTS[:app_mq1] + ")}"
>
> rite?
>
>
> On Saturday, July 12, 2014 7:17:26 AM UTC+12, [email protected] wrote:
>>
>> Lastly, here is my chef_json/app-mq1.json contents:
>>
>> cat chef_json/app-mq1.json
>> {
>> "rabbitmq": {
>> "port": 5000,
>> "nodename": "rabbit@#{hostname(COMPONENTS[:app_mq1])}"
>> }
>> }
>>
>
--
You received this message because you are subscribed to the Google Groups
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.