dev/modules/sysconfig/manifests/buildout.pp
author ymh <ymh.work@gmail.com>
Fri, 28 Feb 2014 09:55:12 +0100
changeset 588 8e9ea314e06e
parent 587 a1aa29e7809f
permissions -rw-r--r--
dev box bug correction + minimal doc in README.txt

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']

}