reference puppet documentation

Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
This commit is contained in:
Nico Schottelius 2012-02-16 12:12:18 +01:00
parent 4ffdcbfd9a
commit 34f8fe7b21
1 changed files with 11 additions and 0 deletions

View File

@ -34,6 +34,17 @@ The internal alias message is a bit confusing
(I did not intentionally create an alias), but that puppet is using the classname
instead of the name supplied to file is surprising.
**Update:** I've found the correct documentation part in the
[puppet language guide](http://docs.puppetlabs.com/guides/language_guide.html)
that describes the feature I was trying to use:
Most resources have an attribute (often called simply name) whose value
will default to the title if you dont specify it. (Internally, this is
called the “namevar.”) For the file type, the path will default to the
title. A resources namevar value almost always has to be unique.
(The exec and notify types are the exceptions.)
## The solution
Well, there are two solutions: