6a15374c17
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>
17 lines
573 B
Puppet
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"
|