aboutsummaryrefslogtreecommitdiff
path: root/manifests/init.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/init.pp')
-rw-r--r--manifests/init.pp27
1 files changed, 16 insertions, 11 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index e0feaaf..f7298e3 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -2,19 +2,24 @@
# 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 => ".ignore",
- recurse => true, purge => true, force => true,
- mode => 0755, owner => root, group => 0;
-}
-
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:///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 } }
+