lib/beaker/command.rb in beaker-3.20.0 vs lib/beaker/command.rb in beaker-3.21.0

- old
+ new

@@ -76,10 +76,10 @@ append_command = '"' cmd = cmd.gsub('"') { '\\"' } end # This will cause things like `puppet -t -v agent` which is maybe bad. - if host[:platform] =~ /cisco/ + if host[:platform] =~ /cisco_ios_xr/ cmd_line_array = [prepend_commands, env_string, cmd, options_string, args_string] else cmd_line_array = [env_string, prepend_commands, cmd, options_string, args_string] end cmd_line_array << append_command unless (cmd =~ /ntpdate/ && host[:platform] =~ /cisco_nexus/)