module-common/manifests/init.pp
martin f. krafft 6a15374c17 do not use $servername in puppet:// urls
Instead, use puppet:///, which automatically uses
$servername when executed on clients, but which also works
when run locally.

Signed-off-by: martin f. krafft <madduck@madduck.net>
Signed-off-by: David Schmitt <david@schmitt.edv-bus.at>
2008-06-05 16:43:27 +02:00

17 lines
573 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:///common/modules/",
ignore => ".svn",
recurse => true, purge => true, force => true,
mode => 0755, owner => root, group => 0;
}
import "defines/*.pp"
import "classes/*.pp"