dev/modules/sysconfig/manifests/virtualenv.pp
changeset 129 3a7a8607d395
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/dev/modules/sysconfig/manifests/virtualenv.pp	Wed Sep 10 16:14:03 2014 +0200
@@ -0,0 +1,19 @@
+class sysconfig::virtualenv (
+    $path_to_virtualenv = hiera('sysconfig::params::path_to_virtualenv', $sysconfig::params::path_to_virtualenv )
+) inherits sysconfig::params {
+
+    exec {
+            'create_python_env_script':
+            command     => '/usr/bin/python /srv/spel/virtualenv/web/create_python_env.py',
+            timeout     => 2400,
+            returns     => [ 0, 100 ],
+            provider => 'shell';
+            'project_boot_script':
+            command     => "python /srv/spel/virtualenv/web/project-boot.py ${path_to_virtualenv}",
+            timeout     => 2400,
+            returns     => [ 0, 100 ],
+            provider => 'shell',
+            require     => Exec['create_python_env_script']
+            }
+    
+}
\ No newline at end of file