tvd-ssh 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
1
  Host *
2
2
  User <%= node[:secrets][:username] %>
3
- UserKnownHostsFile ~/.ssh/known_hosts ~/.ssh/known_hosts2<% node[:secrets][:ssh][:known_hosts_files].keys.sort.each do |kh_file| %> ~/.ssh/<%= kh_file %><% end %>
3
+ UserKnownHostsFile ~/.ssh/known_hosts # ~/.ssh/known_hosts2<% node[:secrets][:ssh][:known_hosts_files].keys.sort.each do |kh_file| %> ~/.ssh/<%= kh_file %><% end %>
4
4
  ServerAliveInterval 60
5
5
  ServerAliveCountMax 3
6
6
  ConnectTimeout 15
@@ -8,7 +8,7 @@ Host *
8
8
 
9
9
  <% node[:secrets][:ssh][:hosts].each do |name, config| %>
10
10
  Host <%= name %>
11
- User <%= config[:username] %>
11
+ User <%= config[:username] || node[:secrets][:username] %>
12
12
  Hostname <%= config[:ssh_address] %>
13
13
  Port <%= config[:ssh_port] %>
14
14
  HostKeyAlias <%= config[:alias] || name %>
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tvd-ssh
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 4
10
- version: 0.0.4
9
+ - 5
10
+ version: 0.0.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - Tom Bombadil
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-12-23 00:00:00 Z
18
+ date: 2011-12-24 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: microwave