aboutsummaryrefslogtreecommitdiff
path: root/manifests/rules/out
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2009-10-02 13:56:23 +0200
committerMicah Anderson <micah@riseup.net>2009-12-07 11:34:22 -0500
commit40a3ba49d07e000321c361f2712da47557415fab (patch)
tree459d4d5aac8e0794ae65cb7c048e62df06fa34e2 /manifests/rules/out
parent28f6a27507139db939a0204e36f0f27569a2f117 (diff)
downloadpuppet-shorewall-40a3ba49d07e000321c361f2712da47557415fab.tar.gz
puppet-shorewall-40a3ba49d07e000321c361f2712da47557415fab.tar.bz2
add puppet rules
Diffstat (limited to 'manifests/rules/out')
-rw-r--r--manifests/rules/out/puppet.pp12
1 files changed, 12 insertions, 0 deletions
diff --git a/manifests/rules/out/puppet.pp b/manifests/rules/out/puppet.pp
new file mode 100644
index 0000000..5cd4643
--- /dev/null
+++ b/manifests/rules/out/puppet.pp
@@ -0,0 +1,12 @@
+class shorewall::rules::out::puppet {
+ include ::shorewall::rules::puppet
+ # we want to connect to the puppet server
+ shorewall::rule { 'me-net-puppet_tcp':
+ source => '$FW',
+ destination => 'net:$PUPPETSERVER',
+ proto => 'tcp',
+ destinationport => '$PUPPETSERVER_PORT,$PUPPETSERVER_SIGN_PORT',
+ order => 340,
+ action => 'ACCEPT';
+ }
+}