1 |
class buildsystem::repoctl { |
class buildsystem::repoctl { |
2 |
include buildsystem::config |
include buildsystem::config |
3 |
|
|
4 |
$distroreleases = [$buildsystem::config::dev_distros, |
$distroreleases = [$buildsystem::config::dev_distros, |
5 |
$buildsystem::config::stable_distros] |
$buildsystem::config::stable_distros] |
6 |
$distrosections = $buildsystem::config::distrosections |
$distrosections = $buildsystem::config::distrosections |
7 |
$sectionsrepos = $buildsystem::config::sectionsrepos |
$sectionsrepos = $buildsystem::config::sectionsrepos |
8 |
$arches = $buildsystem::config::architectures |
$arches = $buildsystem::config::architectures |
9 |
|
|
10 |
package{ 'repoctl': } |
package{ 'repoctl': } |
11 |
|
|
12 |
file { '/etc/repoctl.conf': |
file { '/etc/repoctl.conf': |
13 |
content => template('buildsystem/repoctl.conf'), |
content => template('buildsystem/repoctl.conf'), |
14 |
require => Package['repoctl'], |
require => Package['repoctl'], |
15 |
} |
} |
16 |
} |
} |