Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

RSS

chef-bareos (3) Versions 0.1.2

Installs/Configures BAREOS - Backup Archiving REcovery Open Sourced

Berkshelf/Librarian
Policyfile
Knife
cookbook 'chef-bareos', '= 0.1.2'
cookbook 'chef-bareos', '= 0.1.2', :supermarket
knife cookbook site install chef-bareos
knife cookbook site download chef-bareos
README
Dependencies
Changelog
Quality

Chef-Bareos Cookbook

Build Status

This cookbook installs and configures backups based on bareos software

Requirements

Attributes

<table> <tr> <th>Key</th> <th>Type</th> <th>Description</th> <th>Default</th> </tr> <tr> <td><tt>["bareos"]["database_type"]</tt></td> <td>string</td> <td>Specify the database type.</td> <td><tt>postgresql</tt></td> </tr> <tr> <td><tt>["bareos"]["dbdriver"]</tt></td> <td>string</td> <td>Specify the database driver.</td> <td><tt>postgresql</tt></td> </tr> <tr> <td><tt>["bareos"]["dbname"]</tt></td> <td>string</td> <td>Specify the database default name.</td> <td><tt>bareos</tt></td> </tr> <tr> <td><tt>["bareos"]["dbuser"]</tt></td> <td>string</td> <td>Specify the db user name.</td> <td><tt>bareos</tt></td> </tr> <tr> <td><tt>["bareos"]["dbpassword"]</tt></td> <td>string</td> <td>Specify the db password.</td> <td><tt>none</tt></td> </tr> </table>

Usage

bareos_base role (install the bareos client backup by default)

You need to create a base role called bareos_base like this:

{
  "name": "bareos_base",
  "description": "Base Role for chef-bareos Cookbook, used in searches, throws down sources for installs",
  "json_class": "Chef::Role",
  "default_attributes": {
  },
  "override_attributes": {
  },
  "chef_type": "role",
  "run_list": [
    "recipe[bareos]"
  ],
  "env_run_lists": {
  }
}

This role has to be applied to all your clients so they can be backed up by this cookbook.

bareos_server role (install the bareos server for backups)

For the server, you need a role named bareos_server, for example :

{
  "name": "bareos_server",
  "description": "Bareos Server Role",
  "json_class": "Chef::Role",
  "default_attributes": {
  },
  "override_attributes": {
  },
  "chef_type": "role",
  "run_list": [
    "role[bareos_base]",
    "recipe[bareos::database]",
    "recipe[bareos::server]",
    "recipe[bareos::storage]",
    "recipe[bareos::workstation]"
  ],
  "env_run_lists": {
  }
}

You need to run chef-client on the backup server every time you add a new node. All job will be automatically create for you.

Contributing

  1. Fork the repository on Github
  2. Create a named feature branch (like add_component_x)
  3. Write your change
  4. Write tests for your change (if applicable)
  5. Run the tests, ensuring they all pass
  6. Submit a Pull Request using Github

License and Authors

License

Copyright 2014 Léonard TAVAE

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Authors

  • Léonard TAVAE

Dependent cookbooks

yum >= 0.0.0
postgresql >= 0.0.0
openssl >= 0.0.0
apt >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Bareos Cookbook CHANGELOG

This file is used to list changes made in each version of the bareos cookbook.

0.1.2

  • Léonard TAVAE

    • The License has changed (Apache 2.0)
    • The cookbook now passed foodcritic, rubocop and tailor with success
    • Some minor bugs fix

0.1.1

  • Léonard TAVAE - Major release

0.1.0

  • Léonard TAVAE - Initial release of bareos

Foodcritic Metric
            

0.1.2 passed this metric