Hi,

Today, while working on some functions in Puppet, I got back lots of
unexpected results. Lots of times, it seemed like my changes in the code
were not picked up when I re-ran the test-classes.

Even functions that I removed from the code, after using them once or so,
kept working after removal, until.. I restarted the puppetmaster.

Is is necessary to restart the puppetmaster after making changes in functions?

I have been following
http://projects.puppetlabs.com/projects/1/wiki/Writing_Your_Own_Functions.
I read "it’ll be loaded by the Puppetmaster when you first use that
function.". That, I can confirm, but is it REloaded, ever?

The functions live in a module, in
modules/mymodule/lib/puppet/parser/functions/

Everytime I do a catalog run on a test client, I see the diffs in the code
passing on the screen after "info: Retrieving plugin", but the
puppetmaster doesn't seem to pick up.

I run Puppet 2.6.1.

Best regards,
Martijn.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to