Parent Directory | Revision Log
fix module
1 | class ntp { |
2 | package { ntp: } |
3 | |
4 | service { ntpd: |
5 | ensure => running, |
6 | path => "/etc/init.d/ntpd", |
7 | subscribe => [Package["ntp"], File["/etc/ntp.conf"]], |
8 | } |
9 | |
10 | file { "/etc/ntp.conf": |
11 | require => Package["ntp"], |
12 | content => template("ntp/ntp.conf"), |
13 | } |
14 | } |
ViewVC Help | |
Powered by ViewVC 1.1.30 |