aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/tld_redirections/manifests/init.pp
blob: b44e8bfd55590331526bd8b8e44c56b2bcda8356 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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"
        }
    }

    # domaine owned by Florin Catalin Russen
    redirection { "ro": }

    # domain owned by the association
    redirection { "fr": }
}