dev/modules/sysconfig/manifests/buildout.pp
author ymh <ymh.work@gmail.com>
Mon, 07 Apr 2014 17:41:35 +0200
changeset 626 7b983f1b7040
parent 587 a1aa29e7809f
permissions -rw-r--r--
merge eb52900a0bbf

class sysconfig::buildout {

  exec {
    'bootstrap':
      command => '/usr/bin/python bootstrap.py',
      cwd     => '/srv/comt',
      creates => '/srv/comt/bin',
      user    => 'vagrant';
    'buildout':
      command => '/srv/comt/bin/buildout -c /srv/comt/buildout-prod.cfg',
      cwd     => '/srv/comt',
      timeout => 0,
      creates => '/srv/comt/bin/gunicorn';
  }

  Exec['bootstrap'] -> Exec['buildout']

}