Closed jtreminio closed 10 years ago
The code in pip.pp
:
exec { 'install_setuptools':
command => "curl ${supervisord::setuptools_url} | python",
cwd => '/tmp',
unless => 'which easy_install',
before => Exec['install_pip']
}
Still seems to trigger the error:
Error: Could not find command 'easy_install'
Error: /Stage[main]/Supervisord::Pip/Exec[install_pip]/returns: change from notrun to 0 failed: Could not find command 'easy_install'
If I use CentOS' package manager to install python's setuptools this code works great, though.
v0.4.1 released with this fix
supervisord
andsupervisorctl
are on different paths in RHEL and Debian systems.The previous setting for path was not working:
Was getting this:
Setting the exec path to contain
/usr/local/bin
fixes issue.I also separated the paths into array format to make it easier to see easier path.
Related to https://github.com/puphpet/puphpet/issues/816