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

Could not find template 'fail2ban/stretch/etc/fail2ban/jail.conf.erb' #88

Closed
brentclark opened this issue Sep 12, 2018 · 8 comments
Closed
Labels
needs-feedback Further information is requested

Comments

@brentclark
Copy link

Good day

It looks like templates are renamed to epp, but then you get

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/stretch/etc/fail2ban/jail.conf.erb' (file: /etc/puppetlabs/code/modules/fail2ban/manifests/init.pp, line: 44, column: 26) on node REMOVED

@bastelfreak
Copy link
Member

Hi @brentclark, thanks for raising this bug. Can you provide a PR for this?

@jreitmayer
Copy link

This is still an issue. Any word on how to fix it?

@jreitmayer
Copy link

make sure you add mod 'puppet-extlib', '3.0.0' to your puppet file to fix this.

@ikkaro
Copy link

ikkaro commented Jan 22, 2019

Is not working, some update about this issue?

@Micsi
Copy link

Micsi commented Jan 22, 2019

same here. On a local run I get:

Error: /Stage[main]/Fail2ban::Config/File[fail2ban.dir]: Could not evaluate: Could not retrieve information from environment dev source(s) puppet:///modules/fail2ban/stretch/etc/fail2ban
Notice: /Stage[main]/Fail2ban::Config/File[/etc/fail2ban/action.d]: Dependency File[fail2ban.dir] has failures: true
Warning: /Stage[main]/Fail2ban::Config/File[/etc/fail2ban/action.d]: Skipping because of failed dependencies
Notice: /Stage[main]/Fail2ban::Config/File[/etc/fail2ban/action.d/apf.conf]: Dependency File[fail2ban.dir] has failures: true
Warning: /Stage[main]/Fail2ban::Config/File[/etc/fail2ban/action.d/apf.conf]: Skipping because of failed dependencies

as to the tip by @jreitmayer, adding puppet-extlib, now at 3.1.0 does not help (debian stretch)

@Micsi
Copy link

Micsi commented Jan 22, 2019

I am using code straight from the docs:

class { 'fail2ban':
package_ensure => 'latest',
config_dir_source => "puppet:///modules/fail2ban/${::lsbdistcodename}/etc/fail2ban",
}

@dhoppe
Copy link
Member

dhoppe commented Dec 5, 2019

Which version of this module do you use? This issue should have been solved by #79.

@dhoppe dhoppe added the needs-feedback Further information is requested label Dec 5, 2019
@dhoppe
Copy link
Member

dhoppe commented Apr 21, 2020

The problem should be solved, because the pull request #135 has removed the use of LSB facts.

@dhoppe dhoppe closed this as completed Apr 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-feedback Further information is requested
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants