1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# File 'manifests/serverhide.pp', line 1
define charybdis::serverhide (
$value,
$conffile = $charybdis::conffile
) {
concat::fragment { "${name} serverhide":
target => $conffile,
content => template('charybdis/serverhide.erb'),
order => '090',
}
if ! defined(Concat::Fragment['serverhide open']) {
concat::fragment { 'serverhide open':
target => $conffile,
content => "serverhide {\n",
order => '089',
}
}
if ! defined(Concat::Fragment['serverhide close']) {
concat::fragment { 'serverhide close':
target => $conffile,
content => "};\n",
order => '091',
}
}
}
|