]>
Commit | Line | Data |
---|---|---|
8ed6fb29 IB |
1 | # This resource manages an individual repo's that applies to the file defined in |
2 | # $target. See README.md for more details. | |
3 | # always order from 100 and increase. | |
4 | define pacman::repo ( | |
5 | $server = undef, | |
6 | $include = undef, | |
7 | $description = undef, | |
8 | $siglevel = undef, | |
9 | $order = '100', | |
10 | # Needed for testing primarily, support for multiple files is not really | |
11 | # working. | |
12 | $target = $pacman::config::config) { | |
13 | # Create a rule fragment | |
14 | $fragname = "repo_${name}" | |
15 | ||
16 | concat::fragment { $fragname: | |
17 | target => $target, | |
18 | content => template('pacman/pacman.conf.repo.erb'), | |
19 | order => $order, | |
20 | } | |
21 | } |