[Mageia-sysadm] [447] remove empty line from the result file ( <% vs <%- )

root at mageia.org root at mageia.org
Wed Nov 24 02:21:09 CET 2010


Revision: 447
Author:   misc
Date:     2010-11-24 02:21:09 +0100 (Wed, 24 Nov 2010)
Log Message:
-----------
remove empty line from the result file ( <% vs <%- )

Modified Paths:
--------------
    puppet/modules/pam/templates/system-auth

Modified: puppet/modules/pam/templates/system-auth
===================================================================
--- puppet/modules/pam/templates/system-auth	2010-11-24 00:30:45 UTC (rev 446)
+++ puppet/modules/pam/templates/system-auth	2010-11-24 01:21:09 UTC (rev 447)
@@ -5,12 +5,12 @@
 auth    [abort=ignore success=done new_authtok_reqd=done default=ignore]  pam_tcb.so shadow fork nullok prefix=$2a$ count=8
 auth    sufficient   pam_unix.so likeauth nullok try_first_pass
 auth    sufficient   pam_ldap.so use_first_pass
-<% if access_class = 'admin' %>
+<%- if access_class = 'admin' -%>
 auth    required     pam_wheel.so group=mga-sysadmin
-<% end %>
-<% if access_class = 'commiters' %>
+<%- end -%>
+<%- if access_class = 'commiters' -%>
 auth    required     pam_wheel.so group=mga-commiters
-<% end %>
+<%- end -%>
 auth    required     pam_deny.so
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20101124/1f019035/attachment.html>


More information about the Mageia-sysadm mailing list