46 cards
Posted over 4 years ago. Visible to the public. Repeats. Linked content.

restart puppetmaster after changing custom functions

The puppet master caches custom functions. If you edit an existing function (e.g. while you’re developing it), you’ll need to restart the puppet master before the new version can be used.

That also means you can't test functions in a different puppet environment. And also if you have changed functions in a different puppet environment (where you e.g. test some new module version) and this environment runs at first after a puppetmaster restart, you have this changed functions also in your production environment.

Changes in modules/$FOOBAR//lib/puppet/parser/functions indicate a change of functions executed on the puppetmaster.


Owner of this card:

Kim Jahn
Last edit:
over 1 year ago
by Henning Koch
This website uses cookies to improve usability and analyze traffic.
Accept or learn more