From c49625a4cd14a53d91b7d12aea88201a211a26a2 Mon Sep 17 00:00:00 2001 From: Micah Anderson Date: Mon, 23 Nov 2009 15:48:18 -0500 Subject: switch the shorewall.conf source first hits to use the $fileserver/shorewall location. this enables you to put these files in your local fileserver area, without modifying the shorewall module. if you dont need to do this, then the shorewall module defaults will be used instead --- manifests/init.pp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'manifests') diff --git a/manifests/init.pp b/manifests/init.pp index fbb8032..0bf0e9d 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -276,11 +276,11 @@ class shorewall::base { file { "/etc/shorewall/shorewall.conf": # use OS specific defaults, but use Default if no other is found source => [ - "puppet://$server/files/shorewall/${fqdn}/shorewall.conf.$operatingsystem", - "puppet://$server/files/shorewall/${fqdn}/shorewall.conf", - "puppet://$server/files/shorewall/shorewall.conf.$operatingsystem.$lsbdistcodename", - "puppet://$server/files/shorewall/shorewall.conf.$operatingsystem", - "puppet://$server/files/shorewall/shorewall.conf", + "puppet://$fileserver/shorewall/${fqdn}/shorewall.conf.$operatingsystem", + "puppet://$fileserver/shorewall/${fqdn}/shorewall.conf", + "puppet://$fileserver/shorewall/shorewall.conf.$operatingsystem.$lsbdistcodename", + "puppet://$fileserver/shorewall/shorewall.conf.$operatingsystem", + "puppet://$fileserver/shorewall/shorewall.conf", "puppet://$server/modules/shorewall/shorewall.conf.$operatingsystem.$lsbdistcodename", "puppet://$server/modules/shorewall/shorewall.conf.$operatingsystem", "puppet://$server/modules/shorewall/shorewall.conf.Default" -- cgit v1.2.3