@ferm::rule { 'dsa-bacula-fd-v4':
domain => '(ip)',
description => 'Allow bacula access from storage and director',
- rule => "proto tcp mod state state (NEW) dport (bacula-fd) saddr (${bacula_director_address}) ACCEPT",
+ rule => "proto tcp mod state state (NEW) dport (bacula-fd) saddr (${bacula_director_ip}) ACCEPT",
}
#@ferm::rule { 'dsa-bacula-fd-v6':
# domain => '(ip6)',
# description => 'Allow bacula access from storage and director',
- # rule => "proto tcp mod state state (NEW) dport (bacula-fd) saddr (${bacula_director_address}) ACCEPT",
+ # rule => "proto tcp mod state state (NEW) dport (bacula-fd) saddr (${bacula_director_ip6}) ACCEPT",
#}
}
@ferm::rule { 'dsa-bacula-dir':
domain => '(ip)',
description => 'Allow bacula access from localhost',
- rule => "proto tcp mod state state (NEW) dport (bacula-dir) saddr (${bacula_director_address} localhost) ACCEPT",
+ rule => "proto tcp mod state state (NEW) dport (bacula-dir) saddr (${bacula_director_ip} localhost) ACCEPT",
}
file { '/etc/bacula/conf.d/empty.conf':
$bacula_filestor_device = 'FileStorage'
$bacula_pool_name = 'debian'
- # $bacula_director_address = 'dinis.debian.org'
# use IP address for ferm.
- $bacula_director_address = '206.12.19.139'
+ $bacula_director_ip = '206.12.19.139'
+ $bacula_director_address = 'dinis.debian.org'
$bacula_director_port = 9101
$bacula_storage_address = 'beethoven.debian.org'
$bacula_storage_port = 9103