Commit graph

873 commits

Author SHA1 Message Date
Fabio Rehm
b301ee8e0f Add warning about the sudo wrapper script 2013-07-31 22:48:00 -03:00
Fabio Rehm
2082a5a81d Remove some unused args and add pending specs so that we don't forget to test it 2013-07-31 22:35:49 -03:00
Fabio Rehm
c4429fa158 Remove pending spec 2013-07-31 22:15:18 -03:00
Fabio Rehm
5f102d3e10 First stab at persisting lxc customizations on config file instead of using lxc-start "-s" parameter 2013-07-29 12:12:41 -03:00
Fabio Rehm
251fe68035 Cache the output of Driver#version 2013-07-29 12:10:59 -03:00
Fabio Rehm
23f531b38c Remove duplicated Driver#base_path method 2013-07-29 12:10:25 -03:00
Fabio Rehm
0385a64d31 Replace ugly driver builder with a more intelligent approach
References #118
2013-07-29 12:08:24 -03:00
Fabio Rehm
b374bba4ec Update bundle 2013-07-28 19:45:22 -03:00
Fabio Rehm
ae7a3b0795 Update README 2013-07-28 19:43:41 -03:00
Fabio Rehm
e1f756cdc3 Remove memory swap limit from example Vagrantfile 2013-07-28 03:12:17 -03:00
Fabio Rehm
97f6edeed8 Error out if LXC is not installed
This is enough to close #11
2013-07-28 02:55:00 -03:00
Fabio Rehm
dee099ce96 Make use of vagrant's builtin action for handling forwarded port collisions
Closes #5
2013-07-28 02:39:11 -03:00
Fabio Rehm
7f58f7a26e Add support for logging redir output by setting REDIR_LOG env var
Closes #51
2013-07-28 02:30:17 -03:00
Fabio Rehm
14e8c41ee0 Avoid sudos for redir related stuff 2013-07-28 02:20:16 -03:00
Fabio Rehm
d62a053674 Add support for using a sudo wrapper script
Closes #90
2013-07-28 02:17:07 -03:00
Fabio Rehm
98f1df47a1 Do not attach forwarded ports to host's 127.0.0.1 by default
This is enough for us to bump to 0.5.0 and to close #76
2013-07-28 01:31:50 -03:00
Fabio Rehm
2dbfd23915 No need to use sudo to check if redir is installed 2013-07-27 20:44:36 -03:00
Fabio Rehm
d2e354839f Update changelog 2013-07-21 22:55:34 -03:00
Fabio Rehm
bff0f8019b Merge pull request #116 from battlemidget/salt-feature-1
Salt feature 1
2013-07-21 18:54:31 -07:00
Fabio Rehm
258c822a54 Add license to .gemspec
Fixes #114
2013-07-21 22:51:29 -03:00
Fabio Rehm
9058c5763c Update CHANGELOG 2013-07-21 22:48:28 -03:00
Fabio Rehm
681c490cdc Add Vagrantfile VM name to the container name
Closes #115
2013-07-21 22:46:44 -03:00
Fabio Rehm
e68e4f8f05 Support for specifying host interface/ip for binding redir
Closes #76
2013-07-21 22:45:07 -03:00
Adam Stokes
900db67d10 Merge branch 'master' of github.com:fgrehm/vagrant-lxc into salt-feature-1 2013-07-21 21:39:16 -04:00
Fabio Rehm
c7087a6802 Update changelog 2013-07-21 21:08:55 -03:00
Fabio Rehm
ee37b9e2e7 Merge branch 'check-for-redir' of https://github.com/zeroem/vagrant-lxc 2013-07-21 21:06:14 -03:00
Adam Stokes
9207ed49ba Append sources repository for any build-dep requirements
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
2013-07-21 18:35:01 -04:00
Adam Stokes
d2d131cefb Fix binary name for apt repository
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
2013-07-19 17:32:42 -04:00
Adam Stokes
5b5719295d Include saltstack support within custom lxc builds
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
2013-07-19 16:48:21 -04:00
Fabio Rehm
ef3b97dff8 Up version for development 2013-07-18 23:53:09 -03:00
Fabio Rehm
7ceed8d6d9 Update CHANGELOG.md 2013-07-18 21:18:45 -03:00
Fabio Rehm
72555fdeb5 Merge pull request #108 from fgrehm/0.4.0
Release 0.4.0
2013-07-18 16:52:35 -07:00
Darrell Hamilton
eb0854b6fb Test coverage for 'check for redir'
Includes a minor refactor allowing variation of the result of the system
call per test
2013-07-15 21:56:40 -07:00
Darrell Hamilton
17211387d0 stub out call to system 2013-07-15 11:30:40 -07:00
Darrell Hamilton
041f185395 Check for redir before booting the machine 2013-07-15 10:49:02 -07:00
Darrell Hamilton
a2a9cb99d1 repair whitespace 2013-07-14 22:50:14 -07:00
Darrell Hamilton
ad41c445a4 Check for redir before forwarding ports
Make a system call out to `which` to see if redir exists on the PATH
before trying to forward ports.  Raises a VagrantError if it does not.
2013-07-14 22:42:49 -07:00
Fabio Rehm
003de9476a v0.4.0 2013-07-13 14:03:25 -03:00
Fabio Rehm
494bc07e5f Fix broken spec 2013-07-13 14:02:13 -03:00
Fabio Rehm
e3597e08a7 Rollback rspec to 2.13.1
Lots of tests were failing and I'm not willing to dig into them right
now =/
2013-07-13 14:00:48 -03:00
Fabio Rehm
4598644143 Checking for specific error classes got deprecated on new rspec 2013-07-13 13:42:03 -03:00
Fabio Rehm
09208a0d28 mock/stub -> double 2013-07-13 13:41:39 -03:00
Fabio Rehm
c14ca57d17 fire_double was deprecated in favor of instance_double 2013-07-13 13:41:20 -03:00
Fabio Rehm
4bd6bffcb6 Use vagrant-omnibus to test Chef provisioning on example Vagrantfile 2013-07-12 20:38:38 -03:00
Fabio Rehm
0e66eb675b Enable NFS for vagrant-cachier 2013-07-12 20:27:39 -03:00
Fabio Rehm
4bbbb4cbf6 Enable vagrant-pristine for development boxes 2013-07-12 20:27:16 -03:00
Fabio Rehm
e504ce3e8d New boxes! 2013-07-12 14:25:24 -03:00
Fabio Rehm
e3665f88ae Update dependencies 2013-07-12 14:24:15 -03:00
Fabio Rehm
6c52ef8255 Ensure container's rootfs is set on config file
Makes our lives easier as we are able to just run a `lxc-start -n CONTAINER`
to check how things are doing without having to go through vagrant.
2013-07-12 01:29:13 -03:00
Fabio Rehm
78499202b6 Revert "Lets ensure the rootfs is always set before starting the container"
This reverts commit c6af4fab08 as it is
probably a better idea to have the rootfs config baked into the config
file so we can easily run a `lxc-start -n CONTAINER`
2013-07-12 01:21:27 -03:00