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

package_ensure_apt not idempotent #73

Open
teeler opened this issue May 2, 2012 · 2 comments
Open

package_ensure_apt not idempotent #73

teeler opened this issue May 2, 2012 · 2 comments

Comments

@teeler
Copy link

teeler commented May 2, 2012

The underlying program being executed, add-apt-repository is not idempotent and also, is not available by default, so it should be checked for as well before being executed.

@Lendar
Copy link

Lendar commented May 25, 2012

I think, this is issue is related to repository_ensure_apt, not package_ensure_apt. See:

def repository_ensure_apt(repository):
    sudo("add-apt-repository " + repository)

@teeler
Copy link
Author

teeler commented May 25, 2012

@Lendar That was in my original comment, the underlying binary add-apt-repository is not idempotent, so calling it directly is not sufficient.

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

No branches or pull requests

2 participants