annotate modules/python/examples/virtualenv.pp @ 358:6c29af16b177
Fix PHP-as-html file serving
author |
IBBoard <dev@ibboard.co.uk> |
date |
Sat, 03 Oct 2020 19:41:25 +0100 |
parents |
c42fb28cff86 |
children |
|
rev |
line source |
272
|
1 class { 'python':
|
|
2 version => 'system',
|
|
3 dev => true,
|
|
4 virtualenv => true,
|
|
5 }
|
|
6
|
|
7 python::virtualenv { '/var/www/project1':
|
|
8 ensure => present,
|
|
9 version => 'system',
|
|
10 requirements => '/var/www/project1/requirements.txt',
|
|
11 proxy => 'http://proxy.domain.com:3128',
|
|
12 systempkgs => true,
|
|
13 }
|