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