diff options
Diffstat (limited to 'manifests/ups.pp')
-rw-r--r-- | manifests/ups.pp | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/manifests/ups.pp b/manifests/ups.pp index 042fcdc..8822cd4 100644 --- a/manifests/ups.pp +++ b/manifests/ups.pp @@ -1,11 +1,5 @@ -class firewall::ups { - shorewall::rule { "ups": - action => 'ACCEPT', - source => 'net', - destination => '$FW', - proto => 'tcp', - destinationport => "3551", - ratelimit => '-', - order => 200, - } +class firewall::ups( + $implementation = lookup('firewall::implementation', undef, undef, 'shorewall'), +) { + class { "firewall::implementations::${implementation}::ups": } } |