/[adm]/puppet/modules/amavis/manifests/init.pp
ViewVC logotype

Contents of /puppet/modules/amavis/manifests/init.pp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 471 - (show annotations) (download)
Thu Nov 25 17:48:10 2010 UTC (13 years, 5 months ago) by misc
File size: 519 byte(s)
restart amavis on configuration file change
1 class amavis {
2
3 package { "amavisd-new":
4 ensure => installed,
5 }
6
7 service { "amavisd":
8 ensure => running,
9 path => "/etc/init.d/amavisd",
10 subscribe => [Package["amavisd-new"], File["amavisd.conf"]],
11 }
12
13 file { "amavisd.conf":
14 path => "/etc/amavisd/amavisd.conf",
15 ensure => present,
16 owner => root,
17 group => root,
18 mode => 644,
19 require => Package["amavisd-new"],
20 content => template('amavis/amavisd.conf')
21 }
22 }

  ViewVC Help
Powered by ViewVC 1.1.30