Hi dear puppeteers !
I was trying to implement some logic lately within an EPP template, and couldn't get an elsif **strong text**statement to work
<% if $facts['os']['family'] == 'RedHat' { -%><% if $facts['os']['release']['major'] == '7' { -%><% } elsif $facts['os']['release']['major'] == '6' { -%><% } -%><% } -%>
Does anyone know how to implement it ?
Thanks beforehand
↧