aboutsummaryrefslogtreecommitdiff
path: root/manifests/init.pp
blob: ae4b8b26119ad48ebf2e86ffdacb7521f6ce88c8 (plain)
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
#
# Nodo module.
#

# Default execution path
Exec { path => "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" }

# Fileserver backup
filebucket { server: server => hiera('puppet::daemon::server', "puppet.${::domain}") }
File { backup => server }

# Set role and location variables: this is a trick so we can use role and location
# in Hiera's hierarchical config.
$role     = hiera('nodo::role',     'default')
$location = hiera('nodo::location', 'default')

# Import required modules
import "common"

# Nodo class
import "nodo.pp"

# Definitions
import "defines/monkeysphere_host.pp"
import "defines/munin_node.pp"
import "defines/ssh_config.pp"
import "defines/ssh_create_key.pp"
import "defines/ssh_known_hosts.pp"
import "defines/ssh_local_key.pp"
import "defines/ssh_folder.pp"
import "defines/sysctl.pp"