aboutsummaryrefslogtreecommitdiffstats
path: root/modules/planet/templates
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2012-01-08 18:09:18 +0000
committerMichael Scherer <misc@mageia.org>2012-01-08 18:09:18 +0000
commitd5bff2ba89ed464d5a05f8af09677474db61aca6 (patch)
tree4b0c4aac9e9e05e8110f041fa01addae2c577553 /modules/planet/templates
parent1403da52f0620a1267d867273adcb8f36d6547e9 (diff)
downloadpuppet-d5bff2ba89ed464d5a05f8af09677474db61aca6.tar
puppet-d5bff2ba89ed464d5a05f8af09677474db61aca6.tar.gz
puppet-d5bff2ba89ed464d5a05f8af09677474db61aca6.tar.bz2
puppet-d5bff2ba89ed464d5a05f8af09677474db61aca6.tar.xz
puppet-d5bff2ba89ed464d5a05f8af09677474db61aca6.zip
cleaning, refactoring and removal of default already set elsewhere
Diffstat (limited to 'modules/planet/templates')
-rwxr-xr-xmodules/planet/templates/backup_planet-files.sh2
-rwxr-xr-xmodules/planet/templates/deploy_new-planet.sh2
-rw-r--r--modules/planet/templates/planet_vhosts.conf2
3 files changed, 3 insertions, 3 deletions
diff --git a/modules/planet/templates/backup_planet-files.sh b/modules/planet/templates/backup_planet-files.sh
index 1b019afd..8cab8d1e 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 <%= planet_location %>/$locale $PATH_TO_FILE/$locale/$locale-$COUNT
+ rsync -aHP --delete <%= 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 ]
diff --git a/modules/planet/templates/deploy_new-planet.sh b/modules/planet/templates/deploy_new-planet.sh
index eb69f9af..605fa273 100755
--- a/modules/planet/templates/deploy_new-planet.sh
+++ b/modules/planet/templates/deploy_new-planet.sh
@@ -2,7 +2,7 @@
# Initialization
PATH_TO_FILE=${PATH_TO_FILE:-/var/lib/planet}
-PATH_TO_PLANET=${PATH_TO_PLANET:-<%= planet_location %>}
+PATH_TO_PLANET=${PATH_TO_PLANET:-<%= location %>}
#Ask for new locale name
echo -n "Locale name: "
diff --git a/modules/planet/templates/planet_vhosts.conf b/modules/planet/templates/planet_vhosts.conf
index 5a59e1ed..841e33cb 100644
--- a/modules/planet/templates/planet_vhosts.conf
+++ b/modules/planet/templates/planet_vhosts.conf
@@ -1,4 +1,4 @@
-<Directory <%= planet_location %> >
+<Directory <%= location %> >
Order deny,allow
Allow from All
AllowOverride All