-
-
Notifications
You must be signed in to change notification settings - Fork 103
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
Could not find template 'fail2ban//etc/fail2ban/jail.conf.erb' - CentOS Linux release 7.6.1810 (Core) #102
Comments
Hi @777dimas, our latest merge worked fine on travis: did you try the latest release / master branch? How do you include this module? |
Hi. |
I believe this is the issue I started seeing recently. If so, the root of the problem is lsb packages on the OS. For example, on a RedHat-based system, this module requires the The problem with these packages is that, depending on the distribution, they can install a lot of unneeded software. Additionally, the LSB packages are now a prerequisite for this package, but this package does not ensure that they are installed. As for the Travis tests, I spent a fair bit of time trying to figure that out on tests for a module I wrote that has https://github.com/voxpupuli/puppet-fail2ban/blob/master/spec/spec_helper_acceptance.rb#L18-L21 https://travis-ci.org/voxpupuli/puppet-fail2ban/jobs/463560982#L1081-L1085 I think the real answer here is to get away from using "code names" and instead use |
@coreone ah yes, you're correct. However, I did a quick grep for |
Technically, it is not in a manifest, however the README instructs users to use that fact in every example that uses I think at the very least there should be a note in the README, to prevent any confusion, that states that in order to use any of the examples with |
The problem should be solved, because the pull request #135 has removed the use of LSB facts. |
CentOS Linux release 7.6.1810 (Core)
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 template 'fail2ban//etc/fail2ban/jail.conf.erb'
The text was updated successfully, but these errors were encountered: