equal
deleted
inserted
replaced
|
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 } |