- From: Anthony Goddard <
>
- To:
- Subject: [chef] API Interaction from node
- Date: Tue, 8 Jan 2013 16:49:24 -0500
Hi all,
I'm writing a little script to populate a databag each time it's run - the
purpose is to store mysql bin log data in a databag when a slave is backed
up. I was originally thinking of using the API from the node and just using
the local client.pem for authentication, but while I can read databags this
way, I get a 403 when writing to them, so I'm looking for a breakdown of what
objects the client is able to modify.
I could also just change where I'm storing the data, or if that doesn't work,
some middleware with another key will work, but I'd be interested in hearing
about any other approaches if I'm Doing It Wrong™.
fwiw, the script that's interacting with chef is run from cron.
Cheers,
Ant
- [chef] API Interaction from node, Anthony Goddard, 01/08/2013
Archive powered by MHonArc 2.6.16.