Signed-off-by: Stephen Gran <steve@lobefin.net>
}
case extractnodeinfo($nodeinfo, 'buildd') {
- true: {
+ 'true': {
include buildd
case $kernel {
- 'Linux': {
+ Linux: {
include ferm
}
}
--- /dev/null
+# configuration for /etc/init.d/ferm
+
+# use iptables-restore for fast firewall initialization?
+FAST=yes
+
+# cache the output of ferm --lines in /var/cache/ferm?
+CACHE=yes
+
+# additional paramaters for ferm (like --def '$foo=bar')
+OPTIONS=
+
+# Enable ferm on bootup?
+ENABLED=yes
+
"/etc/ferm/conf.d":
ensure => directory,
require => Package["ferm"];
+ "/etc/default/ferm":
+ source => "puppet:///ferm/ferm.default",
+ require => Package["ferm"],
+ notify => Exec["ferm restart"];
"/etc/ferm/ferm.conf":
source => "puppet:///ferm/ferm.conf",
require => Package["ferm"],