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 CHANGED
@@ -1,7 +1,7 @@
1
1
  Changelog
2
2
  =============
3
3
 
4
- 0.13.8
4
+ 0.13.9
5
5
  ------------
6
6
 
7
7
  - introduces @node.package_min_version? to check if a package is at least version x.
@@ -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/iptables" if @ip_version == 4
305
- target = "/etc/sysconfig/ip6tables" if @ip_version == 6
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/iptables-rules.ipt" if @ip_version == 4
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
@@ -1,3 +1,3 @@
1
1
  module Dust
2
- VERSION = "0.13.8"
2
+ VERSION = "0.13.9"
3
3
  end
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.8
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-14 00:00:00.000000000 Z
12
+ date: 2012-06-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: json