dev/modules/sysconfig/manifests/buildout.pp
changeset 587 a1aa29e7809f
equal deleted inserted replaced
586:59cddf254ebd 587:a1aa29e7809f
       
     1 class sysconfig::buildout {
       
     2 
       
     3   exec {
       
     4     'bootstrap':
       
     5       command => '/usr/bin/python bootstrap.py',
       
     6       cwd     => '/srv/comt',
       
     7       creates => '/srv/comt/bin',
       
     8       user    => 'vagrant';
       
     9     'buildout':
       
    10       command => '/srv/comt/bin/buildout -c /srv/comt/buildout-prod.cfg',
       
    11       cwd     => '/srv/comt',
       
    12       timeout => 0,
       
    13       creates => '/srv/comt/bin/gunicorn';
       
    14   }
       
    15 
       
    16   Exec['bootstrap'] -> Exec['buildout']
       
    17 
       
    18 }