Re: [Puppet Users] Re: virtual resource realizing by require?

2017-03-24 Thread jcbollinger
On Thursday, March 23, 2017 at 11:23:07 AM UTC-5, garima singh wrote: > > Hi, > > I was wondering if you could find a soultion to putting virtual resource > as target to require metaparameter. > There is no inherent problem with making a resource depend on a virtual resource. It is

Re: [Puppet Users] Re: virtual resource realizing by require?

2017-03-23 Thread garima singh
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,

[Puppet Users] Re: virtual resource realizing by require?

2010-02-12 Thread jcbollinger
On Feb 12, 3:23 am, Frederik Wagner fner...@googlemail.com wrote: So wouldn't be a simple idea to just change the realize function (or the '| ... |' operator) to return the resources it realised? I second this feature request, especially for the | | and | | operators. John -- You received

[Puppet Users] Re: virtual resource realizing by require?

2010-02-12 Thread jcbollinger
On Feb 12, 8:32 am, jcbollinger john.bollin...@stjude.org 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

Re: [Puppet Users] Re: virtual resource realizing by require?

2010-02-12 Thread Frederik Wagner
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