-
Notifications
You must be signed in to change notification settings - Fork 7
Description
There is a type in init.pp at line 81:
notify => Exec ["make_sendmail_config"],
should be
notify => Exec["make_sendmail_config"],
Another problem with generics table template:
<% scope.lookupvar('sendmail::generics_table').sort.each do |user,email| -%>
<%= @user %> <%= @email %>
<% end -%>
This is not working as described in the Readme (generics_table => {'user','mail'} because puppet doesnt expext a comma there. It would work maybe with arrays but not with the hash.
Instead this is working:
<% scope.lookupvar('sendmail::generics_table').keys.sort.each do |user| -%>
<%= user %> <%= generics_table[user] %>
<% end -%>
With this template you can call:
generics_table => {'user1' => 'mail1', 'user2' => 'mail2' }
Next Problem sendmail.mc.erb:
There is no genericstable FEATURE and no generics_table variable as well as generics_domain. These features will never work if they are not defined in sendmail.mc.erb (and they didn`t in my test)