forked from efroese/puppet-oae-example
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsite.pp
23 lines (19 loc) · 736 Bytes
/
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
import 'manifests/*'
import 'nodetypes'
#
# Dynamically import the nodes list based on the active configuration.
# Activate the correct configuration by making a symlink in the modules directory to the right config module.
#
import 'localconfig/nodes.pp'
# Set the default owner and group to root
File { owner => root, group => root }
# Set the default path for exec resources
Exec { path => '/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin' }
#
# Set up a run stage that executes before main
# This is useful for creating yum repositories, users, important base system packages...
#
# Usage:
# class { 'someclass': stage => 'init', other_arg => 'other_val' }
#
stage { 'init': before => Stage['main'] }