From f4b39bad7a8dd351a79628238313bea33d54b96e Mon Sep 17 00:00:00 2001 From: Jordan OMara Date: Fri, 27 Jun 2008 12:55:28 -0400 Subject: Adding lay down of conf file for httpd --- manifests/init.pp | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'manifests') diff --git a/manifests/init.pp b/manifests/init.pp index e1c28d0..2d189de 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -7,4 +7,16 @@ class django::server { ensure => running, require => Package["httpd"], } + + file { "/etc/httpd/conf.d/django.conf": + ensure => present, + owner => "root", + group => "root", + mode => 0644, + source => "puppet:///django/django.conf" + require => Package["httpd","mod_python"], + notify => Service["httpd"], + } + + } -- cgit