1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | import "modules" import "nodes" # perform all backups on the server. Puppet will # default to the filebucket named 'puppet' filebucket { main: server => 'mail.copilotco.com' } # global defaults File { backup => main } Exec { path => "/usr/bin:/usr/sbin/:/bin:/sbin" } Package { provider => $operatingsystem ? { debian => aptitude, redhat => up2date, centos => yum } } |