Re: [Puppet-dev] Puppet thread safety

2014-05-06 Thread Andy Parker
On Fri, May 2, 2014 at 1:27 PM, Vincent Miszczak wrote: > Hello, > > I'd like to do the following : > > *site.pp* > custom_function_that_changes_puppet_internal_variables() > hiera_include("classes") > custom_function_that_restores_puppet_internal_variables() > > I would be very careful about doi

[Puppet-dev] Puppet thread safety

2014-05-03 Thread Vincent Miszczak
Hello, I'd like to do the following : *site.pp* custom_function_that_changes_puppet_internal_variables() hiera_include("classes") custom_function_that_restores_puppet_internal_variables() Custom functions are implemented using *module Puppet::Parser::Functions* * newfunction(:hiera_hook