diff options
author | Nicolas Vigier <boklm@mageia.org> | 2011-05-15 17:53:29 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2011-05-15 17:53:29 +0000 |
commit | 783f47b5c62eb67fcb42b5b7e73920942c1f7f4f (patch) | |
tree | 4b00d3b4682d1e4c9f89be8afd2063b8a9acb5db /modules/planet/templates/backup_planet-files.sh | |
parent | ba5932c7a7bdd8b3b8d391d8948438e7273ae892 (diff) | |
download | puppet-783f47b5c62eb67fcb42b5b7e73920942c1f7f4f.tar puppet-783f47b5c62eb67fcb42b5b7e73920942c1f7f4f.tar.gz puppet-783f47b5c62eb67fcb42b5b7e73920942c1f7f4f.tar.bz2 puppet-783f47b5c62eb67fcb42b5b7e73920942c1f7f4f.tar.xz puppet-783f47b5c62eb67fcb42b5b7e73920942c1f7f4f.zip |
use planet_location variable in backup and deploy scripts
Diffstat (limited to 'modules/planet/templates/backup_planet-files.sh')
-rwxr-xr-x | modules/planet/templates/backup_planet-files.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/planet/templates/backup_planet-files.sh b/modules/planet/templates/backup_planet-files.sh index 45b15596..1b019afd 100755 --- a/modules/planet/templates/backup_planet-files.sh +++ b/modules/planet/templates/backup_planet-files.sh @@ -11,7 +11,7 @@ do then /bin/mkdir $PATH_TO_FILE/$locale fi - rsync -aHP --delete /var/www/html/planet.<%= domain %>/$locale $PATH_TO_FILE/$locale/$locale-$COUNT + rsync -aHP --delete <%= planet_location %>/$locale $PATH_TO_FILE/$locale/$locale-$COUNT done # Check count file to have a week of backup in the directory if [ $COUNT -ne 6 ] |