From 1640f331212ef0fad3cefa32cd77d20c98a2f45a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?ka=E2=80=99imi?= Date: Tue, 15 Oct 2013 16:17:10 +0200 Subject: [PATCH] generated metadata.json --- metadata.json | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 metadata.json diff --git a/metadata.json b/metadata.json new file mode 100644 index 0000000..60966d8 --- /dev/null +++ b/metadata.json @@ -0,0 +1,31 @@ +{ + "name": "rdiff-backup", + "description": "Installs/Configures rdiff-backup", + "long_description": "rdiff-backup Cookbook\n=====================\n\nThis cookbook configures backup using the [rdiff-backup backup tool](http://rdiff-backup.nongnu.org/ \"rdiff-backup home page\").\n\nRequirements\n------------\n\n### ssh key\n\nPut a ssh private key into `files/default/#{node['rdiff-backup']['key']}` and the \ncorresponding public one into `files/default/#{node['rdiff-backup']['key']}.pub`.\n\nThis key will be used for the `rdiff-backup` user that runs the backups.\n\n### Cookbooks:\n\n* ssh\\_known\\_hosts\n* sudo\n\nAttributes\n----------\n\n### rdiff-backup::default\n\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
KeyTypeDescriptionDefault
['rdiff-backup']['backup_dir']Stringwhere to put the backup files/backup
['rdiff-backup']['etc_dir']Stringwhere to put the rdiff-backup config files/etc/rdiff-backup
['rdiff-backup']['user']Booleanthe user to run the backup task asrdiff-backup
['rdiff-backup']['key']Stringthe ssh key file nameid_rsa
['rdiff-backup']['cron']['enable']Booleanwhether to setup a cron job for automated backupstrue
['rdiff-backup']['cron']['email']Stringwhere to send summary emailsnil
['rdiff-backup']['cron']['lockfile']Stringwhere to write the cron job lockfile/tmp/rdiff-backup.lock
['rdiff-backup']['cron']['day']String`day` component of the cron job definition*
['rdiff-backup']['cron']['hour']String`hour` component of the cron job definition*
['rdiff-backup']['cron']['minute']String`minute` component of the cron job definition*
['rdiff-backup']['cron']['month']String`month` component of the cron job definition*
['rdiff-backup']['cron']['weekday']String`weekday` component of the cron job definition*
['rdiff-backup']['autotrim']['enable']Booleanwhether to auto trim backupstrue
['rdiff-backup']['autotrim']['timespan']Stringbackup retention timespan (in rdiff-backup format)1y
\n\nDefinitions\n-----------\n\n### backup\\_path\n\nAdds a path to the backup directory list.\n\n\nUsage\n-----\n\n### recipes\n\n#### rdiff-backup::default\n\nUsed in the other recipes. Do not call directly.\n\n#### rdiff-backup::client\n\nSets up the client (= host to be backed up) side.\n\n#### rdiff-backup::server\n\nSets up the server (= host to save backups to) side.\n\nThis will do things: if enabled, a cron job is created that backs up all \nconfigured rdiff-backup clients, and scripts to run on demand backups of each \nsingle client.\n\n###definitions\n\n#### backup\\_path\n`backup_path \"/var/lib/mailman\"`\n\nAdds the mailman home directory to be backed up.\n\n### pre and post backup scripts\n\nYou can put shell scripts into `#{node['rdiff-backup']['etc_dir']}/pre.d` and \n`#{node['rdiff-backup']['etc_dir']}/post.d` folders to be run before and after \nthe backup itself respectively.\n\nContributing\n------------\n\n1. Fork the repository on Github\n2. Create a named feature branch (like `add_component_x`)\n3. Write you change\n4. Write tests for your change (if applicable)\n5. Run the tests, ensuring they all pass\n6. Submit a Pull Request using Github\n\nLicense and Authors\n-------------------\nAuthors: ka’imi \n", + "maintainer": "Piratenfraktion NRW", + "maintainer_email": "it+cookbooks@piratenfraktion-nrw.de", + "license": "GPLv3", + "platforms": { + }, + "dependencies": { + "ssh_known_hosts": ">= 0.0.0", + "sudo": ">= 0.0.0" + }, + "recommendations": { + }, + "suggestions": { + }, + "conflicting": { + }, + "providing": { + }, + "replacing": { + }, + "attributes": { + }, + "groupings": { + }, + "recipes": { + }, + "version": "1.0.0" +} \ No newline at end of file