Comments (10)
You should probably use [manage_install](https://github.com/voxpupuli/puppet-letsencrypt/blob/master/REFERENCE.md#manage_install. install_method can also be used to install from VCS. It does pull in a virtualenv as well, but I think that might actually be a nice thing to isolate the system.
from puppet-letsencrypt.
Thank you for a quick response. Just so that I understand, install_method will install it's own virtual environment? Do I still need to install letsencrypt with pip or it'll take care of it?
Thank you!
from puppet-letsencrypt.
That should take care of it all.
from puppet-letsencrypt.
Thank you. Now It's looking for an epel module, even though I have specified not to.
class { 'letsencrypt':
config => {
configure_epel => false,
manage_install => false,
install_method => 'vcs',
server => 'https://acme-staging.api.letsencrypt.org/directory',
}
Does it need epel in order to install using vcs?
Again, thank you for helping me during a holiday week.
from puppet-letsencrypt.
Sorry, I forgot to include an error message. Thank you.
Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Function Call, Could not find class ::epel for (file: /etc/puppetlabs/code/environments/puppet6/modules/letsencrypt/manifests/install.pp, line: 45, column: 7)
from puppet-letsencrypt.
For testing purposes, I did add epel to Puppetfile and ran puppet --noop.
Notice: /Stage[main]/Letsencrypt::Install/Package[letsencrypt]/ensure: current_value 'purged', should be 'present' (noop)
Does it mean it will attempt to install letsencrypt as a package from epel?
Also, do I need to specify config_dir? With a virtual environment, I assume everything will be isolated to a specific directory (not /etc/letsencrypt).
class { 'letsencrypt::plugin::dns_rfc2136':
config_dir => '/etc/letsencrypt',
Without it, I was getting an error:
Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Unknown variable: 'letsencrypt::config_dir'.
I'm sorry for so many questions and thank you for your help.
from puppet-letsencrypt.
I personally don't use the VCS method so I can't really say. If you don't want to pull in EPEL, I'd prefer to still use packages. There's configure_epel
. This is also how Fedora is supported: the packages are just available.
from puppet-letsencrypt.
As I have mentioned, we have our own RedHat based OS, thus build our own packages. Building our own letsencrypt is a big project (has multiple requirements), so using letsencrypt python module sounds like a good alternative... Thank you.
from puppet-letsencrypt.
Hello. I was able to create a local letsencrypt package and changed the code to the following:
class { 'letsencrypt':
config => {
email => '[email protected],
configure_epel => false,
server => 'https://acme-staging.api.letsencrypt.org/directory',
}
}
Unfortunately, I am still getting an error message
Could not find class ::epel
I am wondering if I am missing something and would appreciate your advice. Thank you.
from puppet-letsencrypt.
I think it was my syntax mistake. I will close the ticket for now. I went back to vcs and was able to get it to work. I've also created my own letsencrypt package, but I think vcs will be a better solution in this case.
Thank you for all your help.
from puppet-letsencrypt.
Related Issues (20)
- certbot has a python problem on centos 7 HOT 8
- Cut new version with puppet-epel dependency? HOT 1
- RHEL8 support for dns-rfc2136
- Logrotate for the letsencrypt logs HOT 1
- certbot-auto no longer works on any OS HOT 2
- Adding domains to existing certificate leads to duplicate certs/renewal configs with pattern <cert>-0001,2 etc HOT 3
- Raise compatible puppet version from <7.0 to <8.0 HOT 2
- Drop VCS install method support
- Recent update causes problems with the nginx plugin HOT 1
- CONFIGDIR/renwal/domain.conf not updated HOT 2
- Manage Cron parameter on letsencrypt::certonly will not cleanup resources. HOT 2
- feature request: cron_after_command
- `register-unsafely-without-email` config key is kept when turning `unsafe_registration` back to `false`
- Could not find class ::epel when declaring Letsencrypt class HOT 1
- New release please? HOT 3
- letsencrypt-domain-validation case sensitivity
- Documentation/examples for certonly `suppress_cron_output` not updated after removal of parameter HOT 1
- Circular dependency caused by nginx plugin HOT 2
- No certificate issued
- Unknown resource type: 'ini_setting' HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from puppet-letsencrypt.