QuicksearchPersonalArchivesCategoriesSyndicate This Blog |
Monday, February 15. 2010Server Manager with Puppet configuration keys
With this post I will explain you the Puppet Configuration Key feature at the server manager.
With the puppet configuration key feature you can store configuration data used in puppet classes at your database. You can also store configuration data on server groups and add servers to that group. Yes - it's working like ripienaar's great extlookup but with database. For this example I have got two hosts:
We have some puppet configuration keys at server manager: ![]() The first server valentina.brachium-system.net has got the following puppet key configuration: ![]() The second server web01.brachium-system.net has got the following puppet key configuration: ![]() We are using this puppet manifest: # Configuration for dblookup from servermgmt: We run that manifest on the server valentina: notice: Scope(Node[default]): We are the server: valentina.brachium-system.net We run that manifest on the server web01: notice: Scope(Node[default]): We are the server: web01.stg.brachium-system.net You can see on the verbose output from puppet, the information is fetched from the database - if the server has got no own value for one key, the default value is used. You can get the source at http://github.com/hggh/servermgmt Uploaded source of server manager to github
(Page 1 of 1, totaling 2 entries)
|