dev/modules/sysconfig/manifests/virtualenv.pp
changeset 129 3a7a8607d395
equal deleted inserted replaced
128:7b1c3253250c 129:3a7a8607d395
       
     1 class sysconfig::virtualenv (
       
     2     $path_to_virtualenv = hiera('sysconfig::params::path_to_virtualenv', $sysconfig::params::path_to_virtualenv )
       
     3 ) inherits sysconfig::params {
       
     4 
       
     5     exec {
       
     6             'create_python_env_script':
       
     7             command     => '/usr/bin/python /srv/spel/virtualenv/web/create_python_env.py',
       
     8             timeout     => 2400,
       
     9             returns     => [ 0, 100 ],
       
    10             provider => 'shell';
       
    11             'project_boot_script':
       
    12             command     => "python /srv/spel/virtualenv/web/project-boot.py ${path_to_virtualenv}",
       
    13             timeout     => 2400,
       
    14             returns     => [ 0, 100 ],
       
    15             provider => 'shell',
       
    16             require     => Exec['create_python_env_script']
       
    17             }
       
    18     
       
    19 }