diff options
author | Micah Anderson <micah@riseup.net> | 2012-10-26 12:52:08 -0400 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2012-10-26 12:52:35 -0400 |
commit | ebda5e4ed4f2cbce4cb9c6d65531ae73f451dd5b (patch) | |
tree | c9a7d3d77f9b961f1403438cf91927931b5d5b19 | |
parent | 542343def56bbb8c84fd8f730a53379f78c269e3 (diff) | |
download | puppet-backupninja-riseup.tar.gz puppet-backupninja-riseup.tar.bz2 |
update README to no longer suggest that people import the module; change theriseup
quoting to be puppet lint clean; and update variable scoping to be valid
-rw-r--r-- | README | 28 |
1 files changed, 14 insertions, 14 deletions
@@ -23,9 +23,9 @@ were not part of any rdiff-backup. Getting started --------------- -First you will need to import the module: +First you will need to include the module: - import "backupninja" + include 'backupninja' Configure your backup server ---------------------------- @@ -41,7 +41,7 @@ backups. You may also want to set some variables on your backup server, such as: - $backupdir = "/backups" + $backupdir = '/backups' Configure your backup clients @@ -61,12 +61,12 @@ version of either backupninja itself, or the specific programs that the handler class installs, you can specify the version you need installed by providing a variable, for example: -$backupninja_ensure_version = "0.9.7~bpo50+1" -$rdiff_backup_ensure_version = "1.2.5-1~bpo40+1" -$rsync_ensure_version = "3.0.6-1~bpo50+1" -$duplicity_ensure_version = "0.6.04-1~bpo50+1" -$debconf_utils_ensure_version = "1.5.28" -$hwinfo_ensure_version = "16.0-2" +$backupninja_ensure_version = '0.9.7~bpo50+1' +$rdiff_backup_ensure_version = '1.2.5-1~bpo40+1' +$rsync_ensure_version = '3.0.6-1~bpo50+1' +$duplicity_ensure_version = '0.6.04-1~bpo50+1' +$debconf_utils_ensure_version = '1.5.28' +$hwinfo_ensure_version = '16.0-2' If you do not specify these variables the default 'installed/present' version will be installed when you include this class. @@ -104,11 +104,11 @@ backupninja::rdiff { backup_all: * A remote rdiff-backup handler: - backupninja::rdiff { "main": - host => "backup.example.com", - type => "remote", - directory => "/backup/$fqdn", - user => "backup-$hostname", + backupninja::rdiff { 'main': + host => 'backup.example.com', + type => 'remote', + directory => "/backup/$::fqdn", + user => "backup-$::hostname", } |