https://github.com/elubow/chef-recoverx
Chef cookbook for Datos.io RecoverX
https://github.com/elubow/chef-recoverx
backup chef-cookbook ruby
Last synced: 12 months ago
JSON representation
Chef cookbook for Datos.io RecoverX
- Host: GitHub
- URL: https://github.com/elubow/chef-recoverx
- Owner: elubow
- Created: 2017-03-09T15:45:38.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-03-24T17:19:03.000Z (over 9 years ago)
- Last Synced: 2025-07-05T21:40:30.913Z (12 months ago)
- Topics: backup, chef-cookbook, ruby
- Language: Ruby
- Homepage:
- Size: 17.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
RecoverX Cookbook
=================
This installs and configures Datos.io RecoverX
Requirements
------------
#### Chef
Chef version 0.11.0+ and Ohai 0.7.0+ are required.
#### Platform
- Ubuntu Trusty 14.04
Attributes
----------
Usage
-----
#### recoverx::recoverx
This is the recipe that is used to set up the RecoverX cluster.
Set up a role for the RecoverX cluster. Some notes about the role:
* For the SSH settings to take effect, the `openssh` cookbook must be installed
```ruby
name 'recoverx-mongodb-server'
description 'MongoDB backup role for RecoverX node'
run_list(
'recipe[recoverx::recoverx]',
'recipe[openssh]'
)
default_attributes(
datos: {
recoverx: {
node_type: 'mongodb',
version: '1.2.10_2017-03-09-20-11',
download_url: 'https://s3.amazonaws.com/com.mycompany.packages/datos_1.2.10_2017-03-09-20-11_centos6.tar.gz',
storage_type: 's3'
},
mongodb: {
mongodb_group: 'mongodb'
}
},
openssh: {
server: {
'max_sessions': '500',
'max_startups': '500:1:500'
}
}
)
```
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
Authors
-------
* Author:: Eric Lubow (@elubow)