le1t0-deprec 2.1.6.019 → 2.1.6.020

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 +5 -1
  3. metadata +2 -2
data/CHANGELOG CHANGED
@@ -1,5 +1,9 @@
1
1
  # deprec changelog
2
2
 
3
+ = 2.1.6.020 (Jul 2, 2010)
4
+
5
+ * actually merged in new code
6
+
3
7
  = 2.1.6.019 (Jul 2, 2010)
4
8
 
5
9
  * small fix, since cp/chmod was still non root, for nagios recipe
@@ -152,7 +152,11 @@ Capistrano::Configuration.instance(:must_exist).load do
152
152
  if nagios_known_hosts.size > 0
153
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
- sudo "ssh-keyscan -f #{tmp_file} -t rsa > #{tmp_out_file} ; rm -f #{tmp_file} ; cp #{tmp_out_file} ~nagios/.ssh/known_hosts ; rm -f #{tmp_out_file} ; chown #{nagios_user}:#{nagios_group} ~nagios/.ssh/known_hosts"
155
+ run "ssh-keyscan -f #{tmp_file} -t rsa > #{tmp_out_file}"
156
+ run "rm -f #{tmp_file}"
157
+ sudo "cp #{tmp_out_file} ~nagios/.ssh/known_hosts"
158
+ run "rm -f #{tmp_out_file}"
159
+ sudo "chown #{nagios_user}:#{nagios_group} ~nagios/.ssh/known_hosts"
156
160
  end
157
161
  end
158
162
 
metadata CHANGED
@@ -6,8 +6,8 @@ version: !ruby/object:Gem::Version
6
6
  - 2
7
7
  - 1
8
8
  - 6
9
- - 19
10
- version: 2.1.6.019
9
+ - 20
10
+ version: 2.1.6.020
11
11
  platform: ruby
12
12
  authors:
13
13
  - Le1t0