projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use temporary redirects for ports redirects to the wiki
[mirror/dsa-puppet.git]
/
modules
/
bacula
/
manifests
/
client.pp
diff --git
a/modules/bacula/manifests/client.pp
b/modules/bacula/manifests/client.pp
index
d016e0d
..
8c33181
100644
(file)
--- a/
modules/bacula/manifests/client.pp
+++ b/
modules/bacula/manifests/client.pp
@@
-5,6
+5,14
@@
class bacula::client inherits bacula {
@@bacula::node { $::fqdn:
bacula_client_port => $bacula::bacula_client_port,
}
@@bacula::node { $::fqdn:
bacula_client_port => $bacula::bacula_client_port,
}
+
+ @@concat::fragment { "bacula-dsa-client-list::$fqdn":
+ target => $bacula::bacula_dsa_client_list ,
+ content => @("EOF"),
+ ${fqdn}
+ | EOF
+ tag => $bacula::tag_bacula_dsa_client_list,
+ }
}
package { ['bacula-fd']:
}
package { ['bacula-fd']:
@@
-71,15
+79,9
@@
class bacula::client inherits bacula {
}
}
}
}
- @ferm::rule { 'dsa-bacula-fd
-v4
':
- domain => '(ip)',
+ @ferm::rule { 'dsa-bacula-fd':
+ domain => '(ip
ip6
)',
description => 'Allow bacula access from storage and director',
description => 'Allow bacula access from storage and director',
- rule => "proto tcp mod state state (NEW) dport (${bacula_client_port}) saddr (${bacula_director_ip}) ACCEPT",
+ rule => "proto tcp mod state state (NEW) dport (${bacula_client_port}) saddr (${bacula_director_ip
_addrs
}) 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_ip6}) ACCEPT",
- #}
}
}