le1t0-deprec 2.1.6.020 → 2.1.6.021

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/CHANGELOG +4 -0
  2. data/lib/deprec/recipes/nagios.rb +1 -1
  3. metadata +3 -3
data/CHANGELOG CHANGED
@@ -1,5 +1,9 @@
1
1
  # deprec changelog
2
2
 
3
+ = 2.1.6.021 (Jul 5, 2010)
4
+
5
+ * fixed writing known hosts file
6
+
3
7
  = 2.1.6.020 (Jul 2, 2010)
4
8
 
5
9
  * actually merged in new code
@@ -150,7 +150,7 @@ Capistrano::Configuration.instance(:must_exist).load do
150
150
  config_check
151
151
  restart
152
152
  if nagios_known_hosts.size > 0
153
- put nagios_known_hosts.join("\n"), tmp_file = "/tmp/ssh_keyscan_#{Time.now.strftime("%Y%m%d%H%M%S")}.txt", :mode => 0644
153
+ put (nagios_known_hosts << "").join("\n"), tmp_file = "/tmp/ssh_keyscan_#{Time.now.strftime("%Y%m%d%H%M%S")}.txt", :mode => 0644
154
154
  tmp_out_file = "/tmp/known_hosts_#{Time.now.strftime("%Y%m%d%H%M%S")}.txt"
155
155
  run "ssh-keyscan -f #{tmp_file} -t rsa > #{tmp_out_file}"
156
156
  run "rm -f #{tmp_file}"
metadata CHANGED
@@ -6,8 +6,8 @@ version: !ruby/object:Gem::Version
6
6
  - 2
7
7
  - 1
8
8
  - 6
9
- - 20
10
- version: 2.1.6.020
9
+ - 21
10
+ version: 2.1.6.021
11
11
  platform: ruby
12
12
  authors:
13
13
  - Le1t0
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-07-02 00:00:00 +02:00
18
+ date: 2010-07-05 00:00:00 +02:00
19
19
  default_executable: depify
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency