aboutsummaryrefslogtreecommitdiffstats
path: root/modules/buildsystem
diff options
context:
space:
mode:
Diffstat (limited to 'modules/buildsystem')
-rw-r--r--modules/buildsystem/manifests/create_upload_dir.rb2
-rw-r--r--modules/buildsystem/manifests/distros.rb4
-rw-r--r--modules/buildsystem/manifests/mainnode.pp2
-rw-r--r--modules/buildsystem/manifests/mgarepo.pp1
4 files changed, 3 insertions, 6 deletions
diff --git a/modules/buildsystem/manifests/create_upload_dir.rb b/modules/buildsystem/manifests/create_upload_dir.rb
index 270a9285..8023ab5d 100644
--- a/modules/buildsystem/manifests/create_upload_dir.rb
+++ b/modules/buildsystem/manifests/create_upload_dir.rb
@@ -1,6 +1,4 @@
hostclass "buildsystem::create_upload_dir" do
- include 'buildsystem::var::scheduler'
- include 'buildsystem::var::distros'
states = ["todo","done","failure","queue","rejected"]
owner = scope.lookupvar('buildsystem::var::scheduler::login')
group = owner
diff --git a/modules/buildsystem/manifests/distros.rb b/modules/buildsystem/manifests/distros.rb
index b383717b..5301944d 100644
--- a/modules/buildsystem/manifests/distros.rb
+++ b/modules/buildsystem/manifests/distros.rb
@@ -1,8 +1,4 @@
hostclass "buildsystem::distros" do
- include 'buildsystem::var::repository'
- include 'buildsystem::var::scheduler'
- include 'buildsystem::var::distros'
-
mirror_user = 'root'
schedbot_user = scope.lookupvar('buildsystem::var::scheduler::login')
bootstrap_reporoot = scope.lookupvar('buildsystem::var::repository::bootstrap_reporoot')
diff --git a/modules/buildsystem/manifests/mainnode.pp b/modules/buildsystem/manifests/mainnode.pp
index 0dd37486..01de764f 100644
--- a/modules/buildsystem/manifests/mainnode.pp
+++ b/modules/buildsystem/manifests/mainnode.pp
@@ -1,5 +1,7 @@
class buildsystem::mainnode {
include buildsystem::var::repository
+ include buildsystem::var::scheduler
+ include buildsystem::var::distros
include buildsystem::iurt::user
include buildsystem::scheduler
include buildsystem::gatherer
diff --git a/modules/buildsystem/manifests/mgarepo.pp b/modules/buildsystem/manifests/mgarepo.pp
index cab4315a..2b314d3d 100644
--- a/modules/buildsystem/manifests/mgarepo.pp
+++ b/modules/buildsystem/manifests/mgarepo.pp
@@ -1,5 +1,6 @@
class buildsystem::mgarepo {
include buildsystem::var::scheduler
+ include buildsystem::var::distros
include buildsystem::var::groups
include buildsystem::var::binrepo
include buildsystem::create_upload_dir