Marc Dierig
11 months
Stefan Langenmaier
1 year
Andreas Vöst
1 month
Claus-Theodor Riegg
4 years
Andreas Vöst
3 months
Andreas Vöst
3 months
Kim Klotz
4 months
Claus-Theodor Riegg
8 years
Andreas Vöst
6 months
Andreas Vöst
8 months

restart puppetserver after changing custom functions

Updated . Posted . Visible to the public. Repeats.

The puppet server caches custom functions. If you edit an existing function (e.g. while you’re developing it), you’ll need to restart the puppet server 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 puppetserver 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 puppetserver.

Last edit
Marc Dierig
License
Source code in this card is licensed under the MIT License.