Parent Directory | Revision Log
- add a class for django application ( to avoid duplication with potential futur django application )
1 | class django_application { |
2 | package { ['python-django','python-psycopg2','python-django-auth-ldap']: |
3 | ensure => installed |
4 | } |
5 | |
6 | file { "custom_backend.py": |
7 | path => "/usr/local/lib/custom_backend.py", |
8 | ensure => present, |
9 | owner => root, |
10 | group => root, |
11 | mode => 644, |
12 | source => "puppet:///modules/django_application/custom_backend.py", |
13 | notify => Service['apache'] |
14 | } |
15 | } |
ViewVC Help | |
Powered by ViewVC 1.1.30 |