Created
March 13, 2012 10:19
-
-
Save proffalken/2028004 to your computer and use it in GitHub Desktop.
Bacula Issues
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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