dust-deploy 0.13.8 → 0.13.9
Sign up to get free protection for your applications and to get access to all the features.
- data/changelog.md +1 -1
- data/lib/dust/recipes/iptables.rb +6 -6
- data/lib/dust/version.rb +1 -1
- metadata +2 -2
data/changelog.md
CHANGED
@@ -299,14 +299,14 @@ class Iptables < Recipe
|
|
299
299
|
def get_target
|
300
300
|
if @node.uses_apt?
|
301
301
|
target = "/etc/iptables/rules.v#{@ip_version}"
|
302
|
-
|
303
302
|
elsif @node.uses_rpm?
|
304
|
-
target = "/etc/sysconfig
|
305
|
-
|
306
|
-
|
303
|
+
target = "/etc/sysconfig/#{get_cmd}"
|
304
|
+
elsif @node.uses_emerge?
|
305
|
+
target = "/var/lib/#{get_cmd}/rules-save"
|
306
|
+
elsif @node.uses_pacman?
|
307
|
+
target = "/etc/iptables/#{get_cmd}.rules"
|
307
308
|
else
|
308
|
-
target = "/etc
|
309
|
-
target = "/etc/ip6tables-rules.ipt" if @ip_version == 6
|
309
|
+
target = "/etc/#{get_cmd}-rules.ipt"
|
310
310
|
end
|
311
311
|
|
312
312
|
target
|
data/lib/dust/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dust-deploy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.13.
|
4
|
+
version: 0.13.9
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-06-
|
12
|
+
date: 2012-06-15 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: json
|