aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README28
1 files changed, 14 insertions, 14 deletions
diff --git a/README b/README
index 00f33d5..8ae0039 100644
--- a/README
+++ b/README
@@ -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",
}