- From: "Wright, Jordan M." <
>
- To: "
" <
>
- Subject: [chef] RE: Re: Using Python to talk to the Chef server from Windows PE
- Date: Mon, 26 May 2014 17:03:23 -0400
- Accept-language: en-US
- Acceptlanguage: en-US
Mainly because my scripts are already written and working in Python. I also
don't think there is a way to install the chef-client in PE. I could copy the
libraries over and see if they would work but I figured since the Chef Server
API is just an HTTP endpoint it should be easy enough to make a call from
Python.
Jordan
-----Original Message-----
From: Seth Falcon
[mailto:
Sent: Monday, May 26, 2014 4:52 PM
To:
Subject: [chef] Re: Using Python to talk to the Chef server from Windows PE
Wright, Jordan M.
<
>
writes:
>
I have Python Windows install scripts that run in Windows PE. During a
>
re-install (with the same machine name) the chef-client will fail
>
since the client cert already exists. I am attempting to delete the
>
client from the chef server during a re-install in Window PE.
>
>
Is there example code for making an API call to the Chef Server in
>
Python 3.x from Window PE 3.0?
Is there a reason you need to script this from Pythin as opposed to
using Ruby and taking advantage of the libraries available via your
chef-client installation?
+ seth
--
Seth Falcon | Engineering Lead - Continuous Delivery | @sfalcon
CHEF |
http://www.getchef.com/
Archive powered by MHonArc 2.6.16.