dev/modules/sysconfig/manifests/buildout.pp
changeset 587 a1aa29e7809f
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/dev/modules/sysconfig/manifests/buildout.pp	Thu Feb 27 23:19:13 2014 +0100
@@ -0,0 +1,18 @@
+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']
+
+}