Report abuse

1
2
3
4
5
6
7
8
9
10
11
12
13
14
class ntp {
   file { "/etc/inet/ntp.conf":
      owner  => "root",
      group  => "root",
      mode   => "644",
      source => "puppet://puppet/files/opensolaris_x86/ntp.conf"
   }

service { "svc:/network/ntp:default":
        enable => true ,
        ensure => running,
        subscribe => [File["/etc/inet/ntp.conf"],],
    }
}