Re: [Freeipa-users] KISS: DHCP from IPA

2012-08-30 Thread Chris Evich
On 08/29/2012 03:52 PM, Rob Crittenden wrote: Chris Evich wrote: On 08/29/2012 11:57 AM, John Dennis wrote: Thanks for the contribution Chris! Just as an aside if you know Python you can call the IPA commands directly and use Python to extract and reformat the data, it might be a lot simpler t

Re: [Freeipa-users] KISS: DHCP from IPA

2012-08-29 Thread Rob Crittenden
Chris Evich wrote: On 08/29/2012 11:57 AM, John Dennis wrote: Thanks for the contribution Chris! Just as an aside if you know Python you can call the IPA commands directly and use Python to extract and reformat the data, it might be a lot simpler than doing the bash/awk dance. I agree that u

Re: [Freeipa-users] KISS: DHCP from IPA

2012-08-29 Thread Chris Evich
On 08/29/2012 11:57 AM, John Dennis wrote: Thanks for the contribution Chris! Just as an aside if you know Python you can call the IPA commands directly and use Python to extract and reformat the data, it might be a lot simpler than doing the bash/awk dance. I agree that using bash/sed/awk is

Re: [Freeipa-users] KISS: DHCP from IPA

2012-08-29 Thread John Dennis
Thanks for the contribution Chris! Just as an aside if you know Python you can call the IPA commands directly and use Python to extract and reformat the data, it might be a lot simpler than doing the bash/awk dance. -- John Dennis Looking to carve out IT costs? www.redhat.com/carveoutcosts/

[Freeipa-users] KISS: DHCP from IPA

2012-08-29 Thread Chris Evich
Kool Idm Simple Script :D In case it's helpful to anyone else, I've been using a simple script to keep my dhcp server's static entries in-sync with ipa host info. Since I'm using IPA 2.1 on Fedora 16, I had to hijack the 'location' host info. key to store the MAC address for each host. IIRC,