-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinit.pp
54 lines (42 loc) · 1.3 KB
/
init.pp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
class gfal2 (
$enable_all = $gfal2::params::enable_all,
$enable_http = $gfal2::params::enable_http,
$enable_gsiftp = $gfal2::params::enable_gsiftp,
$enable_srm = $gfal2::params::enable_srm,
$enable_xrootd = $gfal2::params::enable_xrootd,
$enable_rfio = $gfal2::params::enable_rfio,
$enable_dcap = $gfal2::params::enable_dcap,
$enable_file = $gfal2::params::enable_file,
$enable_lfc = $gfal2::params::enable_lfc,
$enable_mock = $gfal2::params::enable_mock,
) inherits gfal2::params{
include ::gfal2::core
include ::gfal2::params
if $enable_http or $enable_all{
include ::gfal2::plugins::http::config
}
if $enable_gsiftp or $enable_all {
include ::gfal2::plugins::gsiftp::config
}
if $enable_srm or $enable_all {
include ::gfal2::plugins::srm::config
}
if $enable_xrootd or $enable_all {
include ::gfal2::plugins::xrootd::config
}
if $enable_rfio or $enable_all {
include ::gfal2::plugins::rfio::config
}
if $enable_dcap or $enable_all {
include ::gfal2::plugins::dcap::config
}
if $enable_file or $enable_all {
include ::gfal2::plugins::file::config
}
if $enable_lfc or $enable_all {
include ::gfal2::plugins::lfc::config
}
if $enable_mock or $enable_all {
include ::gfal2::plugins::mock::config
}
}