diff options
author | Michael Scherer <misc@mageia.org> | 2011-07-04 22:20:25 +0000 |
---|---|---|
committer | Michael Scherer <misc@mageia.org> | 2011-07-04 22:20:25 +0000 |
commit | 74e54fcc0d2e9d9ef70c084e00df6f5f9b39fbfd (patch) | |
tree | 0681d412043af35877bc421bc9b8634ef9dac6f6 /deployment | |
parent | 58ab6a69c300c3d87ea212bd33a72460e4689462 (diff) | |
download | puppet-74e54fcc0d2e9d9ef70c084e00df6f5f9b39fbfd.tar puppet-74e54fcc0d2e9d9ef70c084e00df6f5f9b39fbfd.tar.gz puppet-74e54fcc0d2e9d9ef70c084e00df6f5f9b39fbfd.tar.bz2 puppet-74e54fcc0d2e9d9ef70c084e00df6f5f9b39fbfd.tar.xz puppet-74e54fcc0d2e9d9ef70c084e00df6f5f9b39fbfd.zip |
add a module for tld redirection ( see https://bugs.mageia.org/show_bug.cgi?id=1964 )
Diffstat (limited to 'deployment')
-rw-r--r-- | deployment/tld_redirections/manifests/init.pp | 10 |
1 files changed, 10 insertions, 0 deletions
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" + } + } +} |