cookbook 'hollandbackup', '~> 0.3.0'
hollandbackup (12) Versions 0.3.0 Follow2
Installs/Configures hollandbackup
cookbook 'hollandbackup', '~> 0.3.0', :supermarket
knife supermarket install hollandbackup
knife supermarket download hollandbackup
hollandbackup cookbook
Description
This cookbook provides an easy way to install Holland Backup.
More information?
* http://hollandbackup.org
Requirements
Cookbooks:
This cookbook recommends on the following cookbooks:
- mysql
Depending on your setup, these recommended cookbooks are actual dependencies (depends):
- Installing the mysqldump provider? You'll need the mysql cookbook to be available.
Platforms:
- Debian
- Ubuntu
- CentOS
- RHEL
Attributes
repository.rb:
-
node['hollandbackup']['repository']['distro']
- The Linux distro, defaults to "xUbuntu_12.04"
mysqldump.rb: (see http://docs.hollandbackup.org/provider_configs/mysqldump.html)
general
-
node['hollandbackup']['mysqldump']['mysql_binpath']
- see Holland Backup mysqldump-docs, defaults to nil -
node['hollandbackup']['mysqldump']['lock_method']
- see Holland Backup mysqldump-docs, defaults to nil -
node['hollandbackup']['mysqldump']['exclude_invalid_views']
- see Holland Backup mysqldump-docs, defaults to nil -
node['hollandbackup']['mysqldump']['dump_routines']
- see Holland Backup mysqldump-docs, defaults to nil -
node['hollandbackup']['mysqldump']['dump_events']
- see Holland Backup mysqldump-docs, defaults to nil -
node['hollandbackup']['mysqldump']['stop_slave']
- see Holland Backup mysqldump-docs, defaults to nil -
node['hollandbackup']['mysqldump']['bin_log_position']
- see Holland Backup mysqldump-docs, defaults to nil -
node['hollandbackup']['mysqldump']['flush_logs']
- see Holland Backup mysqldump-docs, defaults to nil -
node['hollandbackup']['mysqldump']['file_per_database']
- see Holland Backup mysqldump-docs, defaults to nil -
node['hollandbackup']['mysqldump']['additional_options']
- see Holland Backup mysqldump-docs, defaults to nil -
node['hollandbackup']['mysqldump']['extra_defaults']
- see Holland Backup mysqldump-docs, defaults to nil -
node['hollandbackup']['mysqldump']['estimate_method']
- see Holland Backup mysqldump-docs, defaults to nil
database and table filtering
-
node['hollandbackup']['mysqldump']['filtering']['databases']
- see Holland Backup mysqldump-docs, defaults to nil -
node['hollandbackup']['mysqldump']['filtering']['exclude_databases']
- see Holland Backup mysqldump-docs, defaults to nil -
node['hollandbackup']['mysqldump']['filtering']['tables']
- see Holland Backup mysqldump-docs, defaults to nil -
node['hollandbackup']['mysqldump']['filtering']['exclude_tables']
- see Holland Backup mysqldump-docs, defaults to nil
[compression]
-
node['hollandbackup']['mysqldump']['compresssion']['method']
- see Holland Backup mysqldump-docs, defaults to nil -
node['hollandbackup']['mysqldump']['compresssion']['inline']
- see Holland Backup mysqldump-docs, defaults to nil -
node['hollandbackup']['mysqldump']['compresssion']['level']
- see Holland Backup mysqldump-docs, defaults to nil -
node['hollandbackup']['mysqldump']['compresssion']['bin_path']
- see Holland Backup mysqldump-docs, defaults to nil
[mysql:client]
-
node['hollandbackup']['mysqldump']['mysql_connection']['defaults_extra_file']
- see Holland Backup mysqldump-docs, defaults to nil -
node['hollandbackup']['mysqldump']['mysql_connection']['user']
- see Holland Backup mysqldump-docs, defaults to nil -
node['hollandbackup']['mysqldump']['mysql_connection']['password']
- see Holland Backup mysqldump-docs, defaults to nil -
node['hollandbackup']['mysqldump']['mysql_connection']['socket']
- see Holland Backup mysqldump-docs, defaults to nil -
node['hollandbackup']['mysqldump']['mysql_connection']['host']
- see Holland Backup mysqldump-docs, defaults to nil -
node['hollandbackup']['mysqldump']['mysql_connection']['port']
- see Holland Backup mysqldump-docs, defaults to nil
main.rb: (see http://docs.hollandbackup.org/config.html#holland-conf-main-config)
[holland]
-
node['hollandbackup']['main']['plugin_dirs']
- see Holland Backup main config-docs, defaults to nil -
node['hollandbackup']['main']['backup_directory']
- see Holland Backup main config-docs, defaults to nil -
node['hollandbackup']['main']['backupsets']
- see Holland Backup main config-docs, defaults to nil -
node['hollandbackup']['main']['umask']
- see Holland Backup main config-docs, defaults to nil -
node['hollandbackup']['main']['path']
- see Holland Backup main config-docs, defaults to nil
[logging]
-
node['hollandbackup']['main']['filename']
- see Holland Backup main config-docs, defaults to nil -
node['hollandbackup']['main']['level']
- see Holland Backup main config-docs, defaults to nil
backupsets.rb:
-
node['hollandbackup']['backupsets']
- A list of backupsets
Usage
- include
recipe[hollandbackup]
in a run list - include
recipe[hollandbackup::mysqldump]
- include
recipe[hollandbackup::main]
- include
recipe[hollandbackup::backupsets]
- tweak the attributes via attributes/default.rb --- OR --- override the attribute on a higher level
References
License and Authors
Author: David Joos development@davidjoos.com
Copyright: 2016, David Joos
Author: David Joos david.joos@escapestudios.com
Author: Escape Studios Development dev@escapestudios.com
Copyright: 2012-2015, Escape Studios
Unless otherwise noted, all files are released under the MIT license,
possible exceptions will contain licensing information in them.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
Dependent cookbooks
yum-epel >= 0.0.0 |
apt >= 0.0.0 |
chef-sugar >= 0.0.0 |
mysql >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Collaborator Number Metric
0.3.0 failed this metric
Failure: Cookbook has 1 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
0.3.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
0.3.0 failed this metric
FC066: Ensure chef_version is set in metadata: hollandbackup/metadata.rb:1
FC074: LWRP should use DSL to define resource's default action: hollandbackup/resources/backupset.rb:1
FC074: LWRP should use DSL to define resource's default action: hollandbackup/resources/main.rb:1
FC074: LWRP should use DSL to define resource's default action: hollandbackup/resources/mysqldump.rb:1
FC085: Resource using new_resource.updated_by_last_action to converge resource: hollandbackup/providers/backupset.rb:26
FC085: Resource using new_resource.updated_by_last_action to converge resource: hollandbackup/providers/main.rb:26
FC085: Resource using new_resource.updated_by_last_action to converge resource: hollandbackup/providers/mysqldump.rb:26
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.3.0 passed this metric
Testing File Metric
0.3.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.3.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.3.0 failed this metric
0.3.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
0.3.0 failed this metric
FC066: Ensure chef_version is set in metadata: hollandbackup/metadata.rb:1
FC074: LWRP should use DSL to define resource's default action: hollandbackup/resources/backupset.rb:1
FC074: LWRP should use DSL to define resource's default action: hollandbackup/resources/main.rb:1
FC074: LWRP should use DSL to define resource's default action: hollandbackup/resources/mysqldump.rb:1
FC085: Resource using new_resource.updated_by_last_action to converge resource: hollandbackup/providers/backupset.rb:26
FC085: Resource using new_resource.updated_by_last_action to converge resource: hollandbackup/providers/main.rb:26
FC085: Resource using new_resource.updated_by_last_action to converge resource: hollandbackup/providers/mysqldump.rb:26
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.3.0 passed this metric
Testing File Metric
0.3.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.3.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.3.0 failed this metric
FC074: LWRP should use DSL to define resource's default action: hollandbackup/resources/backupset.rb:1
FC074: LWRP should use DSL to define resource's default action: hollandbackup/resources/main.rb:1
FC074: LWRP should use DSL to define resource's default action: hollandbackup/resources/mysqldump.rb:1
FC085: Resource using new_resource.updated_by_last_action to converge resource: hollandbackup/providers/backupset.rb:26
FC085: Resource using new_resource.updated_by_last_action to converge resource: hollandbackup/providers/main.rb:26
FC085: Resource using new_resource.updated_by_last_action to converge resource: hollandbackup/providers/mysqldump.rb:26
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.3.0 passed this metric
Testing File Metric
0.3.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.3.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.3.0 failed this metric
0.3.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number