view modules/python/examples/virtualenv.pp @ 312:490d7ec20172

Make firewall rule numbering consistent for Dovecot
author IBBoard <dev@ibboard.co.uk>
date Sun, 23 Feb 2020 20:29:42 +0000
parents c42fb28cff86
children
line wrap: on
line source

class { 'python':
  version    => 'system',
  dev        => true,
  virtualenv => true,
}

python::virtualenv { '/var/www/project1':
  ensure       => present,
  version      => 'system',
  requirements => '/var/www/project1/requirements.txt',
  proxy        => 'http://proxy.domain.com:3128',
  systempkgs   => true,
}