tvd-ssh 0.0.8 → 0.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,3 @@
1
1
  <% node[:secrets][:ssh][:authorized_keys].sort.each do |name, config| %>
2
- <%= config[:type] %> <%= config[:key] %> <%= name %>
2
+ <% if config[:command] %><%= config[:command] %> <% end %><%= config[:type] %> <%= config[:key] %> <%= name %>
3
3
  <% end %>
@@ -1,11 +1,3 @@
1
- Host *
2
- User <%= node[:secrets][:username] %>
3
- UserKnownHostsFile ~/.ssh/known_hosts
4
- ServerAliveInterval 60
5
- ServerAliveCountMax 3
6
- ConnectTimeout 15
7
- SendEnv LX_*
8
-
9
1
  <% node[:secrets][:ssh][:hosts].each do |name, config| %>
10
2
  Host <%= name %>
11
3
  User <%= config[:username] || node[:secrets][:username] %>
@@ -17,3 +9,10 @@ Host <%= name %>
17
9
 
18
10
  <% end %>
19
11
 
12
+ Host *
13
+ User <%= node[:secrets][:username] %>
14
+ UserKnownHostsFile ~/.ssh/known_hosts
15
+ ServerAliveInterval 60
16
+ ServerAliveCountMax 3
17
+ ConnectTimeout 15
18
+ SendEnv LX_*
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: 15
4
+ hash: 13
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 8
10
- version: 0.0.8
9
+ - 9
10
+ version: 0.0.9
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-30 00:00:00 -08:00
18
+ date: 2012-02-27 00:00:00 +00:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency