aboutsummaryrefslogtreecommitdiff
path: root/manifests/init.pp
blob: fc6b48187164dca77c3359ec425125e56aeaa57f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# 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,
		mode => 0755, owner => root, group => root;
	# prepare directories to drop various puppet enhancements
	[ "$rubysitedir/puppet", "$rubysitedir/facter" ]:
		ensure => directory, 
		mode => 0755, owner => root, group => root;
}

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