1 |
class buildsystem::repoctl { |
2 |
include buildsystem::config |
3 |
|
4 |
$distroreleases = [$buildsystem::config::dev_distros, |
5 |
$buildsystem::config::stable_distros] |
6 |
$distrosections = $buildsystem::config::distrosections |
7 |
$sectionsrepos = $buildsystem::config::sectionsrepos |
8 |
$arches = $buildsystem::config::architectures |
9 |
|
10 |
package{'repoctl': |
11 |
ensure => installed, |
12 |
} |
13 |
|
14 |
file {'/etc/repoctl.conf': |
15 |
ensure => present, |
16 |
mode => 644, |
17 |
owner => root, |
18 |
group => root, |
19 |
content => template('buildsystem/repoctl.conf'), |
20 |
require => Package['repoctl'], |
21 |
} |
22 |
} |