On Nov 7, 2008, at 4:52 PM, [EMAIL PROTECTED] wrote:
>
> Hi all,
>
> 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?
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
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---