aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/mga_buildsystem/manifests/mainnode.pp
blob: 6ad140d2e0d4826297ff4901a684f088130ef2f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
class mga_buildsystem::mainnode {
    include buildsystem::mainnode
    include buildsystem::sync20101
    include buildsystem::release
    include buildsystem::maintdb
    include buildsystem::binrepo
    include buildsystem::repoctl

    # Forward ports to arm1 and arm2 ssh, to access them from outside
    xinetd::port_forward {"forward_arm1":
	target_ip => 'arm1.mageia.org',
	target_port => '22',
	port => '4251',
	proto => 'tcp',
    }
    xinetd::port_forward {"forward_arm2":
	target_ip => 'arm2.mageia.org',
	target_port => '22',
	port => '4252',
	proto => 'tcp',
    }

    $rpmlint_packages = [ "rpmlint-mageia-policy", "rpmlint-mageia-mga2-policy"]
    package { $rpmlint_packages:
	ensure => installed,
    }
}