aboutsummaryrefslogtreecommitdiffstats
path: root/modules/planet/templates
diff options
context:
space:
mode:
authorDamien Lallement <dams@mageia.org>2011-02-17 16:41:28 +0000
committerDamien Lallement <dams@mageia.org>2011-02-17 16:41:28 +0000
commita51c0e2b3d3033076774b2e4ed8d8019c8341a71 (patch)
tree94afbece53a8a004cedb88cafbaf74791e48c849 /modules/planet/templates
parent8d800b759d89b8380198013aa1a00f4fbaca5444 (diff)
downloadpuppet-a51c0e2b3d3033076774b2e4ed8d8019c8341a71.tar
puppet-a51c0e2b3d3033076774b2e4ed8d8019c8341a71.tar.gz
puppet-a51c0e2b3d3033076774b2e4ed8d8019c8341a71.tar.bz2
puppet-a51c0e2b3d3033076774b2e4ed8d8019c8341a71.tar.xz
puppet-a51c0e2b3d3033076774b2e4ed8d8019c8341a71.zip
now send a mail when a new planet is deployed
Diffstat (limited to 'modules/planet/templates')
-rwxr-xr-xmodules/planet/templates/deploy_new-planet.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/planet/templates/deploy_new-planet.sh b/modules/planet/templates/deploy_new-planet.sh
index ef922554..c2f5885b 100755
--- a/modules/planet/templates/deploy_new-planet.sh
+++ b/modules/planet/templates/deploy_new-planet.sh
@@ -32,6 +32,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\"" | /bin/mail -s "New planet Mageia deployed" mageia-webteam@<%= domain %>,mageia-marcom@<%= domain %>
fi
else
echo "Aborted, please try again."