https://bugzilla.wikimedia.org/show_bug.cgi?id=44443

--- Comment #6 from Antoine "hashar" Musso <has...@free.fr> ---
Alternatively we could run tox commands on labs. Puppet knows how to fetch from
pip and the following would work (tested on integration-pbuilder.pmtpa.wmflabs
):

$ cat pip.pp 
package { 'python-pip':
  ensure => present,
}

package { 'tox':
  ensure   => present,
  provider => 'pip',
  require  => Package['python-pip'],
}
$

# puppet apply pip.pp 
notice: /Stage[main]//Package[python-pip]/ensure: ensure changed 'purged' to
'present'
notice: /Stage[main]//Package[tox]/ensure: created
notice: Finished catalog run in 11.53 seconds
# 

$ which pip && pip --version
/usr/bin/pip
pip 1.0 from /usr/lib/python2.7/dist-packages (python 2.7)

$ which tox && tox --version
/usr/local/bin/tox
1.7.0 imported from /usr/local/lib/python2.7/dist-packages/tox/__init__.pyc
$

$ which virtualenv
/usr/local/bin/virtualenv
$ virtualenv --version
1.11.2
$


\O/

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to