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