cloudamatic/mu

View on GitHub

Showing 2,704 of 2,705 total issues

Use =~ in places where the MatchData returned by #match will not be used.
Open

puts "#{nodename} - #{output}" if output.match(/[^\s]/)
Severity: Minor
Found in bin/mu-node-manage by rubocop

Use meaningful heredoc delimiters.
Open

EOS
Severity: Minor
Found in bin/mu-tunnel-nagios by rubocop

Useless assignment to variable - ssh_conf.
Open

ssh_conf = File.read("#{NAGIOS_HOME}/.ssh/config")
Severity: Minor
Found in bin/mu-tunnel-nagios by rubocop

Useless assignment to variable - opts.
Open

opts = Net::SSH::Config.for(dest_host, ["#{NAGIOS_HOME}/.ssh/config"])
Severity: Minor
Found in bin/mu-tunnel-nagios by rubocop
Severity
Category
Status
Source
Language