aboutsummaryrefslogtreecommitdiff
path: root/manifests/init.pp
blob: f7670305abeee6b8877fdcfd4e22e5882cfe5a61 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# 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.

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

module_dir { [ 'common' ]: }

file {
		 # Module programmers can use /var/lib/puppet/modules/$modulename to save
		 # module-local data, e.g. for constructing config files. See module_dir
		 # for details
       "/var/lib/puppet/modules":
               ensure => directory,
               source => "puppet://$server/modules/common/modules",
               ignore => ".ignore",
               recurse => true, purge => true, force => true,
               mode => 0755, owner => root, group => 0;
}

# common packages
class pkg::openssl { package { openssl: ensure => installed } }
class pkg::rsync { package { rsync: ensure => installed } }