This message was deleted.
# puppet
s
This message was deleted.
r
yeah I tried that.. It's not working.. Not sure why..
Copy code
<%%  #default-log-format: "[%i] %t - (%f:%l) <%d> (%n) -- " %>
Copy code
Info: Using environment 'suricata'
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Loading facts
Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Internal Server Error: org.jruby.exceptions.SyntaxError: (SyntaxError) /etc/puppetlabs/code/environments/suricata/site-modules/qarnot_suricata/templates/suricata.yaml.erb:546: unknown type of %string
; d> (%n) -- " ; _erbout.<< "\n\n  #...
     ^
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
v
nope, do %% where you are using % in erb
r
oh !
Wait ? I don't understand.. I should put the string I don't want to be interpreted by ERB between
<%% %>
right ?
v
I think this would work
Copy code
#default-log-format: "[%%i] %%t - (%%f:%%l) <%%d> (%%n) -- "
maybe only required in
<%%d
r
I see okey ! Working fine, thanks a lot !
👍 1