File: init.pp.erb

package info (click to toggle)
puppet-agent 8.10.0-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 27,392 kB
  • sloc: ruby: 286,820; sh: 492; xml: 116; makefile: 88; cs: 68
file content (9 lines) | stat: -rw-r--r-- 207 bytes parent folder | download
1
2
3
4
5
6
7
8
9
class <%= name %> {
<% mc.times do |m| %>
  $v<%= m %> = [
  <% (function_count - 1).times do |n| %>    <%= name %>::f<%= n %>(),
  <% end %>
    module<%= m %>::f<%= function_count - 1 %>()
  ]
<% end %>
}