Commit graph

661 commits

Author SHA1 Message Date
Fabio Rehm
58ff80dfdd Prevent exec and fork on unit specs 2013-03-26 21:59:25 -03:00
Fabio Rehm
8e7c5b2e83 Eager loads plugin files in case we need to verify constant names on specs 2013-03-26 21:59:03 -03:00
Fabio Rehm
dc2d8f8572 Caches gem tarballs on dev boxes 2013-03-26 21:57:47 -03:00
Fabio Rehm
185b47dfc7 Change vagrant box provisioning to use 2 cpus 2013-03-26 21:56:52 -03:00
Fabio Rehm
0f0845b7d1 Add note about not checking if required dependencies are installed 2013-03-26 21:55:29 -03:00
Fabio Rehm
a6da7978ad Add Vagrant's require_plugin to README example 2013-03-26 21:53:28 -03:00
Fabio Rehm
0e6a00d8b7 Update dependencies 2013-03-26 17:29:35 -03:00
Fabio Rehm
59d9c3c892 Remove old comment 2013-03-25 20:32:42 -03:00
Fabio Rehm
e6f4c93e9c Up version for development 2013-03-19 11:33:27 -03:00
Fabio Rehm
43a13e4d77 v0.0.3 2013-03-19 11:31:46 -03:00
Fabio Rehm
3aeca86910 Private networking is not working yet... 2013-03-19 10:18:21 -03:00
Fabio Rehm
dd465be5d4 Update dependencies and installation instructions 2013-03-19 03:20:32 -03:00
Fabio Rehm
fcf503223e Update shell script used for upgrading the kernel to newer linux header related packages 2013-03-19 03:20:32 -03:00
Fabio Rehm
84726776c7 There is no need to install dnsutils and fping on dev boxes anymore 2013-03-19 03:20:32 -03:00
Fabio Rehm
b5465ddab2 Add middleware to force ssh disconnect 2013-03-19 03:20:32 -03:00
Fabio Rehm
1609e6bdcb Bump version for development 2013-03-19 02:37:32 -03:00
Fabio Rehm
b4161ac8af Simplify container ip detection using lxc-attach + ifconfig
References: #31
2013-03-19 01:46:45 -03:00
Fabio Rehm
e8388743ca Add support for starting processes inside a running container using lxc-attach 2013-03-19 01:25:27 -03:00
Fabio Rehm
555d7d61e2 Fix link to port forwarding issue on readme 2013-03-18 20:51:21 -03:00
Fabio Rehm
3fe5977b8b README update as usual 2013-03-18 20:49:16 -03:00
Fabio Rehm
83076f4312 Moar vendored vagrant leftovers 2013-03-14 22:45:45 -03:00
Fabio Rehm
bee1e98e35 Remove vendored vagrant leftovers from specs 2013-03-14 22:39:57 -03:00
Fabio Rehm
d168e6a47e Update Gemfile.lock 2013-03-14 22:39:22 -03:00
Fabio Rehm
83c9bf7530 Update README 2013-03-14 22:34:51 -03:00
Fabio Rehm
c6ec597182 Bump version 2013-03-14 22:28:43 -03:00
Fabio Rehm
6a1b24aaac Remove vendored vagrant code and gem dependencies 2013-03-14 22:28:43 -03:00
Fabio Rehm
2689bcff1a Merge pull request #36 from neerolyte/dev-1.0-prov-fails
set hostname for development/Vagrantfile.1.0 as required by provisioning
2013-03-14 16:34:34 -07:00
David Schoen
f9d118840b set hostname for 1.0 as required by provisioning
In a fresh checkout:

    $ ( cd development; ln -s Vagrantfile{.1.0,}; vagrant up )

Was failing with:

    err: /Stage[main]//Exec[config-lxc]/returns: change from notrun to 0
    failed: cp /vagrant/development/lxc-configs/quantal64 /etc/default/lxc
    returned 1 instead of one of [0] at
    /tmp/vagrant-puppet/manifests/site.pp:19

because the hostname was "quantal64" and the puppet manifest attempts to
install the lxc-config based on the hostname name of the VM.
2013-03-15 09:16:50 +11:00
Fabio Rehm
ef19c1e0b3 Update README with Vagrant 1.1 note 2013-03-14 16:24:33 -03:00
Fabio Rehm
dc287ad040 Add port forwarding note to readme 2013-03-12 15:41:16 -03:00
Fabio Rehm
6dcb118f86 Fix LXC_START_LOG_FILE support 2013-03-12 15:31:45 -03:00
Fabio Rehm
fa49c75eb8 Update README base box url 2013-03-12 15:10:25 -03:00
Fabio Rehm
30ec42b36b Fix bug with lxc-start arguments 2013-03-12 15:10:25 -03:00
Fabio Rehm
08221913dd Fix dev boxes gem home on .gemrc 2013-03-12 15:10:25 -03:00
Fabio Rehm
d12f5c1d62 Install tmux on dev boxes 2013-03-12 15:10:24 -03:00
Fabio Rehm
ae50b08806 Ensure we can boot nested containers from vbox dev machine 2013-03-12 15:10:24 -03:00
Fabio Rehm
5e90e102c2 Install fping on dev boxes 2013-03-12 15:10:24 -03:00
Fabio Rehm
aaef306069 Override lxc default configs on dev boxes based on hostname to avoid conflicting IPs 2013-03-12 15:10:24 -03:00
Fabio Rehm
beaffaae68 Consolidates 1.1 Vagrantfiles into a single one 2013-03-12 15:10:24 -03:00
Fabio Rehm
4de5411a67 Logging output reviewed (closes #2) 2013-03-11 00:13:48 -03:00
Fabio Rehm
03f823130c Wait for container to be accessible after starting it 2013-03-11 00:12:01 -03:00
Fabio Rehm
59267d01e6 Get rid of a few TODOs that does not make sense anymore 2013-03-11 00:10:00 -03:00
Fabio Rehm
f2810da629 Add support for setting host name 2013-03-11 00:09:36 -03:00
Fabio Rehm
270cbd8a51 Move forced halt code into its own action 2013-03-11 00:08:28 -03:00
Fabio Rehm
02d56474df Fix typo on fping package name on readme 2013-03-10 22:15:53 -03:00
Fabio Rehm
431958899c Fix code related to Container#assigned_ip retryal attempts 2013-03-10 22:15:53 -03:00
Fabio Rehm
e512fe0b9d Update readme with ifping dependency 2013-03-10 22:02:46 -03:00
Fabio Rehm
5f8c3955a5 Add pending spec for subnet ping code 2013-03-10 21:59:46 -03:00
Fabio Rehm
0f618a008e Ping everyone on the lxc-bridge subnet in case we cant identify container ip from arp
References #31
2013-03-10 21:57:47 -03:00
Fabio Rehm
550b926497 Clean up Container object by making use of the CLI 2013-03-10 21:15:43 -03:00