aboutsummaryrefslogtreecommitdiff
path: root/README
blob: 9861a59315c5e63131c55a1be5f4ac208df905db (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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
Common Module
-------------

The common module installs various functions that are required by other
modules. This module should be installed before any of the other module.

! Upgrade Notices !

The old way of using the common module required that you add 'import common' to
a modules.pp file that you included from site.pp. This is no longer the way to
do it, and will not work (the import keyword is deprecated and will be removed
in puppet 4), also you will get this error if you are doing this:

Could not parse for environment production: No file(s) found for import of 'common'

The module_{dir,file} have been moved to common::module_{dir,file} - you will
need to change all occurances in your manifests to match the new format

The replace and delete_lines functions have been removed, you can use file_line
from stdlib instead.

The 'append_if_no_such_line' define has been replaced with the 'line' define. If
you are using 'append_if_no_such_line' anywhere in your manifests, you will need
to transition to 'line' before upgrading to this version of the common
module. The 'line' define is a drop-in replacement and essentially equivalent,
so the transition is quite easy, you should only simply need to change the name
in your manifests.

Original author: David Schmitt (mailto:david@dasz.at)
Copyright:: Copyright (c) 2007-2009 dasz.at OG
License::   3-clause BSD

Additional authors:
Copyright (C) 2007 David Schmitt <david@schmitt.edv-bus.at>
Copyright 2008-2011, admin(at)immerda.ch
Copyright 2008, Puzzle ITC GmbH
 Marcel Härry haerry+puppet(at)puzzle.ch
 Simon Josi josi+puppet(at)puzzle.ch
Copyright 2009-2011, Riseup Labs <http://riseuplabs.org>
 Pietro Ferrari <pietro@riseup.net>
 Micah Anderson <micah@riseup.net>
Copyright (C) 2007 Antoine Beaupre <anarcat@koumbit.org>
Copyright (c) 2011 intrigeri - intrigeri(at)boum.org