No Description

Jerome Charaoui 039c63890c Merge branch 'master' into 'master' 9 years ago
lib e9d8147584 add a get_default function 9 years ago
manifests 47c385f479 cleanup module to work better on newer puppet versions 11 years ago
spec ee7b4657fc remove functions that are either covered with builtin functions or stdlib functions 10 years ago
LICENSE ae149624f9 Add GPLv3 license 9 years ago
README 514a6ce8fa Fixes #1 - Update README to include information for upgrading to the new version 9 years ago

README

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
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
Pietro Ferrari
Micah Anderson
Copyright (C) 2007 Antoine Beaupre
Copyright (c) 2011 intrigeri - intrigeri(at)boum.org