Add one
List all

site.pp (Perl)

Syntax: Perl Date: Tue, 26 May 2009 17:59:11 -0700
 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
    }
}

Valid XHTML 1.0 Strict Valid CSS!