Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

COOK-284, disable backups of iptables_rules

* Don't assume that the backup dir is set in Chef::Config.
  • Loading branch information...
commit 15226a68d25ce770de430dfb83d491e393b35ff5 1 parent 45a4b4c
@jtimberman jtimberman authored
View
1  iptables/definitions/iptables_rule.rb
@@ -24,6 +24,7 @@
source template_source
mode 0644
variables params[:variables]
+ backup false
notifies :run, resources(:execute => "rebuild-iptables")
if params[:enable]
action :create
View
26 iptables/metadata.json
@@ -1,15 +1,20 @@
{
- "recommendations": {
+ "providing": {
},
"attributes": {
},
"maintainer": "Opscode, Inc.",
- "suggestions": {
+ "replacing": {
},
"dependencies": {
},
+ "recipes": {
+ "iptables": "Installs iptables and sets up .d style config directory of iptables rules"
+ },
"maintainer_email": "cookbooks@opscode.com",
- "conflicting": {
+ "groupings": {
+ },
+ "recommendations": {
},
"platforms": {
"debian": [
@@ -26,17 +31,12 @@
]
},
"license": "Apache 2.0",
- "version": "0.9.1",
- "providing": {
- },
- "recipes": {
- "iptables": "Installs iptables and sets up .d style config directory of iptables rules"
- },
- "replacing": {
+ "version": "0.9.2",
+ "suggestions": {
},
"name": "iptables",
- "description": "Sets up iptables to use a script to maintain rules",
- "groupings": {
+ "conflicting": {
},
- "long_description": ""
+ "long_description": "",
+ "description": "Sets up iptables to use a script to maintain rules"
}
View
2  iptables/metadata.rb
@@ -2,7 +2,7 @@
maintainer_email "cookbooks@opscode.com"
license "Apache 2.0"
description "Sets up iptables to use a script to maintain rules"
-version "0.9.1"
+version "0.9.2"
recipe "iptables", "Installs iptables and sets up .d style config directory of iptables rules"
%w{ redhat centos debian ubuntu}.each do |os|
Please sign in to comment.
Something went wrong with that request. Please try again.