Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle case when virtualenv_version fact is not available. #95

Merged

Conversation

riton
Copy link
Contributor

@riton riton commented Jul 23, 2014

As specified in #94, when their is no way to find virtualenv version,
fall back to user request.

When fact virtualenv_version is not yet available, stupidly trust user
input and force systempkgs option without taking care of virtualenv
version.

  1. If the option --no-site-packages or --system-site-packages is not recognized by the installed version of
    virtualenv, Exec will fail and dependencies will not be processed (this will avoid some services to actually seem to work and some times later fail because of the lack of system site packages).
  2. On the next puppet execution, fact virtualenv_version will be available and process should work as
    expected.

As specified in voxpupuli#94, when their is no way to find virtualenv version,
fall back to user request.

When fact virtualenv_version is not yet available, stupidly trust user
input and force systempkgs options without taking care of virtualenv
veresion.

1. If the option choosen is not recognized by the installed version of
virtualenv, further Exec will fail and dependencies will not be processed.
2. On the next puppet execution, fact _virtualenv_version_ will be available and process should work as
expected.
stankevich added a commit that referenced this pull request Jul 24, 2014
Handle case when virtualenv_version fact is not available.
@stankevich stankevich merged commit 80b2337 into voxpupuli:master Jul 24, 2014
stankevich added a commit that referenced this pull request Sep 1, 2015
Handle case when virtualenv_version fact is not available.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants