aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--modules/django_application/manifests/init.pp15
1 files changed, 15 insertions, 0 deletions
diff --git a/modules/django_application/manifests/init.pp b/modules/django_application/manifests/init.pp
new file mode 100644
index 00000000..8f04c5a8
--- /dev/null
+++ b/modules/django_application/manifests/init.pp
@@ -0,0 +1,15 @@
+class django_application {
+ package { ['python-django','python-psycopg2','python-django-auth-ldap']:
+ ensure => installed
+ }
+
+ file { "custom_backend.py":
+ path => "/usr/local/lib/custom_backend.py",
+ ensure => present,
+ owner => root,
+ group => root,
+ mode => 644,
+ source => "puppet:///modules/django_application/custom_backend.py",
+ notify => Service['apache']
+ }
+}