Skip to content

Instantly share code, notes, and snippets.

@proffalken
Created March 13, 2012 10:19
Show Gist options
  • Save proffalken/2028004 to your computer and use it in GitHub Desktop.
Save proffalken/2028004 to your computer and use it in GitHub Desktop.
Bacula Issues
## Based on tknetwork's bacula cookbook
filedaemon_nodes = search(:node, "roles:bacula_filedaemon")
filedaemon_nodes.each do |n|
bacula_client "#{n.hostname}-fd" do
extend Chef::Bacula
address getClientName(n.fqdn)
end
end
Node Name: bacula-director
Environment: _default
FQDN: bacula-director.mydomain.com
IP: 10.0.23.12
Run List: role[Base], role[bacula-director], role[bacula-storagedaemon], role[bacula-console]
Roles: bacula-storagedaemon, bacula-console, bacula_filedaemon, Base, bacula-director
Recipes: bacula::fd, bacula::dir, bacula::sd, bacula::console
Platform: ubuntu 11.04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment