~daker/loco-team-portal/pep8-fixes

« back to all changes in this revision

Viewing changes to puppet/manifests/classes/ltp.pp

  • Committer: Adnane Belmadiaf
  • Date: 2012-12-24 21:17:36 UTC
  • Revision ID: daker@ubuntu.com-20121224211736-0fgfxor00kxjoxj4
Fix migrate command for vagrant

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
        replace => false;
9
9
    }
10
10
 
11
 
    exec { 
 
11
    exec {
12
12
        "db_download":
13
 
            cwd => "$PROJ_DIR/loco_directory", 
 
13
            cwd => "$PROJ_DIR/loco_directory",
14
14
            command => "/usr/bin/wget http://people.ubuntu.com/~daker/ltp/loco_directory.db",
15
15
            creates => "$PROJ_DIR/loco_directory/loco_directory.db";
16
16
    }
17
17
 
18
 
    exec { 
 
18
    exec {
19
19
        "managepy_syncdb":
20
 
            cwd => "$PROJ_DIR/loco_directory", 
 
20
            cwd => "$PROJ_DIR/loco_directory",
21
21
            command => "/usr/bin/python manage.py syncdb --noinput",
22
22
    }
23
23
 
24
 
    exec { 
 
24
    exec {
25
25
        "managepy_migratedb":
26
 
            cwd => "$PROJ_DIR/loco_directory", 
27
 
            command => "/usr/bin/python manage.py syncdb --noinput",
 
26
            cwd => "$PROJ_DIR/loco_directory",
 
27
            command => "/usr/bin/python manage.py migrate",
28
28
    }
29
29
}
 
 
b'\\ No newline at end of file'