aboutsummaryrefslogtreecommitdiffstats
path: root/modules/planet
diff options
context:
space:
mode:
authorDan Fandrich <danf@mageia.org>2024-01-25 12:17:54 -0800
committerDan Fandrich <danf@mageia.org>2024-01-25 13:28:58 -0800
commit94369d4f02caeb3fbf6d0f184ebc7b83e446e3b0 (patch)
tree61a58199404c402d799e1f3bbbf969d482e5ef6c /modules/planet
parent5f6f124d960df9a808f43aa6a6b637b9d26f802e (diff)
downloadpuppet-94369d4f02caeb3fbf6d0f184ebc7b83e446e3b0.tar
puppet-94369d4f02caeb3fbf6d0f184ebc7b83e446e3b0.tar.gz
puppet-94369d4f02caeb3fbf6d0f184ebc7b83e446e3b0.tar.bz2
puppet-94369d4f02caeb3fbf6d0f184ebc7b83e446e3b0.tar.xz
puppet-94369d4f02caeb3fbf6d0f184ebc7b83e446e3b0.zip
Switch links to https: where possible
All these point to valid https: resources, but there is a small chance that some unusual interaction will cause it not to work. Some of these changes also won't take effect until the server is restarted, so we'll need to keep this in mind if failures occur long from now.
Diffstat (limited to 'modules/planet')
-rwxr-xr-xmodules/planet/templates/deploy_new-planet.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/planet/templates/deploy_new-planet.sh b/modules/planet/templates/deploy_new-planet.sh
index 605fa273..b3889d31 100755
--- a/modules/planet/templates/deploy_new-planet.sh
+++ b/modules/planet/templates/deploy_new-planet.sh
@@ -22,7 +22,8 @@ then
# Deploy new planet with locale given
/bin/mkdir $FILE
/bin/chown planet:apache $FILE
- /usr/bin/wget -O $PATH_TO_FILE"/moonmoon.tar.gz" http://damsweb.net/files/moonmoon_mageia.tar.gz
+ # TODO: this URL returns 403 (2024-01)
+ /usr/bin/wget -O $PATH_TO_FILE"/moonmoon.tar.gz" https://damsweb.net/files/moonmoon_mageia.tar.gz
if [ $? -ne 0 ]
then
echo "Aborted, can't download GZIP file"
@@ -32,7 +33,7 @@ then
/bin/mkdir $FILE"cache"
/bin/chown -R planet:apache $FILE
/bin/chmod g+w $FILE"custom" $FILE"custom/people.opml" $FILE"admin/inc/pwd.inc.php" $FILE"cache"
- echo -e "Info: a new Planet had been deployed.\nThe locale is: \"$locale\" - http://planet.<%= domain %>/$locale \n-- \nMail sent by the script '$0' on `hostname`" | /bin/mail -s "New planet Mageia deployed" mageia-webteam@<%= domain %> mageia-marketing@<%= domain %>
+ echo -e "Info: a new Planet had been deployed.\nThe locale is: \"$locale\" - https://planet.<%= domain %>/$locale \n-- \nMail sent by the script '$0' on `hostname`" | /bin/mail -s "New planet Mageia deployed" mageia-webteam@<%= domain %> mageia-marketing@<%= domain %>
fi
else
echo "Aborted, please try again."