capitalize ssh conf name

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
This commit is contained in:
Dominik Richter 2015-05-14 18:30:38 +02:00
parent 18277ddfad
commit 14eebb88e0

View file

@ -13,8 +13,8 @@ class SshConf
@files_contents = {}
@content = nil
@params = nil
typename = ( conf_path.include?('sshd') ? 'server' : 'client' )
@type = type || "SSH #{typename} configuration"
typename = ( conf_path.include?('sshd') ? 'Server' : 'Client' )
@type = type || "SSH #{typename} configuration #{conf_path}"
read_content
end