Manage Kickstart library with Puppet

Posted by Tim Brigham on Server Fault See other posts from Server Fault or by Tim Brigham
Published on 2012-06-05T19:58:43Z Indexed on 2012/06/05 22:42 UTC
Read the original article Hit count: 168

Filed under:

I maintain a library of different kickstart configurations, mostly for CentOS 5 and 6. It has recently gotten to the point I want to deduplicate as much of this information as possible.

I am aware of a couple options out there which can dynamically generate kickstart files. Not interested at this point unless I really need to do that route. I would like to create my Kickstart files using a template along the following line:

deploy1-centos5.erb

....
install=http://.../$arch/...
repo=http://.../$arch/...
....

My output naming schema is "deploy1-centos5-x86_64".

I'd like to be able to create several kickstart files from a given template, one for 32 bit, one 64, ppc, etc. This would work perfectly if I could readily set the value of arch per each time the template is called to create a file.

What is the most ready way to address this?

© Server Fault or respective owner

Related posts about puppet