Skip to content

Instantly share code, notes, and snippets.

@ThePixelDeveloper
Created February 5, 2013 09:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ThePixelDeveloper/4713435 to your computer and use it in GitHub Desktop.
Save ThePixelDeveloper/4713435 to your computer and use it in GitHub Desktop.
file { 'create sasl_passwd':
ensure => present,
owner => root,
group => root,
path => '/etc/postfix/sasl_passwd',
source => 'puppet:///modules/postfix/sasl_passwd',
require => Package['postfix'],
} ->
exec { 'postmap hash:/etc/postfix/sasl_passwd':
} ->
file { 'remove sasl_passwd':
ensure => absent,
path => '/etc/postfix/sasl_passwd',
} ->
exec { 'postconf -e \'smtp_tls_CAfile = /etc/ssl/certs/ca-certificates.crt\'':
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment