4.2. Initial Manifest

4.2. Initial Manifest

The initial manifest to start out with should at least define the following:

Given the above, a default site.pp could look similar to:

$server = "master.puppetmanaged.org"

import "classes/*.pp"
import "modules/*.pp"

import "nodes/*.pp"
import "groups/*.pp"
import "services/*.pp"

# Always include the puppet::client class
include puppet::client

# The default node
node default {
    notice("Node $fqdn uses a default configuration")
}

# The puppetmaster should include the puppet::master class
node 'master.puppetmanaged.org' {
    include puppet::master
}