summaryrefslogtreecommitdiff
path: root/manifests/client.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-06-30 01:48:11 -0300
committerSilvio Rhatto <rhatto@riseup.net>2011-06-30 01:48:11 -0300
commit2b377786f8bf2133019c43df9376e0363093e50d (patch)
tree1e8e0709f78adff0d9b87fa0de79ca50ddd3e97b /manifests/client.pp
parent87418479b280ccbbaca808711516dce989cdf36d (diff)
parent1f2a5d682485ea0cbdc9e13d865485face539012 (diff)
downloadpuppet-ekeyd-2b377786f8bf2133019c43df9376e0363093e50d.tar.gz
puppet-ekeyd-2b377786f8bf2133019c43df9376e0363093e50d.tar.bz2
Merge branch 'master' of git://git.puppet.immerda.ch/module-ekeyd
Diffstat (limited to 'manifests/client.pp')
-rw-r--r--manifests/client.pp15
1 files changed, 15 insertions, 0 deletions
diff --git a/manifests/client.pp b/manifests/client.pp
new file mode 100644
index 0000000..b965015
--- /dev/null
+++ b/manifests/client.pp
@@ -0,0 +1,15 @@
+class ekeyd::client(
+ $ekeyd_host,
+ $shorewall_zones = ['net']
+) {
+ case $operatingsystem {
+ centos: { include ekeyd::client::centos }
+ default: { include ekeyd::client::base }
+ }
+
+ if $use_shorewall {
+ shorewall::rules::out::ekeyd{$shorewall_zones:
+ ekeyd_host => $ekeyd_host,
+ }
+ }
+}