From 74e54fcc0d2e9d9ef70c084e00df6f5f9b39fbfd Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Mon, 4 Jul 2011 22:20:25 +0000 Subject: add a module for tld redirection ( see https://bugs.mageia.org/show_bug.cgi?id=1964 ) --- deployment/tld_redirections/manifests/init.pp | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 deployment/tld_redirections/manifests/init.pp (limited to 'deployment/tld_redirections') diff --git a/deployment/tld_redirections/manifests/init.pp b/deployment/tld_redirections/manifests/init.pp new file mode 100644 index 00000000..15020cf4 --- /dev/null +++ b/deployment/tld_redirections/manifests/init.pp @@ -0,0 +1,10 @@ +class tld_redirections { + define redirection { + apache::vhost_redirect { "mageia.$name": + url => "http://www.mageia.org/?fromtld=$name" + } + apache::vhost_redirect { "www.mageia.$name": + url => "http://www.mageia.org/?fromtld=$name" + } + } +} -- cgit v1.2.1