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

Install the letsencrypt package when available #10

Open
thefinn93 opened this issue Jan 20, 2016 · 11 comments
Open

Install the letsencrypt package when available #10

thefinn93 opened this issue Jan 20, 2016 · 11 comments

Comments

@thefinn93
Copy link
Owner

Installing the package is far less janky than compiling from source every time. Looks like this is available in Ubuntu Xenial and Debian Stretch

@jaywink
Copy link

jaywink commented Jan 20, 2016

Thanks for this! Tried and works at least on 15.10 (wily) too, by downloading letsencrypt, python-letsencrypt and python-acme debs - the rest of the deps are found.

@thefinn93
Copy link
Owner Author

I'd rather not download .debs targeted at other versions. If it's not in the repos, we should probably just build it as we do now.

@pmackay
Copy link
Contributor

pmackay commented May 30, 2016

@thefinn93 what about installing the packages on those distros that have them?

@thefinn93
Copy link
Owner Author

@pmackay yeah, that's what the point of this issue is. "When available" i guess was my way of saying that. When it's in the package manager.

@dothebart
Copy link


- name: add hub-binary for github remoting
  apt_repository: repo='ppa:certbot/certbot'

- name: update apt cache
  apt: update_cache=yes cache_valid_time=3600

- name: install certbot
  apt: name=certbot

should work recently as seen on certbot/certbot#1706

@thefinn93
Copy link
Owner Author

@dothebart does that work on Debian? I was under the impression that PPA's were sort of an Ubuntu thing.

@thefinn93
Copy link
Owner Author

also, looks like it doesn't detect the availability of the package so much as add a repo and hope it works

@rfleschenberg
Copy link
Contributor

Installing with pip is not supported by certbot. The current PyPI package is broken. The certbot developers recommend to install from backports on Debian Jessie: certbot/certbot#5015

So, it seems that installing from distribution packages whenever possible is indeed the way to go.

@rfleschenberg
Copy link
Contributor

I don't want to promise anything, but I will try to find the time to start a PR this weekend.

@ArcolaJasper
Copy link
Contributor

I need this for work now, so I'm working on it. will be Debian only unfortunatly 😿

@ArcolaJasper
Copy link
Contributor

PR, needs testing on non-Debian hosts: #59

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants