Created
June 19, 2012 16:53
-
-
Save anonymous/2955238 to your computer and use it in GitHub Desktop.
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
default[::groups] = [ "foo","bar","baz" ] |
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
template "app.conf" do | |
source "app.conf.erb" | |
owner "root" | |
group "root" | |
mode 0640 | |
:groups => node[:groups] | |
end |
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
groups = [ | |
<% @groups.each do |group| -%> | |
<%= group %> | |
<% end -%> ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment