le1t0-deprec 2.1.6.017 → 2.1.6.018
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +4 -0
- data/lib/deprec/recipes/nagios.rb +2 -1
- metadata +3 -3
data/CHANGELOG
CHANGED
@@ -151,7 +151,8 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
151
151
|
restart
|
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
156
|
end
|
156
157
|
end
|
157
158
|
|
metadata
CHANGED
@@ -6,8 +6,8 @@ version: !ruby/object:Gem::Version
|
|
6
6
|
- 2
|
7
7
|
- 1
|
8
8
|
- 6
|
9
|
-
-
|
10
|
-
version: 2.1.6.
|
9
|
+
- 18
|
10
|
+
version: 2.1.6.018
|
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-
|
18
|
+
date: 2010-07-02 00:00:00 +02:00
|
19
19
|
default_executable: depify
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|