Created
July 23, 2012 17:44
-
-
Save antaflos/3164937 to your computer and use it in GitHub Desktop.
augeas erb iteration
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rm sasl_allowed_username_list | |
<% i = 0 %> | |
<% sasl_allowed_usernames.each do |username| -%> | |
<% i += 1 %> | |
set sasl_allowed_username_list/<% sprintf("%02d", i) -%> <%= username %> | |
<% end -%> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment