[puppet] Authorize pkgs01 to reach puppet master.
by Xavier Lamien
commit 892bf7fc792a22fcc15f9ae38cb8fe26ee1d5d76
Author: Xavier Lamien <laxathom(a)fedoraproject.org>
Date: Fri Jul 31 15:30:29 2015 +0200
Authorize pkgs01 to reach puppet master.
manifests/nodes/main.pp | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/manifests/nodes/main.pp b/manifests/nodes/main.pp
index e7d3c3b..add5524 100644
--- a/manifests/nodes/main.pp
+++ b/manifests/nodes/main.pp
@@ -168,6 +168,7 @@ node 'puppet.ovh.rpmfusion.lan' {
'-A INPUT -s 195.154.185.75 -p tcp --dport 8140 -j ACCEPT',
'-A INPUT -s 212.83.132.100 -p tcp --dport 8140 -j ACCEPT',
'-A INPUT -s 212.129.31.200 -p tcp --dport 8140 -j ACCEPT',
+ '-A INPUT -s 212.129.31.198 -p tcp --dport 8140 -j ACCEPT',
# UASE
'-A INPUT -s 129.143.116.115 -p tcp --dport 8140 -j ACCEPT',
],
9 years, 4 months
[puppet] Add hv01.online
by Xavier Lamien
commit 91e750271f9062994981e99e9a9213b44b54b470
Author: Xavier Lamien <laxathom(a)fedoraproject.org>
Date: Fri Jul 31 14:29:10 2015 +0200
Add hv01.online
manifests/nodes/hv.rpmfusion.org.pp | 20 ++++++++++++++++++++
1 files changed, 20 insertions(+), 0 deletions(-)
---
diff --git a/manifests/nodes/hv.rpmfusion.org.pp b/manifests/nodes/hv.rpmfusion.org.pp
new file mode 100644
index 0000000..bcf4163
--- /dev/null
+++ b/manifests/nodes/hv.rpmfusion.org.pp
@@ -0,0 +1,20 @@
+# Hypervisor related nodes
+
+node 'hv01.online.rpmfusion.net' {
+ include fas-clients
+
+ class { 'puppet::agent':
+ forcenoop => false,
+ service => false,
+ cron_enable => true,
+ cron_silent => false,
+ puppet_server => 'puppet.ovh.rpmfusion.lan',
+ }
+
+ class { 'dhcpd':
+ configsource => 'puppet:///files/dhcp/dhcpd.conf-hv01.online',
+ # Restrict listening to a single interface
+ dhcpdargs => 'br1',
+ ensure => 'running',
+ }
+}
9 years, 4 months
[puppet] Export pkgs01 configs
by Xavier Lamien
commit 85f52c28664cc8a312a4e355844addd382677145
Author: Xavier Lamien <laxathom(a)fedoraproject.org>
Date: Fri Jul 31 14:27:46 2015 +0200
Export pkgs01 configs
manifests/nodes/pkgs.rpmfusion.org.pp | 15 +++++++--------
1 files changed, 7 insertions(+), 8 deletions(-)
---
diff --git a/manifests/nodes/pkgs.rpmfusion.org.pp b/manifests/nodes/pkgs.rpmfusion.org.pp
index 9c17758..94cd529 100644
--- a/manifests/nodes/pkgs.rpmfusion.org.pp
+++ b/manifests/nodes/pkgs.rpmfusion.org.pp
@@ -1,15 +1,9 @@
-# packages related nodes
+# Packages management related nodes
node 'pkgs01.online.rpmfusion.net' {
-
- $fas_group = [ 'sysadmin-build' ]
+ $fas_group = ['sysadmin-build']
include fas-clients
- class { 'git::daemon':
- base_path => '/srv/git',
- export_all => true,
- }
-
class { 'puppet::agent':
forcenoop => false,
service => false,
@@ -17,4 +11,9 @@ node 'pkgs01.online.rpmfusion.net' {
cron_silent => false,
puppet_server => 'puppet.ovh.rpmfusion.lan',
}
+
+ class { 'git::daemon':
+ base_path => '/srv/git',
+ export_all => true,
+ }
}
9 years, 4 months
[puppet] Add sysadmin-main to sudoers.
by Xavier Lamien
commit 6255ff44e3a5c0b711d4b25754d5eec8fb5d0e7e
Author: Xavier Lamien <laxathom(a)fedoraproject.org>
Date: Thu Jul 30 15:17:17 2015 +0200
Add sysadmin-main to sudoers.
manifests/services/fas-clients.pp | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/manifests/services/fas-clients.pp b/manifests/services/fas-clients.pp
index 0499a45..1515924 100644
--- a/manifests/services/fas-clients.pp
+++ b/manifests/services/fas-clients.pp
@@ -31,6 +31,12 @@ class fas-clients {
type => 'user_home_dir_t',
}
+ file { '/etc/sudoers.d/sysadmin-main':
+ source => 'puppet:///files/sudoers/sysadmin-main',
+ owner => 'root',
+ group => 'root'
+ }
+
# Add RPM Fusion CA to cert's bundle
#exec { 'update_cert_bundle':
# command => 'echo "
9 years, 4 months
[puppet] Add aliases to hosts which don't come with public IP from hv01.online.rpmfusion.net
by Xavier Lamien
commit 9763930610acef8a9476e871eb0db4831a190188
Author: Xavier Lamien <laxathom(a)fedoraproject.org>
Date: Thu Jul 30 14:57:24 2015 +0200
Add aliases to hosts which don't come with public IP from hv01.online.rpmfusion.net
modules/default-setup/manifests/init.pp | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/modules/default-setup/manifests/init.pp b/modules/default-setup/manifests/init.pp
index 6c8c9f4..a0436ec 100644
--- a/modules/default-setup/manifests/init.pp
+++ b/modules/default-setup/manifests/init.pp
@@ -22,6 +22,10 @@ class default-setup {
ip => '192.168.230.15',
host_aliases => [ 'old03', 'buildsys.rpmfusion.org' ],
}
+ host { 'hv01.online.rpmfusion.net':
+ ip => '195.154.185.75',
+ host_aliases => [ 'db02.online.rpmfusion.net'],
+ }
# Common puppet client configuration for all nodes
class { 'puppet::agent':
9 years, 4 months
[puppet] Allow hv01.online.rpmfusion.net to reach puppet master.
by Xavier Lamien
commit 28a8aac22f44fa40a6495609e72c6efa162eede8
Author: Xavier Lamien <laxathom(a)fedoraproject.org>
Date: Thu Jul 30 14:53:39 2015 +0200
Allow hv01.online.rpmfusion.net to reach puppet master.
manifests/nodes/main.pp | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/manifests/nodes/main.pp b/manifests/nodes/main.pp
index 33aaaa9..e7d3c3b 100644
--- a/manifests/nodes/main.pp
+++ b/manifests/nodes/main.pp
@@ -165,6 +165,7 @@ node 'puppet.ovh.rpmfusion.lan' {
'-A INPUT -s 88.190.17.86 -p tcp --dport 8140 -j ACCEPT',
'-A INPUT -s 88.190.227.172 -p tcp --dport 8140 -j ACCEPT',
'-A INPUT -s 88.190.45.75 -p tcp --dport 8140 -j ACCEPT',
+ '-A INPUT -s 195.154.185.75 -p tcp --dport 8140 -j ACCEPT',
'-A INPUT -s 212.83.132.100 -p tcp --dport 8140 -j ACCEPT',
'-A INPUT -s 212.129.31.200 -p tcp --dport 8140 -j ACCEPT',
# UASE
9 years, 4 months
[puppet] Add dhcp config for hv01.online
by Xavier Lamien
commit 5336e8c40bf98e293af98a174e042810900ae471
Author: Xavier Lamien <laxathom(a)fedoraproject.org>
Date: Tue Jul 21 19:28:46 2015 +0200
Add dhcp config for hv01.online
files/dhcp/dhcpd.conf-hv01.online | 19 +++++++++++++++++++
1 files changed, 19 insertions(+), 0 deletions(-)
---
diff --git a/files/dhcp/dhcpd.conf-hv01.online b/files/dhcp/dhcpd.conf-hv01.online
new file mode 100644
index 0000000..05da095
--- /dev/null
+++ b/files/dhcp/dhcpd.conf-hv01.online
@@ -0,0 +1,19 @@
+#
+# DHCP Server Configuration file.
+# see /usr/share/doc/dhcp*/dhcpd.conf.sample
+# see 'man 5 dhcpd.conf'
+#
+ddns-update-style none;
+
+subnet 192.168.181.0 netmask 255.255.255.0 {
+ option routers 192.168.181.254;
+ option subnet-mask 255.255.255.0;
+
+ option domain-name "online.rpmfusion.org";
+ option domain-name-servers 62.210.16.6;
+
+ range dynamic-bootp 192.168.181.128 192.168.181.160;
+ default-lease-time 21600;
+ max-lease-time 43200;
+
+}
9 years, 5 months
[puppet] Add standard config gor pkgs01.online
by Xavier Lamien
commit 9d5dd507218a7d0ce21683a67498b53f9bd0f5cd
Author: Xavier Lamien <laxathom(a)fedoraproject.org>
Date: Tue Jul 21 19:28:18 2015 +0200
Add standard config gor pkgs01.online
files/dns/rpmfusion.org | 2 +-
manifests/nodes/pkgs.rpmfusion.org.pp | 20 ++++++++++++++++++++
2 files changed, 21 insertions(+), 1 deletions(-)
---
diff --git a/files/dns/rpmfusion.org b/files/dns/rpmfusion.org
index a5bb9ae..a1df861 100644
--- a/files/dns/rpmfusion.org
+++ b/files/dns/rpmfusion.org
@@ -1,6 +1,6 @@
$TTL 5M
@ IN SOA ns1.rpmfusion.net. matthias.saou.eu. (
- 2014121201 ; Serial
+ 2015072101 ; Serial
6H ; Refresh
1H ; Retry
5W ; Expire
diff --git a/manifests/nodes/pkgs.rpmfusion.org.pp b/manifests/nodes/pkgs.rpmfusion.org.pp
index e69de29..9c17758 100644
--- a/manifests/nodes/pkgs.rpmfusion.org.pp
+++ b/manifests/nodes/pkgs.rpmfusion.org.pp
@@ -0,0 +1,20 @@
+# packages related nodes
+
+node 'pkgs01.online.rpmfusion.net' {
+
+ $fas_group = [ 'sysadmin-build' ]
+ include fas-clients
+
+ class { 'git::daemon':
+ base_path => '/srv/git',
+ export_all => true,
+ }
+
+ class { 'puppet::agent':
+ forcenoop => false,
+ service => false,
+ cron_enable => true,
+ cron_silent => false,
+ puppet_server => 'puppet.ovh.rpmfusion.lan',
+ }
+}
9 years, 5 months
[puppet] Add reverse for pkgs01
by Xavier Lamien
commit f78fe771bc4a9755ef2b5dca37778e2bea71ef15
Author: Xavier Lamien <laxathom(a)fedoraproject.org>
Date: Tue Jul 21 13:25:51 2015 +0200
Add reverse for pkgs01
files/dns/rpmfusion.net | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/files/dns/rpmfusion.net b/files/dns/rpmfusion.net
index c5a36bb..f12592b 100644
--- a/files/dns/rpmfusion.net
+++ b/files/dns/rpmfusion.net
@@ -1,6 +1,6 @@
$TTL 5M
@ IN SOA ns1.rpmfusion.net. matthias.saou.eu. (
- 2014121201 ; Serial
+ 2015072101 ; Serial
6H ; Refresh
1H ; Retry
5W ; Expire
@@ -28,8 +28,6 @@ mx1 IN A 46.105.55.71 ; se01.ovh
hv02.ovh IN A 188.165.226.50
hv02.ovh IN AAAA 2001:41d0:2:ad32::cafe
-hv01.online IN A 195.154.185.75
-
se01.ovh IN A 46.105.55.71
se01.ovh IN AAAA 2001:41d0:2:ad32::1
se02.ovh IN A 46.105.55.72
@@ -37,5 +35,9 @@ se02.ovh IN AAAA 2001:41d0:2:ad32::2
se03.ovh IN A 46.105.55.73
se03.ovh IN AAAA 2001:41d0:2:ad32::3
+; system at online.net
+hv01.online IN A 195.154.185.75
+pkgs01.online IN A 212.129.31.198
+
; system at uase: university of applied sciences esslingen
hv01.uase IN A 129.143.116.115
9 years, 5 months