Vagrant SALT and Virtualbox

Events happening in the community are now at Drupal community events on www.drupal.org.
bhosmer's picture

Here are my slides from my presentation from DrupalCamp South Florida

I've got links in there for everything you might need.

AttachmentSize
Vagrant-SALT-Virtualbox.pdf1.77 MB

Comments

Thank you, Ben, for sharing

dpovshed's picture

Thank you, Ben,

for sharing this,
looks very interesting!

Sure thing, let me know how

bhosmer's picture

Sure thing, let me know how it works for you.

Great thing SALT. Has anyone

kucerar's picture

Great thing SALT.

Has anyone found the shared mounts very slow, making actually using local dev tools impractical? As described here: http://technosophos.com/content/building-custom-drupal-image-vagrant

I've gone back to emacs and all filesystems local to the box. emacs is a good thing, for me...

Probably a vbox question regarding performance of the shared mounts.

Yes, this is a known issue

ergonlogic's picture

Yes, this is a known issue with Virtualbox running on *nix systems. Large sets of files shared via its native directory shares will become unbearably slow. NFS is a good alternative. See the Vagrant docs for more on this: http://vagrantup.com/v1/docs/nfs.html

I have noticed a few times

bhosmer's picture

I have noticed a few times where the changes within the shared directory aren't picked up in the virtual machine. I haven't stored large amounts of files in there though. I pretty much just put my salt states in there.

Noticed that too. That's

kucerar's picture

Noticed that too. That's when I knew something was up, when Apache was serving old versions of files that I was working on.

Try setting 'EnableSendfile

ergonlogic's picture

Try setting 'EnableSendfile Off' and 'EnableMMAP Off' in apache.conf, as per: http://stackoverflow.com/questions/6298933/shared-folder-in-virtualbox-f..., etc.

Florida

Group organizers

Group categories

Florida Topics

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: