cookbook 'backuppc-client', '~> 1.0.0'
backuppc-client (3) Versions 1.0.0 Follow2
Installs/Configures backuppc-client
cookbook 'backuppc-client', '~> 1.0.0', :supermarket
knife supermarket install backuppc-client
knife supermarket download backuppc-client
backuppc-client cookbook
Contrary to the cookbook title, this cookbook does not install any client
application. It does however prepare the node in question to be accessible by
the BackupPC server and set some sane defaults for backing up the node.
For this cookbook to be of any use, you should first set up a BackupPC server
node using the backuppc-server cookbook.
Requirements
Platforms
- Debian-family
Dependencies
- sudo
~> 2.5.2
Attributes
See the [default][] attribute files for configuration variables and their
explanation.
Recipes
Default
After setting the configuration variables, all that is left to do is to include
the default recipe:
include_recipe 'backuppc-client::default'
Your BackupPC server will find the nodes depending on this cookbook and uses the
defined cookbook attributes to configure the backup strategy.
TODO
- add unit and integration tests
- restrict rsync-only command through
authorized_keys
and custom shell script
License and Author
Author:: Jean Mertz (jean@mertz.fm)
Copyright 2014, Kabisa ICT
Licensed under the MIT License (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://opensource.org/licenses/MIT
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.
Dependent cookbooks
sudo ~> 2.5.2 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Collaborator Number Metric
1.0.0 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
1.0.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
1.0.0 failed this metric
FC064: Ensure issues_url is set in metadata: backuppc-client/metadata.rb:1
FC065: Ensure source_url is set in metadata: backuppc-client/metadata.rb:1
FC066: Ensure chef_version is set in metadata: backuppc-client/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
1.0.0 passed this metric
Testing File Metric
1.0.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
1.0.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
1.0.0 failed this metric
1.0.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
1.0.0 failed this metric
FC064: Ensure issues_url is set in metadata: backuppc-client/metadata.rb:1
FC065: Ensure source_url is set in metadata: backuppc-client/metadata.rb:1
FC066: Ensure chef_version is set in metadata: backuppc-client/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
1.0.0 passed this metric
Testing File Metric
1.0.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
1.0.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
1.0.0 failed this metric
FC065: Ensure source_url is set in metadata: backuppc-client/metadata.rb:1
FC066: Ensure chef_version is set in metadata: backuppc-client/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
1.0.0 passed this metric
Testing File Metric
1.0.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
1.0.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
1.0.0 failed this metric
1.0.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