From: Peter Palfrader Date: Tue, 19 Jun 2012 14:04:47 +0000 (+0200) Subject: Allow KVM migration X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=c0d14d1381934a519baa3bd4b818634938e2246b;p=mirror%2Fdsa-puppet.git Allow KVM migration --- diff --git a/modules/ferm/manifests/per-host.pp b/modules/ferm/manifests/per-host.pp index c12e055f5..de13cb687 100644 --- a/modules/ferm/manifests/per-host.pp +++ b/modules/ferm/manifests/per-host.pp @@ -229,4 +229,13 @@ REJECT reject-with icmp-admin-prohibited default: {} } + + # live ganeti migration + case $::hostname { + tristano: { @ferm::rule { 'dsa-ganeti-migrate': rule => 'interface br1 proto tcp dport 8102 src 192.168.2.217 ACCEPT'; } } + pasquini: { @ferm::rule { 'dsa-ganeti-migrate': rule => 'interface br1 proto tcp dport 8102 src 192.168.2.213 ACCEPT'; } } + bertali: { @ferm::rule { 'dsa-ganeti-migrate': rule => 'interface br1 proto tcp dport 8102 src 192.168.2.216 ACCEPT'; } } + boito: { @ferm::rule { 'dsa-ganeti-migrate': rule => 'interface br1 proto tcp dport 8102 src 192.168.2.212 ACCEPT'; } } + default: {} + } }