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

Annotation of /puppet/modules/postfix/manifests/init.pp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 37 - (hide annotations) (download)
Wed Oct 27 10:56:45 2010 UTC (13 years, 6 months ago) by misc
File size: 681 byte(s)
- fix the x86_64 trick by directly embedding the code in the template, as this avoid the
various scoping problem 

1 misc 33 class postfix {
2    
3 misc 34 class base {
4 misc 33 package { postfix:
5     ensure => installed
6     }
7    
8     service { postfix:
9     ensure => running,
10     subscribe => [ Package['postfix']],
11     path => "/etc/init.d/postfix"
12     }
13     }
14    
15     file { '/etc/postfix/main.cf':
16     ensure => present,
17     owner => root,
18     group => root,
19     mode => 644,
20     require => Package["postfix"],
21     content => "",
22     notify => [Service['postfix']]
23     }
24    
25    
26 misc 34 class simple_relay inherits base {
27 misc 33 file { '/etc/postfix/main.cf':
28 misc 36 content => template("postfix/simple_relay_main.cf"),
29 misc 33 }
30     }
31     }

  ViewVC Help
Powered by ViewVC 1.1.30