Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.