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

Installing from git repo runs install on every Puppet run #193

Closed
jskarpe opened this issue May 8, 2015 · 2 comments · Fixed by #491
Closed

Installing from git repo runs install on every Puppet run #193

jskarpe opened this issue May 8, 2015 · 2 comments · Fixed by #491
Assignees
Labels
bug Something isn't working

Comments

@jskarpe
Copy link

jskarpe commented May 8, 2015

$ pip install -e git+https://github.com/dcramer/piplint.git#egg=piplint-dev
$ pip freeze | grep piplint
-e git://github.com/dcramer/piplint.git@c1c7921784d0315b659e0b53a2752ee5f0d202fe#egg=piplint-dev

The current check use regex: ^piplint==, which correlates to:
piplint==0.1.1

And as such, the module determines that piplint isn't installed, and starts install again

@jskarpe
Copy link
Author

jskarpe commented May 8, 2015

Same issue as with the pip provider:

https://tickets.puppetlabs.com/browse/PUP-2905

@claytono
Copy link

Having the same problem, and it's causing services to restart every time puppet runs.

@shivapoudel shivapoudel added the bug Something isn't working label Jul 21, 2015
mlow added a commit to mlow/puppet-python that referenced this issue Jun 9, 2019
This is due to VCS packages appearing in `pip freeze -all` as:
-e git://example.com/package.git@<ref>#egg=<egg>

Updates $grep_regex, which checks whether a given version is installed, to
match against the two different output formats of `pip list`. No longer
relies on pip freeze.

Additionally, this commit:

Removes the multiple exec resources which were mostly the same with
variables $pip_exec_name, $command, and $unless_command, which get used in
a single exec resource at the end of the manifest.

Checks if $pkgname contains ==, and if so splits based on == and sets
$real_pkgname to the first part, and $ensure variable to the second part.
Uses of $pkgname have been replaced with $real_pkgname.

Fixes voxpupuli#193
mlow added a commit to mlow/puppet-python that referenced this issue Jun 9, 2019
This is due to VCS packages appearing in `pip freeze -all` as:
-e git://example.com/package.git@<ref>#egg=<egg>

Updates $grep_regex, which checks whether a given version is installed, to
match against the two different output formats of `pip list`. No longer
relies on pip freeze.

Additionally, this commit:

Removes the multiple exec resources which were mostly the same with
variables $pip_exec_name, $command, and $unless_command, which get used in
a single exec resource at the end of the manifest.

Checks if $pkgname contains ==, and if so splits based on == and sets
$real_pkgname to the first part, and $ensure variable to the second part.
Uses of $pkgname have been replaced with $real_pkgname.

Fixes voxpupuli#193
mlow added a commit to mlow/puppet-python that referenced this issue Jun 9, 2019
This is due to VCS packages appearing in `pip freeze -all` as:
-e git://example.com/package.git@<ref>#egg=<egg>

Updates $grep_regex, which checks whether a given version is installed, to
match against the two different output formats of `pip list`. No longer
relies on pip freeze.

Additionally, this commit:

Removes the multiple exec resources which were mostly the same and replaces
with variables $pip_exec_name, $command, and $unless_command, which get
used in a single exec resource at the end of the manifest.

Checks if $pkgname contains ==, and if so splits based on == and sets
$real_pkgname to the first part, and $ensure variable to the second part.
Uses of $pkgname have been replaced with $real_pkgname.

Fixes voxpupuli#193
mlow added a commit to mlow/puppet-python that referenced this issue Jun 9, 2019
This is due to VCS packages appearing in `pip freeze -all` as:
-e git://example.com/package.git@<ref>#egg=<egg>

Updates $grep_regex, which checks whether a given version is installed, to
match against the two different output formats of `pip list`. No longer
relies on pip freeze.

Additionally, this commit:

Removes the multiple exec resources which were mostly the same and replaces
with variables $pip_exec_name, $command, and $unless_command, which get
used in a single exec resource at the end of the manifest.

Checks if $pkgname contains ==, and if so splits based on == and sets
$real_pkgname to the first part, and $ensure variable to the second part.
Uses of $pkgname have been replaced with $real_pkgname.

Fixes voxpupuli#193
mlow added a commit to mlow/puppet-python that referenced this issue Jun 9, 2019
This is due to VCS packages appearing in `pip freeze --all` as:
-e git://example.com/package.git@<ref>#egg=<egg>

Updates $grep_regex, which checks whether a given version is installed, to
match against the two different output formats of `pip list`. No longer
relies on pip freeze.

Additionally, this commit:

- Removes the multiple exec resources which were mostly the same and replaces
with variables $pip_exec_name, $command, and $unless_command, which get
used in a single exec resource at the end of the manifest.

- Checks if $pkgname contains ==, and if so splits based on == and sets
$real_pkgname to the first part, and $ensure to the second part if $ensure
wasn't set to absent already. Uses of $pkgname have been replaced with
$real_pkgname.

Fixes voxpupuli#193
mlow added a commit to mlow/puppet-python that referenced this issue Jun 9, 2019
This is due to VCS packages appearing in `pip freeze --all` as:
-e git://example.com/package.git@<ref>#egg=<egg>

Updates $grep_regex, which checks whether a given version is installed, to
match against the two different output formats of `pip list`. No longer
relies on pip freeze.

Additionally, this commit:

- Removes the multiple exec resources which were mostly the same and replaces
with variables $pip_exec_name, $command, and $unless_command, which get
used in a single exec resource at the end of the manifest.

