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

Diff of /puppet/modules/ntp/manifests/init.pp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2636 by misc, Mon Jan 16 15:14:20 2012 UTC revision 2637 by misc, Mon Mar 19 19:44:31 2012 UTC
# Line 1  Line 1 
1  class ntp {  class ntp {
2      package { ntp: }      package { 'ntp': }
3    
4      service { ntpd:      service { 'ntpd':
5          subscribe => [Package["ntp"], File["/etc/ntp.conf"]],          subscribe => [Package['ntp'], File['/etc/ntp.conf']],
6      }      }
7    
8      file { "/etc/ntp.conf":      file { '/etc/ntp.conf':
9          require => Package["ntp"],          require => Package['ntp'],
10          content => template("ntp/ntp.conf"),          content => template('ntp/ntp.conf'),
11      }      }
12  }  }

Legend:
Removed from v.2636  
changed lines
  Added in v.2637

  ViewVC Help
Powered by ViewVC 1.1.30