Commit Graph

12 Commits

Author SHA1 Message Date
Darragh Bailey
18ebb9d9ed Enable frozen string across project (#1319)
Turn on frozen string support in all files by using a comment to avoid
enabling across dependencies where it may not work.

Fixes: #1177
2021-06-30 13:27:03 +01:00
Dmitry Vasilets
c065c1e6e5 test1 2017-01-16 16:40:23 +01:00
Gerben Meijer
f8241645fc Must load vagrant before checking version 2016-04-11 16:02:42 +02:00
Gerben Meijer
4536218d33 Move version sanity check to vagrant-libvirt.rb
If this check is executed in plugin.rb, the message is not displayed on
older versions of vagrant, which defeats the purpose of the test.
2016-04-09 20:29:37 +02:00
Dmitry Vasilets
0c1c94bf36 Merge pull request #436 from electrofelix/parallel-ssh_info
allow query of ssh_info in parallel from other machines or user
2015-08-05 21:48:13 +02:00
Darragh Bailey
db440907f7 Move libvirt connection setup to driver
Handle libvirt connection through a driver located within the provider
so it can be reached via the machine settings. Adopt the format followed
by the docker/virtualbox providers as this is likely to remain well
supported.

Will allow queries to be made without needing to setup a specific action
which is important when dealing with parallel machine provisioning.
Calling actions from other threads to retrieve information on the state
of the other running machines currently will cause vagrant to complain
about the machine being locked.
2015-07-31 09:31:52 +01:00
Darragh Bailey
1f45c5a788 Ensure correct order of logger creation
Loggers must be defined in the correct heirarchial order to ensure that
child loggers inherit the level defined on the parent logger. Otherwise
need to traverse the entire tree to modify the level.
2015-07-29 17:23:16 +01:00
Adam Spiers
e693b017dd don't monkey-patch #default_provider
This monkey-patching of Vagrant::Environment#default_provider breaks
with Vagrant 1.7.0, since the method's signature changed.  In any case
Vagrant should do the right thing without "help" from vagrant-libvirt.
2014-10-25 14:36:46 +01:00
dima
be44fc10b8 close #72 possibility to give VMs a name 2013-10-19 23:10:31 +02:00
Hiroshi Miura
09892ef2ac fix namespace Libvirt collision with ruby-libvirt library 2013-07-31 09:22:45 +09:00
dima
a270ad74ee set provider 2013-03-27 09:43:32 +01:00
pradels
810f0b31b9 Initial commit 2013-03-27 00:55:30 +01:00