diff options
Diffstat (limited to 'templates/rsyslog.conf.erb')
-rw-r--r-- | templates/rsyslog.conf.erb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/templates/rsyslog.conf.erb b/templates/rsyslog.conf.erb index b65d6a7..097df0c 100644 --- a/templates/rsyslog.conf.erb +++ b/templates/rsyslog.conf.erb @@ -4,8 +4,9 @@ #### MODULES #### ################# -<% @modules.each do |module_row| %> -<%= module_row %><% end %> +<% scope.lookupvar('rsyslog::modules').each do |module_row| -%> +<%= module_row %> +<% end -%> ########################### #### GLOBAL DIRECTIVES #### |