Jeff Schroeder wrote:
On Tue, Mar 24, 2009 at 4:34 PM, Jeff Schroeder jeffschroed@gmail.com wrote:
On Tue, Mar 24, 2009 at 12:27 PM, Tom Brown tom@ng23.net wrote:
If you have any real questions feel free to ask them on this list. In our cobbler deployment we use the --template-files for a 1/2 dozen or so files. It works great and you can just "koan -u" to fix things once you break them from the server.
i guess if someone could give an example about how say a httpd.conf could be supplied and associated with a particular profile that would be great and also the steps to get that onto the client, although from the docs i have read that seems pretty clear.
Make a directory like /etc/cobbler/templates and put your httpd.conf in there. Then you could do a command like this: cobbler system edit --name webserver1 --template-files="/etc/cobbler/templates/httpd.conf.webfarm=/etc/httpd/conf/httpd.conf"
Also note you have to manually rsync /etc/cobbler/templates. Cobbler replicate isn't intelligent enough to replicate templates and there is no standard cobbler template directory right now.
Good point.... A couple of ways we could possibly fix this.
(A) By convention, use some template root.
(B) Loop through the templates assigned to any cobbler object and scp those with cobbler replicate.
A seems cleaner to me, possibly /etc/cobbler/config_templates/ ?