Commit graph

863 commits

Author SHA1 Message Date
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
Fabio Rehm
b97081be0d Add missing locale key for stopped status
Fixes #97
2013-07-08 13:29:16 -03:00
Fabio Rehm
e4504090f8 Update CHANGELOG 2013-07-08 13:15:39 -03:00
Fabio Rehm
1348bb910b Tks to @stucki work on #92 there is no need to do this anymore :) 2013-07-08 13:13:47 -03:00
Fabio Rehm
3e73a85d52 Enable retries when fetching container state
Fixes #74
2013-07-08 13:05:43 -03:00
Fabio Rehm
b8b545c277 New boxes 2013-07-08 10:50:15 -03:00
Fabio Rehm
8dc0d09632 Chef installation is now disabled by default 2013-07-08 10:47:29 -03:00
Fabio Rehm
e10822df32 Require Vagrant code right on the beginning of base box building process so it fails early 2013-07-08 10:47:07 -03:00
Fabio Rehm
44bedfe7c6 Get rid of v3 namespaces for building boxes 2013-07-08 10:40:12 -03:00
Fabio Rehm
ecfa53970f Rename v3 boxes rakefile 2013-07-07 22:49:48 -03:00
Fabio Rehm
16c8ff9013 Remove support for building V3 base boxes with chef 2013-07-07 22:30:40 -03:00