You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using puppet-python 1.8.2 to create a virtual environment as part of the provisioning process of an ubuntu/trusty64 virtual machine created with Vagrant and VirtualBox and running Puppet 3.4.3:
When Puppet is invoked, I'm getting the following error:
Error: Parameter cwd failed on Exec[pip_install_rpyc]: cwd must be a fully qualified path at /etc/puppet/modules/python/manifests/pip.pp:195
Researching a bit, I found that pull request #8 solves a similar issue in the implementation of python::requirements, but the problem I'm having is with python::virtualenv, which is apparently still unsolved.
To reproduce this issue:
Create a new Vagrantfile with the following contents:
# -*- mode: ruby -*-# vi: set ft=ruby :# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!VAGRANTFILE_API_VERSION="2"Vagrant.configure(VAGRANTFILE_API_VERSION)do |config|
config.vm.box="ubuntu/trusty64"config.vm.provision:shell,inline: "puppet module install --force stankevich-python"config.vm.provision"puppet"do |puppet|
puppet.manifests_path="manifests"puppet.manifest_file="site.pp"endend
Create the manifests directory:
$ mkdir manifests
Create the Puppet manifest at manifests/site.pp with the following contents:
The issue was from voxpupuli#165, the virtualenv given didn't give the full path, we now fail early to catch this.
Also adds an rspec to catch this, and a beaker test based on the scenario given in voxpupuli#165
The issue was from #165, the virtualenv given didn't give the full path, we now fail early to catch this.
Also adds an rspec to catch this, and a beaker test based on the scenario given in #165
I'm using puppet-python 1.8.2 to create a virtual environment as part of the provisioning process of an ubuntu/trusty64 virtual machine created with Vagrant and VirtualBox and running Puppet 3.4.3:
Then I install software using
python::pip
like this:When Puppet is invoked, I'm getting the following error:
Researching a bit, I found that pull request #8 solves a similar issue in the implementation of
python::requirements
, but the problem I'm having is withpython::virtualenv
, which is apparently still unsolved.To reproduce this issue:
Create a new
Vagrantfile
with the following contents:Create the manifests directory:
$ mkdir manifests
Create the Puppet manifest at
manifests/site.pp
with the following contents:Start the VM:
$ vagrant up
or provision the VM if it's already running:
$ vagrant provision
The text was updated successfully, but these errors were encountered: