[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, upstream, updated. 0.25.5-639-g8f94f35
Markus Roberts
Markus at reality.com
Wed Jul 14 10:35:21 UTC 2010
The following commit has been merged in the upstream branch:
commit 60932e19bb8b56ce6fc17f970c80814c1bd43ed4
Author: James Turnbull <james at lovedthanlost.net>
Date: Tue Jun 22 15:51:08 2010 +1000
Fixed require warning documentation
diff --git a/lib/puppet/parser/functions/require.rb b/lib/puppet/parser/functions/require.rb
index 294484a..a46999f 100644
--- a/lib/puppet/parser/functions/require.rb
+++ b/lib/puppet/parser/functions/require.rb
@@ -3,13 +3,12 @@ Puppet::Parser::Functions::newfunction(:require,
:doc =>"Evaluate one or more classes, adding the required class as a dependency.
The relationship metaparameters work well for specifying relationships
-between individual resources, but they can be clumsy for specifying
+between individual resources, but they can be clumsy for specifying
relationships between classes. This function is a superset of the
'include' function, adding a class relationship so that the requiring
class depends on the required class.
-.. Warning::
- using require in place of include can lead to unwanted dependency cycles.
+Warning: using require in place of include can lead to unwanted dependency cycles.
For instance the following manifest, with 'require' instead of 'include'
would produce a nasty dependence cycle, because notify imposes a before
between File[/foo] and Service[foo]::
--
Puppet packaging for Debian
More information about the Pkg-puppet-devel
mailing list