[chef] deleting objects from the chef server when deleted from git repo


Chronological Thread 
  • From: Wes Morgan < >
  • To:
  • Subject: [chef] deleting objects from the chef server when deleted from git repo
  • Date: Wed, 14 Nov 2012 14:11:39 -0700

I finally got around to setting up a Jenkins job to upload changes to the 
Chef server when I push them to the git repo. So far it's *great* having one 
source of truth for my Chef data.

However, the one remaining hole is deleting things from the Chef server when 
they're deleted from the git repo. Is anyone already doing that in an 
automated fashion? If so, what is your favorite approach?

It seems there a few options out there for how to do it. Everything from 
parsing the git log to using a knife plugin to see what's on the server but 
not in the local repo working copy.

I kind of wish there were just a "knife sync" command. :)

Wes


Archive powered by MHonArc 2.6.16.

§