~daker/loco-team-portal/fix.team-page

« back to all changes in this revision

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

  • Committer: Adnane Belmadiaf
  • Date: 2012-09-09 22:24:30 UTC
  • Revision ID: daker@ubuntu.com-20120909222430-nn3kbluiwel457oc
* Added a param to rety when the command fails

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 
19
19
    exec { "pip-install-requirements":
20
20
        command => "sudo /usr/bin/pip install -r $PROJ_DIR/requirements.txt > $PROJ_DIR/log.txt ",
 
21
        tries => 2,
21
22
        timeout => 600, # Too long, but this can take awhile
22
23
        require => Package['python-pip', 'python-dev'],
23
24
        logoutput => true