4

I'm using Cobbler to configure PXE boot for host installation.

What are the cobbler components I should keep under version control so that I can review the specifics of a host installation? Changes to snippets, kickstart files, profiles, repositories all could obscure what happened in the past.

How does/should version control interact with the Web interface?

1 Answers1

4

I've just discovered that /var/lib/cobbler has a .git respository, but it stopped getting commits about a month ago. All the commit messages are "API update" - presumably from the web interface.

/etc/cobbler/settings contains

scm_track_enabled: 1
scm_track_mode: "git"

I find that "cobbler sync" on the command line generates a commit message of "API update". Changes via the web interface are not committed to the repository unless one clicks the "Sync" action in the left side panel.

For myself, the odds of forgetting to hit that "Sync" link on at least some occasion are vanishingly close to 100%, even now that I understand I'm supposed to use it. I'm going to add a nightly - perhaps even hourly - "cobbler sync" invocation in cron.