Updated all templates to use instance variables
This commit is contained in:
parent
a0c854d3c0
commit
dc51af1ca2
113 changed files with 527 additions and 522 deletions
|
@ -15,24 +15,24 @@ divert(-1)
|
|||
#
|
||||
|
||||
divert(0)dnl
|
||||
<% if ['CentOS','RedHat','Fedora'].index(operatingsystem) -%>
|
||||
<% if ['CentOS','RedHat','Fedora'].index(@operatingsystem) -%>
|
||||
include(`/usr/share/sendmail-cf/m4/cf.m4')dnl
|
||||
<% elsif operatingsystem == 'Ubuntu' -%>
|
||||
<% elsif @operatingsystem == 'Ubuntu' -%>
|
||||
include(`/usr/share/sendmail/cf/m4/cf.m4')dnl
|
||||
DOMAIN(`debian-msp')dnl
|
||||
<% end -%>
|
||||
VERSIONID(`puppet setup')dnl
|
||||
OSTYPE(`<%= ostype -%>')dnl
|
||||
OSTYPE(`<%= @ostype -%>')dnl
|
||||
define(`confCF_VERSION', `Submit')dnl
|
||||
define(`__OSTYPE__',`')dnl dirty hack to keep proto.m4 from complaining
|
||||
define(`_USE_DECNET_SYNTAX_', `1')dnl support DECnet
|
||||
define(`confTIME_ZONE', `USE_TZ')dnl
|
||||
define(`confDONT_INIT_GROUPS', `True')dnl
|
||||
define(`confDIRECT_SUBMISSION_MODIFIERS',`C')dnl
|
||||
<% if has_variable?('mail_domain') -%>
|
||||
define(`confDOMAIN_NAME', `<%= mail_domain %>')dnl
|
||||
<% if @mail_domain -%>
|
||||
define(`confDOMAIN_NAME', `<%= @mail_domain %>')dnl
|
||||
<% end -%>
|
||||
<% if ['CentOS','RedHat','Fedora'].index(operatingsystem) -%>
|
||||
<% if ['CentOS','RedHat','Fedora'].index(@operatingsystem) -%>
|
||||
define(`confPID_FILE', `/var/run/sm-client.pid')dnl
|
||||
<% end -%>
|
||||
define(`confCACERT_PATH', `/etc/mail/certs')dnl
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue