Hi,
I was wondering if you could find a soultion to putting virtual resource as
target to require metaparameter.
I have to ensure that some resource is run only when a particular virtual
resource is run and successful.
Please let me know if you could find a solution to the issue.
Thanks,
Garima Singh
On Friday, February 12, 2010 at 8:53:37 PM UTC+5:30, Frederik Wagner wrote:
>
> Hi John,
>
> perfect, thanks!
>
> In the meantime I already found the flaw in the before mentioned
> "simple" extension of the realize function:
>
> The (virtual) requirements of virtual resources are evaluated, even if
> the resource itself is not realized.
> E.g. just including the following class test::virtual without
> realizing resource_two would lead to a realization of resource_one!
> :-(
>
> class test::virtual {
> @resource_one{ test: ...}
>
> @resource_two{ test: ..., require => realize( Resource_one[test] ) }
> }
>
> Now I'm stuck again (and am lost where to start to look for the
> solution in the sources of puppet ;-).
>
> Bye,
> Frederik
>
> On Fri, Feb 12, 2010 at 3:52 PM, jcbollinger <[email protected]
> <javascript:>> wrote:
> >
> >
> > On Feb 12, 8:32 am, jcbollinger <[email protected]> wrote:
> >> I second this feature request, especially for the <| |> and <<| |>>
> >> operators.
> >
> > In fact, I have logged a feature request in redmine, issue 3178.
> >
> > John
> >
> > --
> > 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]
> <javascript:>.
> > To unsubscribe from this group, send email to
> [email protected] <javascript:>.
> > For more options, visit this group at
> http://groups.google.com/group/puppet-users?hl=en.
> >
> >
>
>
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/666f7238-b7a3-4ed8-b1db-21aadfcc7ff1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.