Sha256: 49de362b8632e0e4382bfd0e369213ee1e8b931f06d6278383f1ec7e94d06c37

Contents?: true

Size: 595 Bytes

Versions: 12

Compression:

Stored size: 595 Bytes

Contents

etc_dspam = '/etc/dspam'


locals = {
  :database_port => lookup('database#port'),
  :database_user => lookup('dspam#database#user'),
  :database_pass => lookup('dspam#database#password'),
  :database => lookup('dspam#database#name'),
  :hostname => lookup('postfix#myhostname')
}
render(
    :file   => "#{dist}dspam/conf.erb",
    :to     => "#{etc_dspam}/dspam.conf",
    :mode   => 0660,
    :locals => locals
)
shell_manager.chown('root', 'rmails', "#{etc_dspam}/dspam.conf")


shell_manager.chown_R('dspam', 'www', "/var/spool/dspam")
#shell_manager.chmod_R('4555', "/var/spool/dspam")


Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
rmails-0.2.5 system/recipes/06_setup_dspam.rb
rmails-0.2.4 system/recipes/06_setup_dspam.rb
rmails-0.2.3 system/recipes/06_setup_dspam.rb
rmails-0.2.2 system/recipes/06_setup_dspam.rb
rmails-0.2.1 system/recipes/06_setup_dspam.rb
rmails-0.2.0 system/recipes/06_setup_dspam.rb
rmails-0.1.6 system/recipes/06_setup_dspam.rb
rmails-0.1.5 system/recipes/06_setup_dspam.rb
rmails-0.1.4 system/recipes/06_setup_dspam.rb
rmails-0.1.3 system/recipes/06_setup_dspam.rb
rmails-0.1.2 system/recipes/06_setup_dspam.rb
rmails-0.1.1 system/recipes/06_setup_dspam.rb