As far as I see I have to call bacula::director::client somehow as it 
defines the client-config.

But the question is: How can I do that?


Am Dienstag, 2. Februar 2016 17:11:10 UTC+1 schrieb Timotheus Titus:
>
>  Hello,
>
> I'm using https://github.com/netmanagers/puppet-bacula to deploy bacula 
> to a backup-system and different clients.
>
> The installation of the bacula-director ("main-server") and the 
> bacula-storage ("hdd-handler") is running fine, but if I add a node as 
> server and one as client I do not get an export for my config.
>
> For example:
>
> On the director-node there are different directories and files like
>
>     ├── bacula-dir.conf
>     ├── bacula-fd.conf
>     ├── bacula-sd.conf
>     ├── bconsole.conf
>     ├── clients.d
>     ├── director.d
>     └── storage.d
>
> Now for each client there should be a file called "clientxy.conf" in 
> "clients.d". The files "bacula-sd.conf",  "bconsole.conf" and 
> "bacula-fd.conf" are generated fine - but the client is not generated.
>
> I found a template for the clients in the module - it is located in 
> "templates/director/client.conf.erb" but I do not find an attribute where I 
> could insert this template. 
>
>
> This is the YAML of my bacula-director-server:
>
>       bacula:
>         client_template: bacula/bacula-fd.conf (the title is not correct - 
> it is the configuration file on the client itself, not the client-template 
> for the director)
>         console_template: bacula/bconsole.conf.erb
>         default_messages: Daemon
>         director_template: bacula/bacula-dir.conf.erb
>         manage_client: 'false'
>         manage_console: 'true'
>         manage_director: 'true'
>         manage_storage: 'true'
>         source_dir_purge: 'true'
>         storage_template: bacula/bacula-sd.conf.erb
>
> This is the YAML of my bacula-client-server:
>
>
>       bacula:
>         client_template: bacula/bacula-fd.conf
>         console_template: bacula/bconsole.conf.erb
>         default_messages: Daemon
>         director_template: bacula/bacula-dir.conf.erb
>         manage_client: 'true'
>         manage_console: 'false'
>         manage_director: 'false'
>         manage_storage: 'false'
>         source_dir_purge: 'false'
>         storage_template: bacula/bacula-sd.conf.erb
>
> Any ideas how to solve this and add a node automatically to bacula-dir?
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/547b091d-27fc-40f4-ab85-c6fc5e23c7d2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to