projects
/
mirror
/
dsa-puppet.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
try to order these a bit
[mirror/dsa-puppet.git]
/
modules
/
ferm
/
manifests
/
module.pp
1
define ferm::module (
2
$hookstage='pre',
3
$mod=undef,
4
$ensure=present
5
) {
6
if $mod {
7
$module = $mod
8
} else {
9
$module = $title
10
}
11
12
if $::kernel == 'Linux' {
13
file { "/etc/ferm/conf.d/load_${module}.conf":
14
ensure => $ensure,
15
content => template('ferm/load_module.erb'),
16
require => Package['ferm'],
17
notify => Service['ferm']
18
}
19
}
20
}