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