90dab4fda5
git-svn-id: http://club.black.co.at:82/svn/manifests/trunk@191 f03ff2f1-f02d-0410-970d-b9634babeaa1
28 lines
895 B
Puppet
28 lines
895 B
Puppet
# 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"
|