Nico
Nico
Creator of this small website
Sep 7, 2009 1 min read

Fun with stored configs

After reading masterzen’s excellent blog post about puppet storedconfigs, it gave me the idea to create a system of subscription to services.

For example, if you want some client to subscribe to a “backup” service you can use the following little things :

and in your manifests :

Then the server will be able to know which machines subscribed to something and then treat them by walking the associated folder ( $subscribedir/nodes/$title )

This can be really enhanced of course 🙂

Have fun