aboutsummaryrefslogtreecommitdiffstats
path: root/modules/buildsystem/manifests/repoctl.pp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/buildsystem/manifests/repoctl.pp')
-rw-r--r--modules/buildsystem/manifests/repoctl.pp22
1 files changed, 22 insertions, 0 deletions
diff --git a/modules/buildsystem/manifests/repoctl.pp b/modules/buildsystem/manifests/repoctl.pp
new file mode 100644
index 00000000..3f52b79d
--- /dev/null
+++ b/modules/buildsystem/manifests/repoctl.pp
@@ -0,0 +1,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'],
+ }
+}