collect backup client list in a plain text file
[mirror/dsa-puppet.git] / modules / bacula / manifests / client.pp
index d016e0d..f8f83f2 100644 (file)
@@ -82,4 +82,12 @@ 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",
        #}
+
+       @@concat::fragment { "bacula-dsa-client-list::$fqdn":
+               target => $bacula::bacula_dsa_client_list ,
+               content  => @("EOF"),
+                               ${fqdn}
+                               | EOF
+               tag     => $bacula::tag_bacula_dsa_client_list,
+       }
 }