diff options
-rw-r--r-- | modules/bind/templates/zones/mageia.org.zone | 3 | ||||
-rw-r--r-- | modules/mga-mirrors/manifests/init.pp | 19 |
2 files changed, 21 insertions, 1 deletions
diff --git a/modules/bind/templates/zones/mageia.org.zone b/modules/bind/templates/zones/mageia.org.zone index 6a538b75..eb47597a 100644 --- a/modules/bind/templates/zones/mageia.org.zone +++ b/modules/bind/templates/zones/mageia.org.zone @@ -3,7 +3,7 @@ ; $Id$ $TTL 3D @ IN SOA ns0.zarb.org. mageia.org. ( - 2010110204 ; Serial + 2010110401 ; Serial 21600 ; Refresh 3600 ; Retry 2419200 ; Expire @@ -67,6 +67,7 @@ pkgsubmit IN CNAME valstar ldap IN CNAME valstar identity IN CNAME alamut +mirrors IN CNAME alamut ; temporary ;forum IN A 140.211.167.148 diff --git a/modules/mga-mirrors/manifests/init.pp b/modules/mga-mirrors/manifests/init.pp new file mode 100644 index 00000000..9aa0ed58 --- /dev/null +++ b/modules/mga-mirrors/manifests/init.pp @@ -0,0 +1,19 @@ +class mga-mirrors { + + include apache::mod_fcgid + + package { 'mga-mirrors': + ensure => installed + } + + # add a apache vhost + file { "mirrors.$domain.conf": + path => "/etc/httpd/conf/vhosts.d/$name", + ensure => "present", + owner => root, + group => root, + mode => 644, + notify => Service['apache'], + content => template("mga-mirrors/mirrors_vhost.conf") + } +} |