[PATCH] create ip6tables definition
Matt Domsch
Matt_Domsch at dell.com
Fri Aug 28 21:11:14 UTC 2009
From: Matt Domsch <mdomsch at puppet1.fedora.phx.redhat.com>
---
manifests/filetypes/standard.pp | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/manifests/filetypes/standard.pp b/manifests/filetypes/standard.pp
index d4ce26a..097b3df 100644
--- a/manifests/filetypes/standard.pp
+++ b/manifests/filetypes/standard.pp
@@ -130,6 +130,18 @@ define iptables($owner = root, $group = root, $mode = 644, $content,
notify => Service['iptables'],
}
}
+define ip6tables($owner = root, $group = root, $mode = 644, $content,
+ $backup = main, $ensure = file) {
+ file { $name:
+ mode => $mode,
+ owner => $owner,
+ group => $group,
+ backup => $backup,
+ ensure => $ensure,
+ content => $content,
+ notify => Service['ip6tables'],
+ }
+}
define nfs($device, $fstype='nfs', $ensure=mounted, $options='defaults') {
include nfs-utils
--
1.5.5.6
More information about the Fedora-infrastructure-list
mailing list