summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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"],
+ }
+
+
}