The docs say:
"Note that all defined types support automatically all metaparameters."
But when I try (with Puppet 0.24.5 on Centos 5.2, courtesy of the dlutter
packages) the following:
define unzip (...) {
exec { ... }
if $alias { Exec[...]{ alias +> $alias }
}
unzip { ....: alias => "..." }
As is inferred by the LanguageTutorial to work, and as does work for
require, subscribe, etc., I get the following error message:
Parameter alias failed: Munging failed for value
["unpack_opensso_war"] in class alias: Cannot add aliases without
a catalog
This is moderately annoying; I need to depend on the definition elsewhere,
but the title of the generated resource is quite long; what's the standard
way around this problem?
-- michael.
This is definitely a bug -- the system is attempting to add the alias
before the catalog has been assigned.
Can you file this?
--
A conservative is a man who believes that nothing should be done for
the first time. --Alfred E. Wiggam
---------------------------------------------------------------------
Luke Kanies | http://reductivelabs.com | http://madstop.com
Sure, filed as bug # 1743.
-- michael.