Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding empty groups resources #25

Open
nandha027 opened this issue Oct 6, 2021 · 0 comments
Open

Adding empty groups resources #25

nandha027 opened this issue Oct 6, 2021 · 0 comments

Comments

@nandha027
Copy link

Hi ,

We have a requirement to add empty controller group resources under cgconf.d directory but from template ( templates/group.conf.erb ) could see no condition to achieve that .
So we modified the template to include if condition such that it will execute the each condition only when there is params variable available.
++++++++
<% if @params -%>
<% params.sort.each do |p,v| -%>
<%= p %> = <%= v %>;
<% end -%>
<% end -%>
}
<% end -%>
+++++++++
Can you please evaluate and add to the source code if you find our solutions works for you ?

Regards,
Nandha

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant