I'm not sure I understand you properly, so please clarify if that's the 
case.

I am in control of the environment, i.e. I can set a static path. But I'd 
like it to be able to set it as a parameter, in case the installation path 
changes. 
To make a more specific case, I want my provider to know where Tomcat has 
been installed, but that should be specified at run time. 

But I think variables such as JAVA_HOME are also required by other modules, 
so a more general solution to this problem should help greatly!

Op donderdag 6 februari 2014 15:35:34 UTC+1 schreef Felix.Frank:
>
> A custom provider you say? You can change the provider code at will? Are 
> you not in control of the environment for all forked processes from this 
> specific provider then? 
>
> On 02/06/2014 02:58 PM, [email protected] <javascript:> wrote: 
> > My problem is that I want a specific environment variable set for 
> > resources not managed through Exec. Specifically I need an installation 
> > path for a custom type/provider 
>

-- 
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/d61c1305-10b8-4bae-b73f-ed0687a3f494%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to