[Lsb-messages] /var/www/bzr/lsb/devel/puppet-lsb r49: Re-enable virtualenv on lsb1; add proper before setup.

Jeff Licquia licquia at linuxfoundation.org
Wed Jan 25 19:52:50 UTC 2012


------------------------------------------------------------
revno: 49
committer: Jeff Licquia <licquia at linuxfoundation.org>
branch nick: puppet-lsb
timestamp: Wed 2012-01-25 14:52:50 -0500
message:
  Re-enable virtualenv on lsb1; add proper before setup.
modified:
  manifests/nodes/lsb1.pp
  modules/python/manifests/virtualenv.pp
-------------- next part --------------
=== modified file 'manifests/nodes/lsb1.pp'
--- a/manifests/nodes/lsb1.pp	2012-01-24 22:12:28 +0000
+++ b/manifests/nodes/lsb1.pp	2012-01-25 19:52:50 +0000
@@ -10,4 +10,5 @@
 
     include mail::postfix
 
+    include python::virtualenv
 }

=== modified file 'modules/python/manifests/virtualenv.pp'
--- a/modules/python/manifests/virtualenv.pp	2012-01-24 18:54:00 +0000
+++ b/modules/python/manifests/virtualenv.pp	2012-01-25 19:52:50 +0000
@@ -2,10 +2,12 @@
 
     package { 'python-virtualenv': 
         ensure => present,
+        before => Exec['add-python-zypper-repo'],
     }
 
     package { 'python-pip':
         ensure => present,
+        before => Exec['add-python-zypper-repo'],
     }
 
     # These packages aren't available in SLES 11, so we'll need
@@ -21,7 +23,6 @@
         path        => [ '/bin', '/sbin', '/usr/bin', '/usr/sbin' ],
         refreshonly => true,
         logoutput   => true,
-        before      => Package[ 'python-virtualenv', 'python-pip' ],
         noop        => $skipsles11obs,
     }
 



More information about the lsb-messages mailing list