forked from example42/puppet-infrastructures
-
Notifications
You must be signed in to change notification settings - Fork 0
/
site.pp
33 lines (22 loc) · 1.23 KB
/
site.pp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# /etc/manifest/site.pp is the first file that, by default, the PuppetMaster loads
# if no external tool is used to manage nodes.
# From here everything starts
# In all the different alternative example layouts imported below we use the same baselines
# These are classes that group common modules to set a general base layouts for your nodes.
import "baselines/*.pp"
# We provide different examples of Puppet infrastructures, you can choose and adapt
# the most suitable to your needs.
# 1 - Example42 small site (approx. 1-20 nodes):
# You define NODES, that inherit a basenode
# Each node can include classes or defines
# There are some useful BASELINE classes that apply general settings, used by every host
#import "example42_small/site.pp"
# 2 - Example42 medium site (approx. 20-400 nodes):
# You can define ZONES (different networks, geographical sites or whatever)
# You define NODES that inherits zones
# Each node can include classes/defines OR a role class
# A ROLE includes all the classes/defines necessary for a group of servers with the same functionality
# There are some useful BASELINE classes that apply general settings, used by every host
import "example42_medium/site.pp"
# Only for clean testing
# import test/site.pp