Commit 9b993d7a authored by mh's avatar mh
Browse files

unified fileserver location, in the future the fileserver should only be accessed by $server

git-svn-id: https://svn/ipuppet/trunk/modules/shorewall@1251 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
parent 20230c3e
......@@ -73,11 +73,11 @@ class shorewall {
}
file {
"${dir}/000-header":
source => "puppet://$servername/shorewall/boilerplate/${name}.header",
source => "puppet://$server/shorewall/boilerplate/${name}.header",
mode => 0600, owner => root, group => 0,
notify => Exec["concat_${dir}"];
"${dir}/999-footer":
source => "puppet://$servername/shorewall/boilerplate/${name}.footer",
source => "puppet://$server/shorewall/boilerplate/${name}.footer",
mode => 0600, owner => root, group => 0,
notify => Exec["concat_${dir}"];
}
......@@ -98,9 +98,9 @@ class shorewall {
file { "/etc/shorewall/shorewall.conf":
# use OS specific defaults, but use Default if no other is found
source => [
"puppet://$servername/shorewall/shorewall.conf.$operatingsystem.$lsbdistcodename",
"puppet://$servername/shorewall/shorewall.conf.$operatingsystem",
"puppet://$servername/shorewall/shorewall.conf.Default"
"puppet://$server/shorewall/shorewall.conf.$operatingsystem.$lsbdistcodename",
"puppet://$server/shorewall/shorewall.conf.$operatingsystem",
"puppet://$server/shorewall/shorewall.conf.Default"
],
mode => 0644, owner => root, group => 0,
notify => Service[shorewall],
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment