Hi NuPIC,

I hope someone can help me clean my vagrantfile up!

Included is a vagrantfile and a provision script for an ubuntu vagrant box
I am trying to build up. I intend to use vagrant to run htm models without
depending on my host machine. My first choice is HTM Engine. I've spent
hours trying to set up this machine but I keep running into problems. Some
of the persistent ones:


   - mysql-5.6 will not install properly, causing problems later on in the
   provision.
   - installing with setup.py takes a long time, has lots of warnings and
   doesn't seem to register the python package.
   - launching supervisord needs sudo rights, I don't know why.
   - provisioning after vagrant halt makes a lot of redundant commands
   happen.

provisioning with a shell script might not be ideal or pretty, but it gives
me faster results compared to first learning chef/puppet/ansible.

To try out the vagrantfile, put it in a folder together with the setup.sh
script. Obviously you'll need Virtualbox and Vagrant installed.

With regards,

Casper Rooker
[email protected]

Attachment: Vagrantfile
Description: Binary data

Attachment: setup.sh
Description: Bourne shell script

Reply via email to