Commit graph

11 commits

Author SHA1 Message Date
Virgil Dupras 97b5882262 Refactoring: make SudoWrapper a bit more self-contained
By looking at the code, it seems that it was a goal to make the sudo
wrapper path configurable through the Vagrantfile, but it wasn't
effective and didn't make much sense (that kind of config is a per-host
config, not a per-guest one).

This caused the cause to be needlessly complex by giving the Provider
the responsibility of instanciating the wrapper. This commit gets rid of
that.

I didn't get rid of `sudo_wrapper` injection in `Driver` and
`Driver::CLI` constructors because they're needed for tests. I'm not
ready to tackle this yet.
2018-01-13 08:32:27 -05:00
Fabio Rehm 02f85e4e59 Couple of tweaks to acceptance specs
This will be eventually converted to Bats...
2013-11-06 01:11:38 -02:00
Fabio Rehm 6bbc7c5e91 Couple of tweaks on Vagrantfile used for acceptance testing 2013-09-28 01:47:34 -03:00
Fabio Rehm 8006766691 Tks to @stucki work on #92 there is no need to do this anymore :) 2013-06-27 10:39:14 -03:00
Fabio Rehm 95ca973801 Quick and dirty fix to run acceptance specs against debian boxes 2013-05-08 21:08:00 -03:00
Fabio Rehm 2e55585eff Allow acceptance specs to be run against different boxes 2013-05-08 19:50:00 -03:00
Fabio Rehm 5aa5803a4c Replace "hand made cache plugin" with vagrant-cachier 2013-05-08 19:48:54 -03:00
Fabio Rehm 04826af3c9 Install nginx on acceptance spec test container instead of apache to speed things up 2013-04-23 08:25:04 -03:00
Fabio Rehm af8e787cb2 Add acceptance specs for provisioning and port forwarding 2013-04-20 20:02:56 -03:00
Fabio Rehm 89ff86121f Cache apt packages used on acceptance specs to make them run faster 2013-04-20 19:17:51 -03:00
Fabio Rehm f09e722691 Basic scaffolding for acceptance specs 2013-04-20 17:07:20 -03:00