summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2011-03-02 00:57:49 +0100
committermh <mh@immerda.ch>2011-03-02 00:57:49 +0100
commit1f2a5d682485ea0cbdc9e13d865485face539012 (patch)
tree4a14a8f9b1c28cd3c4971b93909541dd61a6794f /manifests
parentd731a3c2420ab4c3aecfd5dc06d7cd5d5ba74aa1 (diff)
downloadpuppet-ekeyd-1f2a5d682485ea0cbdc9e13d865485face539012.tar.gz
puppet-ekeyd-1f2a5d682485ea0cbdc9e13d865485face539012.tar.bz2
migrate to define usage
Diffstat (limited to 'manifests')
-rw-r--r--manifests/client.pp5
1 files changed, 3 insertions, 2 deletions
diff --git a/manifests/client.pp b/manifests/client.pp
index e7df4c4..b965015 100644
--- a/manifests/client.pp
+++ b/manifests/client.pp
@@ -1,5 +1,6 @@
class ekeyd::client(
- $ekeyd_host
+ $ekeyd_host,
+ $shorewall_zones = ['net']
) {
case $operatingsystem {
centos: { include ekeyd::client::centos }
@@ -7,7 +8,7 @@ class ekeyd::client(
}
if $use_shorewall {
- class{'shorewall::rules::out::ekeyd':
+ shorewall::rules::out::ekeyd{$shorewall_zones:
ekeyd_host => $ekeyd_host,
}
}