- From: Shawn <
>
- To:
- Subject: [chef] Re: Re: recurring bad perms on /var/log/chef, chef-solr returns 404
- Date: Wed, 25 Apr 2012 16:17:00 -0700
Found the problem (for me at least), it's because I was using the
"chef::client" recipe which is deprecated, and loads the
"chef-client::config" recipe which has the problem code in my previous
email.
Switching to "chef-client::default" in the run list appears to have
solved it for me.
---------------------------------
Shawn Catanzarite
415 763 7111
http://about.me/shawncatanzarite
http://linkedin.com/in/shawncatanzarite
On Wed, Apr 25, 2012 at 4:04 PM, Shawn Catz
<
>
wrote:
>
>
Peter Donald <peter <at> realityforge.org> writes:
>
>
>
>
> Hi,
>
>
>
> I believe it is actually the lograte script that is causing the
>
> problem - I think it may be something you need to edit in
>
> /etc/logrotate.d/chef-solr but I don't have access to the config at
>
> the moment. For a long time I just ran a cron script that enforced the
>
> correct permissions and bounced the solr server when necessary
>
>
>
>
Heyas,
>
>
I ran into the same problem, it looks like it's the
>
"chef-client::config" recipe that's doing it... I haven't
>
figured out why it would do that ...
>
>
found this:
>
%w{run_path cache_path backup_path log_dir}.each do |key|
>
directory node['chef_client'][key] do
>
recursive true
>
owner "root"
>
group root_group
>
mode 0755
>
end
>
end
>
>
Running Chef 0.10.8
>
- [chef] Re: Re: search returns error, (continued)
- [chef] Re: Re: search returns error, Bryan McLellan, 04/09/2012
- [chef] Re: Re: Re: search returns error, Paul Welch, 04/09/2012
- [chef] Re: Re: Re: Re: search returns error, kallen, 04/09/2012
- [chef] Re: Re: Re: Re: Re: search returns error, Paul Welch, 04/09/2012
- [chef] recurring bad perms on /var/log/chef, chef-solr returns 404, kallen, 04/09/2012
- [chef] Re: recurring bad perms on /var/log/chef, chef-solr returns 404, Peter Donald, 04/09/2012
- [chef] Re: recurring bad perms on /var/log/chef, chef-solr returns 404, Shawn Catz, 04/25/2012
- [chef] Re: Re: recurring bad perms on /var/log/chef, chef-solr returns 404, Shawn, 04/25/2012
- [chef] Re: Re: recurring bad perms on /var/log/chef, chef-solr returns 404, Shawn, 04/25/2012
- [chef] Re: Re: recurring bad perms on /var/log/chef, chef-solr returns 404, Peter Donald, 04/25/2012
- [chef] Re: Re: Re: recurring bad perms on /var/log/chef, chef-solr returns 404, Tim Smith, 04/26/2012
- [chef] Re: Re: Re: Re: recurring bad perms on /var/log/chef, chef-solr returns 404, Peter Donald, 04/26/2012
Archive powered by MHonArc 2.6.16.