Commit graph

10 commits

Author SHA1 Message Date
Virgil Dupras 10c53c54d7 Support alternative lxcpath in sudo wrapper
The previously hardcoded lxc path prevented the sudo wrapper from
working in environment with alternative `lxcpath`.

I had to move `sudo_wrapper` from `provider` to `LXC` because the
concept of "provider" is tied to a machine when a command sush as
`sudoers` is not.

Fixes #413 and #399
2017-12-11 11:48:19 -05:00
Fabio Rehm 8ffc9ef92a Remove version suffix from generated sudoers commands 2014-09-22 23:07:12 -03:00
Jef Mathiot 94e175dc07 sudoers command now creates a safe wrapper script.
Sudoers now creates a safe wrapper script that performs sanity checks on sudo :
* wrapper generated in /usr/local/bin (name includes version to allow multiple wrappers on the same system)
* sudoers command now generates a one-line file in /etc/sudoers.d
* SudoWrapper use the new wrapper
* Removed unused Config#validate method
2014-04-09 15:53:20 +02:00
Fabio Rehm 4f49be03ad core: Make lxc-template optional [GH-254] 2014-03-14 00:32:03 -03:00
Fabio Rehm 0ad76b753a Add locale file to load path only when the provider is required 2013-04-05 22:10:48 -03:00
Fabio Rehm 6a1b24aaac Remove vendored vagrant code and gem dependencies 2013-03-14 22:28:43 -03:00
Fabio Rehm 61c4982fde Vendorize vagrant
Closes #19
2013-03-02 20:36:06 -03:00
Fabio Rehm 7e48b572d7 Add vagrant-lxc locales to I18n load path 2013-03-01 20:42:56 -03:00
Fabio Rehm faa2aaa6ab Scaffold config, plugin and provider classes 2013-02-28 00:20:54 -03:00
Fabio Rehm 48c03d288d Gem boilerplate 2013-02-25 20:09:32 -03:00