diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2019-07-05 12:58:00 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2019-07-05 12:58:00 -0700 |
commit | 2a4916b7f01940d1199c35645c1b2172f5bd74b2 (patch) | |
tree | df7370ed682895857181f14bb66cad8db18b298e /lib/chef/provider/ifconfig.rb | |
parent | 8215091264d67d81f0da9a13f968b864ff736cb2 (diff) | |
download | chef-2a4916b7f01940d1199c35645c1b2172f5bd74b2.tar.gz |
Style/StringLiteralsInInterpolation
since we use double quotes, be consistent everywhere.
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'lib/chef/provider/ifconfig.rb')
-rw-r--r-- | lib/chef/provider/ifconfig.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/chef/provider/ifconfig.rb b/lib/chef/provider/ifconfig.rb index 6a196081ca..93db827e97 100644 --- a/lib/chef/provider/ifconfig.rb +++ b/lib/chef/provider/ifconfig.rb @@ -165,7 +165,7 @@ class Chef unless current_resource.inet_addr unless new_resource.device == loopback_device command = add_command - converge_by("run #{command.join(' ')} to add #{new_resource}") do + converge_by("run #{command.join(" ")} to add #{new_resource}") do shell_out!(command) logger.info("#{new_resource} added") end @@ -182,7 +182,7 @@ class Chef return if new_resource.device == loopback_device command = enable_command - converge_by("run #{command.join(' ')} to enable #{new_resource}") do + converge_by("run #{command.join(" ")} to enable #{new_resource}") do shell_out!(command) logger.info("#{new_resource} enabled") end @@ -192,7 +192,7 @@ class Chef # check to see if load_current_resource found the interface if current_resource.device command = delete_command - converge_by("run #{command.join(' ')} to delete #{new_resource}") do + converge_by("run #{command.join(" ")} to delete #{new_resource}") do shell_out!(command) logger.info("#{new_resource} deleted") end @@ -207,7 +207,7 @@ class Chef # disables, but leaves config files in place. if current_resource.device command = disable_command - converge_by("run #{command.join(' ')} to disable #{new_resource}") do + converge_by("run #{command.join(" ")} to disable #{new_resource}") do shell_out!(command) logger.info("#{new_resource} disabled") end |