From 493adb6e32fc1196301247b937a07c95897859ed Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Sun, 20 Feb 2011 12:11:35 +0000 Subject: - add a class for django application ( to avoid duplication with potential futur django application ) --- modules/django_application/manifests/init.pp | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 modules/django_application/manifests/init.pp (limited to 'modules/django_application/manifests/init.pp') 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'] + } +} -- cgit v1.2.1