aboutsummaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2016-03-27 18:34:18 +0200
committermh <mh@immerda.ch>2016-03-27 18:34:18 +0200
commit79690fdbe227f412c69e5e31198db7a19a281f50 (patch)
tree96e4471a80314ee1d2384540da28e7ffe50f5d3a /README
parentcff3734e4fc76973fd3720f1dd7f50a80e65d5f4 (diff)
parent039c63890c58b1d7bd637202fa5f86ff52b49ec1 (diff)
downloadpuppet-common-79690fdbe227f412c69e5e31198db7a19a281f50.tar.gz
puppet-common-79690fdbe227f412c69e5e31198db7a19a281f50.tar.bz2
Merge remote-tracking branch 'shared/master'
Diffstat (limited to 'README')
-rw-r--r--README29
1 files changed, 14 insertions, 15 deletions
diff --git a/README b/README
index e6df766..9861a59 100644
--- a/README
+++ b/README
@@ -4,7 +4,20 @@ 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 Notice !
+! 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
@@ -13,20 +26,6 @@ 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.
-To use this module, follow these directions:
-
-1. Your modules directory will need all the files included in this
- repository placed under a directory called "common"
-
-2. Add the following line to manifests/site.pp:
-
- import "modules.pp"
-
-3. Add the following line to manifests/modules.pp:
-
- import "common"
-
-
Original author: David Schmitt (mailto:david@dasz.at)
Copyright:: Copyright (c) 2007-2009 dasz.at OG
License:: 3-clause BSD