[PATCH] create ip6tables definition

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Matt Domsch <mdomsch@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>

---
 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

_______________________________________________
Fedora-infrastructure-list mailing list
Fedora-infrastructure-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-infrastructure-list

[Index of Archives]     [Fedora Development]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux