On 20/01/12 13:57, Dan White wrote: > I am running Cobbler and Puppet together and I am not sure that a Puppet > Module is appropriate for more than just the base settings. > > Cobbler manages all its internal info. To get Puppet to manage it would, > IMO, either involve hacking Cobbler or wrapping Cobbler command line calls in > Puppet "exec" resources.
Yes - I had imagined the latter. > Sounds messy to me. Yes again. But then that's nothing new in this field. > I keep both Cobbler and Puppet in a Subversion repository. I used this as a > model to start from: > <http://consultancy.edvoncken.net/index.php/HOWTO_Set_up_a_Subversion_repository_for_provisioning> > > and modified things to fit my environment. Interesting; although there's a big blank there when it gets to Puppet. > If you want to preserve the contents of Cobbler, just back up > /var/lib/cobbler/config/ Everything is in the JSON files. I keep Puppet in Git. However, it is not documented and wasn't obvious to me that you can version control the entirety of Cobbler and not tread on its toes. However, if you are doing that, obviously it is possible, and this seems a good way to sidestep the problem. For now, anyway. I'll see if I can shoehorn the cobbler directories into my puppet repository somewhere, perhaps under modules/cobbler/files... Then the Puppet bit would just need to deploy that. (Ignoring SCM tracking, which won't play nicely with a scheme like this, by default.) Actually since I'm currently using a masterless Puppet config and checking the source out everywhere, deployment would just be a matter of symlinking. However, this is only able to cut and paste a working cobbler system, right? So far as I can see, I can't use it to drive things from Puppet. What I was hoping might be possible is to have one manifest defining a node's parameters, and use external references within it (or a masterless equivalent along the lines of [1]) to import these into Cobbler. Thanks, Nick 1. http://current.workingdirectory.net/posts/2011/puppet-without-masters/ -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.