- From: Kevin Nuckolls <
>
- To:
- Subject: [chef] Re: Where is the history for the knife executing on the open-source chef server?
- Date: Wed, 31 Oct 2012 00:00:15 -0500
I wrote knife-santoku to solve this problem. It's a drop in
replacement for knife that everyone on our team uses. It exposes an
interface for matching against what knife commands were run and if
they ran a command you care about, it will run some code before or
after it. We use it primarily to "phone home" about all knife activity
that changes the state of the chef server. We also use it to enforce
other policies as well.
You should be able to extend this code to meet your needs, or it'll
just work right out of the box.
https://github.com/knuckolls/knife-santoku/
Hope that helps,
Kevin Nuckolls
@knuckolls
On Tue, Oct 30, 2012 at 11:34 PM,
<
>
wrote:
>
>
>
For example, after I run a knife command of 'knife cookbook upload
>
cookbook_name' from a chef workstation or somewhere, where can I find the
>
history or log about who sent the knife command and when, and what the
>
command
>
is? I need to monitor all the knife behaviors on the chef server side
>
centrally.. How to do that?
>
>
Thanks!
Archive powered by MHonArc 2.6.16.