diff options
author | Antoine Beaupre <anarcat@koumbit.org> | 2009-01-14 19:02:53 -0500 |
---|---|---|
committer | Antoine Beaupre <anarcat@koumbit.org> | 2009-01-14 19:02:53 -0500 |
commit | a0ed0c866d139127393223e490b85709e6fdc50b (patch) | |
tree | 4784e2502c6c358e640fd9db1c6fcffc57ae8e35 | |
parent | 55c60873a76c0e95737785a5d78516f9beef7f33 (diff) | |
download | puppet-backupninja-a0ed0c866d139127393223e490b85709e6fdc50b.tar.gz puppet-backupninja-a0ed0c866d139127393223e490b85709e6fdc50b.tar.bz2 |
default backup tag to fqdn, not specified host
-rw-r--r-- | manifests/rdiff.pp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/manifests/rdiff.pp b/manifests/rdiff.pp index 0228a06..ee99821 100644 --- a/manifests/rdiff.pp +++ b/manifests/rdiff.pp @@ -28,7 +28,7 @@ define backupninja::rdiff( $backuptag = false) { $real_backuptag = $backuptag ? { - false => $host, + false => $fqdn, default => $backuptag } @@ -40,7 +40,7 @@ define backupninja::rdiff( backupninja::server::sandbox { - "${user}-${name}": user => $user, host => $fqdn, dir => $home, + "${user}-${name}": user => $user, host => $host, dir => $home, manage_ssh_dir => $ssh_dir_manage, ssh_dir => $ssh_dir, key => $key, authorized_keys_file => $authorized_keys_file, installuser => $installuser, backuptag => $real_backuptag |