Hacker News new | past | comments | ask | show | jobs | submit login

> Vagrantfile configs are actually Ruby scripts

I took advantage of this by storing all my settings in YAML and then using the same YAML for both Vagrant and my Ansible provisioner:

Here's the Ruby Script that loads the YAML:

https://github.com/BigSense/vSense/blob/master/core/vagrante...

That I call from my Vagrant file:

https://github.com/BigSense/vSense/blob/master/core/infrastr...

That is also loaded in all my Ansible roles:

https://github.com/BigSense/vSense/blob/master/ansible/bigse...




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: