proproxy 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/proproxy/version.rb +1 -1
- data/lib/proproxy.rb +3 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 59cd36a2da229b5e63d7015ff5a80b5710c7f568121ba0eff11a640aa96decf4
|
4
|
+
data.tar.gz: a1ecddd3544f0d2ee3b9404444080bb5a9adeef73ffeb8b8c4d5475f123d8270
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c5c9908c6497b719b98c5c10b75f557e1996956b3db2a2904f307cd4ff1022fb42751182b6e7adafea747fdf587d5b7f2c24e3cc3feafba9fd6edc6bdbb60075
|
7
|
+
data.tar.gz: dcdb0ac1f97d5f572c932806b657001f683527e82238990e15568001926c2a4bf2e4c183c22c90b9597271f2f0f8a4d24ef7c539cabab38c0d355a05645fb696
|
data/Gemfile.lock
CHANGED
data/lib/proproxy/version.rb
CHANGED
data/lib/proproxy.rb
CHANGED
@@ -131,9 +131,10 @@ module Proproxy
|
|
131
131
|
end
|
132
132
|
|
133
133
|
def copy_template
|
134
|
+
current_dir = File.expand_path('.')
|
134
135
|
on @remote_host do
|
135
|
-
upload!
|
136
|
-
upload!
|
136
|
+
upload! "#{current_dir}/templates/iptables"), '/etc/sysconfig/iptables'
|
137
|
+
upload! "#{current_dir}/templates/squid.conf"), '/etc/squid/squid.conf'
|
137
138
|
end
|
138
139
|
end
|
139
140
|
end
|