diff --git a/manifests/install.pp b/manifests/install.pp index 1740050..d77b817 100644 --- a/manifests/install.pp +++ b/manifests/install.pp @@ -19,10 +19,10 @@ class askbot::install ( ensure => present, } - if !defined(Package['virtualenv']) { - package { 'virtualenv': - ensure => present, - } + class { '::python': + pip => true, + dev => true, + virtualenv => true, } python::virtualenv { '/usr/askbot-env': @@ -30,7 +30,6 @@ class askbot::install ( owner => 'root', group => 'root', timeout => 0, - require => Package['virtualenv'], } case $db_provider {