aboutsummaryrefslogtreecommitdiff
path: root/manifests/init.pp
blob: bdaaee2bd9a077aa130ea4e34df2131dd1e10eb0 (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
# common/manifests/init.pp - Define common infrastructure for modules
# Copyright (C) 2007 David Schmitt <david@schmitt.edv-bus.at>
# See LICENSE for the full license granted to you.

file {
	# Module programmers can use /var/lib/puppet/modules/$modulename to save
	# module-local data, e.g. for constructing config files
	"/var/lib/puppet/modules":
		ensure => directory,
		source => "puppet://$servername/common/modules/",
		recurse => true, purge => true, force => true,
		mode => 0755, owner => root, group => root;
}

class common::puppetmaster {
	file { 
		"${rubysitedir}/puppet/parser":
			ensure => directory,
			mode => 0755, owner => root, group => root;
		"$rubysitedir/puppet/parser/functions":
			source => "puppet://$servername/common/functions/",
			recurse => true, purge => true,
			mode => 0755, owner => root, group => root;
	}
}

import "defines/*.pp"
import "classes/*.pp"