projects
/
mirror
/
dsa-puppet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
3661675
)
Only add host to bacula dsa client list if we do backups for it
author
Peter Palfrader
<peter@palfrader.org>
Sat, 24 Feb 2018 11:20:35 +0000
(12:20 +0100)
committer
Peter Palfrader
<peter@palfrader.org>
Sat, 24 Feb 2018 11:20:35 +0000
(12:20 +0100)
modules/bacula/manifests/client.pp
patch
|
blob
|
history
diff --git
a/modules/bacula/manifests/client.pp
b/modules/bacula/manifests/client.pp
index
f8f83f2
..
580115d
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']:
@@
-82,12
+90,4
@@
class bacula::client inherits bacula {
# description => 'Allow bacula access from storage and director',
# rule => "proto tcp mod state state (NEW) dport (bacula-fd) saddr (${bacula_director_ip6}) ACCEPT",
#}
# description => 'Allow bacula access from storage and director',
# rule => "proto tcp mod state state (NEW) dport (bacula-fd) saddr (${bacula_director_ip6}) ACCEPT",
#}
-
- @@concat::fragment { "bacula-dsa-client-list::$fqdn":
- target => $bacula::bacula_dsa_client_list ,
- content => @("EOF"),
- ${fqdn}
- | EOF
- tag => $bacula::tag_bacula_dsa_client_list,
- }
}
}