diff options
author | Matthias Imsand <imsand@puzzle.ch> | 2010-11-23 18:32:45 +0100 |
---|---|---|
committer | Marcel Haerry <haerry@puzzle.ch> | 2011-08-04 11:27:17 +0200 |
commit | c1c21b8114b0a7895716a99ccade13b338fb3c56 (patch) | |
tree | 1cc687f3489b96767d14417405bd97948efb1ebf /manifests/providers.pp | |
parent | 03cf926ad26a0b1b5c2882ea0b9642aca9b058cf (diff) | |
download | puppet-shorewall-c1c21b8114b0a7895716a99ccade13b338fb3c56.tar.gz puppet-shorewall-c1c21b8114b0a7895716a99ccade13b338fb3c56.tar.bz2 |
add management for providers
Diffstat (limited to 'manifests/providers.pp')
-rw-r--r-- | manifests/providers.pp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/manifests/providers.pp b/manifests/providers.pp new file mode 100644 index 0000000..860363e --- /dev/null +++ b/manifests/providers.pp @@ -0,0 +1,16 @@ +define shorewall::providers( + $provider, + $number = '', + $mark = '', + $duplicate = 'main', + $interface = '', + $gateway = '', + $options = '', + $copy = '', + $order='100' +){ + shorewall::entry{"providers.d/${order}-${name}": + line => "# ${name}\n${provider} ${number} ${mark} ${duplicate} ${interface} ${gateway} ${options} ${copy}" + } +} + |