Displaying 1 result from an estimated 1 matches for "session_vari".
2013 Jun 25
2
how to run backtick in erb file
Hi
I am very new to puppet and wants to implement something like this in my
puppet template (erb file)
the logic i am trying to do is :
sssd_count=`rpm -qa | grep ''sssd'' | wc -l`
<% if sssd_count =2 -%>
session optional sss.so
<% else %>
session optional pam_ldap.so
<% end -%>
but the backtick does not work.. or i am unable to store the