spec/sconb_spec.rb in sconb-0.0.5 vs spec/sconb_spec.rb in sconb-0.0.6

- old
+ new

@@ -38,10 +38,14 @@ "spec/github_rsa" ], "TCPKeepAlive": "yes", "IdentitiesOnly": "yes" }, + "Match exec \\"nmcli connection status id <ap-name> 2> /dev/null\\"": { + "Match": "exec \\"nmcli connection status id <ap-name> 2> /dev/null\\"", + "ProxyCommand": "ssh -W %h:%p github.com" + }, "gist": { "Host": "gist", "User": "git", "Port": "22", "Hostname": "gist.github.com", @@ -109,10 +113,14 @@ "IdentityFileContent": [ "1234567890" ], "TCPKeepAlive": "yes", "IdentitiesOnly": "yes" + }, + "Match exec \\"nmcli connection status id <ap-name> 2> /dev/null\\"": { + "Match": "exec \\"nmcli connection status id <ap-name> 2> /dev/null\\"", + "ProxyCommand": "ssh -W %h:%p github.com" } } INN ) end @@ -133,9 +141,12 @@ Port 22 Hostname gist.github.com IdentityFile spec/github_rsa TCPKeepAlive yes IdentitiesOnly yes + +Match exec "nmcli connection status id <ap-name> 2> /dev/null" + ProxyCommand ssh -W %h:%p github.com OUT end end end