aboutsummaryrefslogtreecommitdiffstats
path: root/modules/buildsystem/templates/youri/host.conf
blob: 909644864d2dd60188aa76a00207ccba416c2f68 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<%-
    aliases = scope.lookupvar('buildsystem::var::scheduler::build_nodes_aliases')
    nodes = {}
    nodes['src'] =  [ scope.lookupvar('buildsystem::var::scheduler::build_src_node') ]
    scope.lookupvar('buildsystem::var::scheduler::build_nodes').each{|arch,n|
        a = arch + '|noarch|src'
        nodes[a] = []
        n.each{|node|
            if aliases[node] != nil
                nodes[a] += [ aliases[node] ]
            else
                nodes[a] += [ node ]
            end
        }
    }
    str = ''
    nodes.keys.sort.each{|arch|
        nodes[arch].sort.uniq.each{|node|
            str += node + ' ' + arch + "\n"
        }
    }
-%>
<%= @str -%>