aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralex <alex@pdp7.net>2026-08-18 23:33:37 +0200
committeralex <alex@pdp7.net>2026-08-18 23:33:37 +0200
commit5c1522760d3eedb9607f0f86d6d84e18252c118f (patch)
treed6f2271b830475635b42db947513dc0c1c1679dc
parent38e55d1147dd9478cd032f2828df756b5976ee5a (diff)
Set up new access points/mesh
-rw-r--r--personal_infra/puppet/site/dixie.bcn.int.pdp7.net.pp15
-rw-r--r--personal_infra/puppet/site/nagios.h1.int.pdp7.net.pp14
2 files changed, 21 insertions, 8 deletions
diff --git a/personal_infra/puppet/site/dixie.bcn.int.pdp7.net.pp b/personal_infra/puppet/site/dixie.bcn.int.pdp7.net.pp
index d7409c7f..5a0cf1e6 100644
--- a/personal_infra/puppet/site/dixie.bcn.int.pdp7.net.pp
+++ b/personal_infra/puppet/site/dixie.bcn.int.pdp7.net.pp
@@ -3,13 +3,16 @@ node 'dixie.bcn.int.pdp7.net' {
class {'dns_dhcp::opennic':}
class {'filer':}
file {'/etc/dnsmasq.d/static.conf':
- content => "host-record=router,router.bcn.int.pdp7.net,10.76.78.1
-host-record=archerc7,archerc7.bcn.int.pdp7.net,10.76.78.6
-host-record=dixie.bcn.int.pdp7.net,dixie,10.76.78.2
-host-record=router4g.bcn.int.pdp7.net,router4g,10.76.78.3
+ content => @(EOT)
+ host-record=router,router.bcn.int.pdp7.net,10.76.78.1
+ host-record=dixie.bcn.int.pdp7.net,dixie,10.76.78.2
+ host-record=router4g.bcn.int.pdp7.net,router4g,10.76.78.3
+ dhcp-host=68:7F:F0:84:02:6C,tp-estudio,10.76.78.4
+ dhcp-host=68:7F:F0:83:FC:04,tp-comedor,10.76.78.5
-dhcp-option=tag:!noroutes,option:classless-static-route,10.34.10.0/24,10.76.78.2,10.43.43.0/24,10.76.78.2,10.17.19.0/24,10.76.78.2,0.0.0.0/0,10.76.78.1
-",
+ dhcp-option=tag:!noroutes,option:classless-static-route,10.34.10.0/24,10.76.78.2,10.43.43.0/24,10.76.78.2,10.17.19.0/24,10.76.78.2,0.0.0.0/0,10.76.78.1
+ | EOT
+ ,
notify => Service["dnsmasq"],
}
diff --git a/personal_infra/puppet/site/nagios.h1.int.pdp7.net.pp b/personal_infra/puppet/site/nagios.h1.int.pdp7.net.pp
index 23d4e29e..e394ebf9 100644
--- a/personal_infra/puppet/site/nagios.h1.int.pdp7.net.pp
+++ b/personal_infra/puppet/site/nagios.h1.int.pdp7.net.pp
@@ -16,14 +16,24 @@ node 'nagios.h1.int.pdp7.net' {
}
}
- nagios_host {"archerc7.bcn.int.pdp7.net":
+ nagios_host {"tp-estudio.bcn.int.pdp7.net":
use => 'generic-host',
max_check_attempts => 20,
flap_detection_enabled => 0,
contact_groups => 'admins',
check_command => 'check-host-alive',
parents => ["dixie.bcn.int.pdp7.net"],
- address => "10.76.78.6",
+ address => "10.76.78.4",
+ }
+
+ nagios_host {"tp-comedor.bcn.int.pdp7.net":
+ use => 'generic-host',
+ max_check_attempts => 20,
+ flap_detection_enabled => 0,
+ contact_groups => 'admins',
+ check_command => 'check-host-alive',
+ parents => ["dixie.bcn.int.pdp7.net"],
+ address => "10.76.78.5",
}
nagios_host {"router4g.bcn.int.pdp7.net":