summaryrefslogtreecommitdiffstats
path: root/manifests/init.pp
diff options
context:
space:
mode:
authorJordan OMara <jomara@redhat.com>2008-06-27 12:55:28 -0400
committerJordan OMara <jomara@redhat.com>2008-06-27 12:55:28 -0400
commitf4b39bad7a8dd351a79628238313bea33d54b96e (patch)
tree6cce3cbe14176b28895631583b52b83d7ac6b99c /manifests/init.pp
parent306568a40f5314f349105f16da32dcb18df0d542 (diff)
downloadpuppet-django-f4b39bad7a8dd351a79628238313bea33d54b96e.tar.gz
puppet-django-f4b39bad7a8dd351a79628238313bea33d54b96e.tar.xz
puppet-django-f4b39bad7a8dd351a79628238313bea33d54b96e.zip
Adding lay down of conf file for httpd
Diffstat (limited to 'manifests/init.pp')
-rw-r--r--manifests/init.pp12
1 files changed, 12 insertions, 0 deletions
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"],
+ }
+
+
}