From 7728f62f235c2637397d323d8f906878841a8d75 Mon Sep 17 00:00:00 2001 From: Olivier Thauvin Date: Thu, 4 Nov 2010 18:25:08 +0000 Subject: - add config for mga-mirrors --- modules/mga-mirrors/manifests/init.pp | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 modules/mga-mirrors/manifests/init.pp (limited to 'modules/mga-mirrors') 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") + } +} -- cgit v1.2.1