By thomas, Fri, 05/22/2009 - 23:40
class base {
        remotefile { "/etc/syslog.conf": mode => 644 }
        remotefile { "/etc/logwatch/conf/logwatch.conf": mode => 644 }

        # time
        file { "/etc/ntp.conf": mode=> 644 }
        service { ntpd: ensure => true, enable => true }
}

See http://reductivelabs.com/trac/puppet/wiki/FunctionReference for details on the different functions available