viafoura / deprecated-buri

Ansible-driven AMI generation
Apache License 2.0
40 stars 14 forks source link

Local system deployment mode #24

Open jhohertz opened 10 years ago

jhohertz commented 10 years ago

Requested feature, don't have a VM, just run it against the local environment.

Might be a decent nice-to-have... probably not too difficult to target a matching Ubuntu desktop distro, though the origin of the request was to target a mac.

That we're doing jetty in /opt probably helps the cause a bit, but there might be some considerable work re: how we'd bring in dependencies (IE: homebrew vs. macports vs. whatever is probably more popular since I last looked at such things...)

I'm generally a big fan of using VMs matching as closely as possible the end target environment, so this doesn't align with our general direction, but for the possibility of it could attract people to use NetflixOSS more, which may make this worth a look.

Perhaps being able to wrap this in Vagrant would be a decent middle-ground in the shorter term.

cfregly commented 10 years ago

Mac is a super nice to have, but I was actually doing this locally in an ubuntu vm through vagrant. this is definitely a suitable middle ground.

I finally got it to (mostly) work locally within the ubuntu vm. still ironing out details with Cassandra.

I had to remove "accept_hostkey" from relevant acquire_build tasks.

I also changed to local host versus using a target ec2 instance. pretty straight forward.

thanks!

-Chris