mirror of
https://github.com/puppetlabs/beaker-vmpooler.git
synced 2026-01-25 18:48:41 -05:00
(BKR-1155) Add connection_preferece method to override default
[skip ci]
This commit is contained in:
parent
d1f0a7b7ea
commit
6ebfb70f77
1 changed files with 5 additions and 1 deletions
|
|
@ -52,6 +52,10 @@ module Beaker
|
|||
YAML.load_file(dot_fog)
|
||||
end
|
||||
|
||||
def connection_preference
|
||||
['vmhostname', 'ip', 'hostname']
|
||||
end
|
||||
|
||||
def check_url url
|
||||
begin
|
||||
URI.parse(url)
|
||||
|
|
@ -352,4 +356,4 @@ module Beaker
|
|||
disk_added?(parsed[hostname], disk_size, index)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue