On Thu, Mar 7, 2013 at 1:39 PM, fatmcgav <[email protected]> wrote:
> Nan
>
> Cheers for confirming, I kinda guessed as much...
>
> Would it work if the module wasn't installed in the main lib dir, but in the
> environment specific dirs?
>

No, there is a limitation in the way code gets loaded that makes
environments not suited to keeping different implementations in
different environments. To be safe and predictable you'll need to have
different masters for each environment.


> Cheers
> Gav
>
> On Mar 7, 2013 9:34 PM, "Nan Liu" <[email protected]> wrote:
>>
>> On Thu, Mar 7, 2013 at 10:23 AM, devon <[email protected]> wrote:
>>>
>>> I recall running into similar issues. I'm pretty sure that using
>>> apache/passenger removed the need to restart the puppet master process, but
>>> there was still a requirement of having the types/providers in the master's
>>> module dir.
>>>
>>> Although, a quick search turned up
>>> http://projects.puppetlabs.com/issues/13858 - which looks to have solved the
>>> later issue.
>>
>>
>> Trying to use a custom type/provider is one thing, trying to use two
>> different versions of a custom type/provider for development in two
>> environment brings a whole other set of problems.
>>
>> Regarding the original issue, don't use environments for this workflow,
>> you need another instances of the master running on a different port or
>> server.
>>
>> Nan
>>
>> --
>> You received this message because you are subscribed to a topic in the
>> Google Groups "Puppet Developers" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/puppet-dev/yPb8FxEbIoM/unsubscribe?hl=en.
>> To unsubscribe from this group and all its topics, send an email to
>> [email protected].
>>
>> To post to this group, send email to [email protected].
>> Visit this group at http://groups.google.com/group/puppet-dev?hl=en.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/puppet-dev?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-dev?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to