38 cards
View
Posted over 3 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.

https://puppet.com/docs/puppet/4.10/environments_about.html#plugins-can-leak-between-environments

Owner of this card:

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