mirror of
https://github.com/puppetlabs/vmfloaty.git
synced 2026-01-26 13:28:42 -05:00
(rubocop) Fix Style/StringLiteralsInInterpolation
This commit is contained in:
parent
12c1795046
commit
5ad213075b
2 changed files with 2 additions and 2 deletions
|
|
@ -29,7 +29,7 @@ class Ssh
|
|||
user = 'root'
|
||||
end
|
||||
|
||||
hostname = "#{response[host_os]["hostname"]}.#{response["domain"]}"
|
||||
hostname = "#{response[host_os]['hostname']}.#{response['domain']}"
|
||||
cmd = "#{ssh_path} #{user}@#{hostname}"
|
||||
|
||||
# TODO: Should this respect more ssh settings? Can it be configured
|
||||
|
|
|
|||
|
|
@ -91,7 +91,7 @@ class Utils
|
|||
end
|
||||
duration = "#{host_data['running']}/#{host_data['lifetime']} hours"
|
||||
metadata = [host_data['template'], duration, *tag_pairs]
|
||||
puts "- #{hostname}.#{host_data['domain']} (#{metadata.join(", ")})"
|
||||
puts "- #{hostname}.#{host_data['domain']} (#{metadata.join(', ')})"
|
||||
when 'NonstandardPooler'
|
||||
line = "- #{host_data['fqdn']} (#{host_data['os_triple']}"
|
||||
line += ", #{host_data['hours_left_on_reservation']}h remaining"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue