- From: Daniel DeLeo <
>
- To:
- Subject: [chef] Re: chef-client cookbook under runt it not working
- Date: Mon, 2 Jul 2012 08:53:41 -0700
On Wednesday, June 27, 2012 at 5:03 PM, David Montgomery wrote:
>
Hi,
>
>
I am using runit for running chef-client every 60 seconds.
>
>
Here is the output from running ps aux | grep chef-client
>
>
ps aux | grep chef-client
>
root 2273 0.0 0.0 118712 8 ? S May24 0:13
>
/usr/bin/ruby1.8 /usr/bin/chef-client -i 60 -s 20
>
>
>
So...I would think that it should be working.
>
>
I have code that syncs with my private git repo and it is not syncing
>
as an indication of the failure of chef-client cookbook.
>
>
If I run chef-client from the command line then all works and git is
>
syncd. So..I am rather confused on how this could happen.
>
>
Any ideas?
Probably some environment variables are set that cause git/ssh to use a
different config when using sudo vs. runit. Can you repro the issue if you do
`sudo su - ; chef-client` ?
>
>
Thanks
--
Dan DeLeo
- [chef] Re: chef-client cookbook under runt it not working, Daniel DeLeo, 07/02/2012
Archive powered by MHonArc 2.6.16.