2007-06-22 10:42:40 +02:00
|
|
|
# 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 {
|
2007-06-25 09:31:47 +02:00
|
|
|
# Module programmers can use /var/lib/puppet/modules/$modulename to save
|
|
|
|
# module-local data, e.g. for constructing config files
|
2007-06-22 10:42:40 +02:00
|
|
|
"/var/lib/puppet/modules":
|
|
|
|
ensure => directory,
|
2007-07-14 11:27:55 +02:00
|
|
|
source => "puppet://$servername/common/modules/",
|
|
|
|
recurse => true, purge => true,
|
2007-06-22 10:42:40 +02:00
|
|
|
mode => 0755, owner => root, group => root;
|
2007-06-25 09:31:47 +02:00
|
|
|
# prepare directories to drop various puppet enhancements
|
|
|
|
[ "$rubysitedir/puppet", "$rubysitedir/facter" ]:
|
|
|
|
ensure => directory,
|
|
|
|
mode => 0755, owner => root, group => root;
|
2007-06-22 10:42:40 +02:00
|
|
|
}
|
|
|
|
|
2007-06-25 09:31:47 +02:00
|
|
|
import "defines/*.pp"
|
2007-06-25 10:24:51 +02:00
|
|
|
import "classes/*.pp"
|