- Checks if $pkgname contains ==, and if so splits based on == and sets
$real_pkgname to the first part, and $ensure to the second part if $ensure
wasn't set to absent already. Uses of $pkgname have been replaced with
$real_pkgname.

Fixes voxpupuli#193
mlow added a commit to mlow/puppet-python that referenced this issue Jun 9, 2019
This is due to VCS packages appearing in `pip freeze --all` as:
-e git://example.com/package.git@<ref>#egg=<egg>

Updates $grep_regex, which checks whether a given version is installed, to
match against the two different output formats of `pip list`. No longer
relies on pip freeze.

Additionally, this commit:

- Removes the multiple exec resources which were mostly the same and replaces
with variables $pip_exec_name, $command, and $unless_command, which get
used in a single exec resource at the end of the manifest.

- Checks if $pkgname contains ==, and if so splits based on == and sets
$real_pkgname to the first part, and $ensure to the second part if $ensure
wasn't set to absent already. Uses of $pkgname have been replaced with
$real_pkgname.

Fixes voxpupuli#193
mlow added a commit to mlow/puppet-python that referenced this issue Jun 9, 2019
This is due to VCS packages appearing in `pip freeze --all` as:
-e git://example.com/package.git@<ref>#egg=<egg>

Updates $grep_regex, which checks whether a given version is installed, to
match against the two different output formats of `pip list`. No longer
relies on pip freeze.

Additionally, this commit:

- Removes the multiple exec resources which were mostly the same and replaces
with variables $pip_exec_name, $command, and $unless_command, which get
used in a single exec resource at the end of the manifest.

- Checks if $pkgname contains ==, and if so splits based on == and sets
$real_pkgname to the first part, and $ensure to the second part if $ensure
wasn't set to absent already. Uses of $pkgname have been replaced with
$real_pkgname.

Fixes voxpupuli#193
mlow added a commit to mlow/puppet-python that referenced this issue Jun 10, 2019
This is due to VCS packages appearing in `pip freeze --all` as:
-e git://example.com/package.git@<ref>#egg=<egg>

Updates $grep_regex, which checks whether a given version is installed, to
match against the two different output formats of `pip list`. No longer
relies on pip freeze.

Additionally, this commit:

- Removes the multiple exec resources which were mostly the same and replaces
with variables $pip_exec_name, $command, and $unless_command, which get
used in a single exec resource at the end of the manifest.

- Checks if $pkgname contains ==, and if so splits based on == and sets
$real_pkgname to the first part, and $ensure to the second part if $ensure
wasn't set to absent already. Uses of $pkgname have been replaced with
$real_pkgname.

Fixes voxpupuli#193
mlow added a commit to mlow/puppet-python that referenced this issue Jun 10, 2019
This is due to VCS packages appearing in `pip freeze --all` as:
-e git://example.com/package.git@<ref>#egg=<egg>

Updates $grep_regex, which checks whether a given version is installed, to
match against the two different output formats of `pip list`. No longer
relies on pip freeze.

Additionally, this commit:

- Removes the multiple exec resources which were mostly the same and replaces
with variables $pip_exec_name, $command, and $unless_command, which get
used in a single exec resource at the end of the manifest.

- Checks if $pkgname contains ==, and if so splits based on == and sets
$real_pkgname to the first part, and $_ensure to the second part. Uses of
$pkgname have been replaced with $real_pkgname.

Fixes voxpupuli#193
mlow added a commit to mlow/puppet-python that referenced this issue Jun 10, 2019
This is due to VCS packages appearing in `pip freeze --all` as:
-e git://example.com/package.git@<ref>#egg=<egg>

Updates $grep_regex, which checks whether a given version is installed, to
match against the two different output formats of `pip list`. No longer
relies on pip freeze.

Additionally, this commit:

- Removes the multiple exec resources which were mostly the same and replaces
with variables $pip_exec_name, $command, and $unless_command, which get
used in a single exec resource at the end of the manifest.

- Checks if $pkgname contains ==, and if so splits based on == and sets
$real_pkgname to the first part, and $_ensure to the second part. Uses of
$pkgname have been replaced with $real_pkgname.

Fixes voxpupuli#193
krissik pushed a commit to krissik/puppet-python that referenced this issue Jul 30, 2020
This is due to VCS packages appearing in `pip freeze --all` as:
-e git://example.com/package.git@<ref>#egg=<egg>

Updates $grep_regex, which checks whether a given version is installed, to
match against the two different output formats of `pip list`. No longer
relies on pip freeze.

Additionally, this commit:

- Removes the multiple exec resources which were mostly the same and replaces
with variables $pip_exec_name, $command, and $unless_command, which get
used in a single exec resource at the end of the manifest.

- Checks if $pkgname contains ==, and if so splits based on == and sets
$real_pkgname to the first part, and $_ensure to the second part. Uses of
$pkgname have been replaced with $real_pkgname.

Fixes voxpupuli#193
russellshackleford pushed a commit to russellshackleford/puppet-python that referenced this issue Sep 28, 2020
This is due to VCS packages appearing in `pip freeze --all` as:
-e git://example.com/package.git@<ref>#egg=<egg>

Updates $grep_regex, which checks whether a given version is installed, to
match against the two different output formats of `pip list`. No longer
relies on pip freeze.

Additionally, this commit:

- Removes the multiple exec resources which were mostly the same and replaces
with variables $pip_exec_name, $command, and $unless_command, which get
used in a single exec resource at the end of the manifest.

- Checks if $pkgname contains ==, and if so splits based on == and sets
$real_pkgname to the first part, and $_ensure to the second part. Uses of
$pkgname have been replaced with $real_pkgname.

Fixes voxpupuli#193
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants