aboutsummaryrefslogtreecommitdiffstats
path: root/modules/buildsystem/manifests/repoctl.pp
blob: 3f52b79d7db66321b5e822678bbc412c187d7d01 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
class buildsystem::repoctl {
	include buildsystem::config

	$distroreleases = [$buildsystem::config::dev_distros,
	                   $buildsystem::config::stable_distros]
	$distrosections = $buildsystem::config::distrosections
	$sectionsrepos = $buildsystem::config::sectionsrepos
	$arches = $buildsystem::config::architectures

	package{'repoctl':
	    ensure => installed,
	}

	file {'/etc/repoctl.conf':
	    ensure => present,
	    mode => 644,
	    owner => root,
	    group => root,
	    content => template('buildsystem/repoctl.conf'),
	    require => Package['repoctl'],
	}
}