Oğuz Yarımtepe (oguzyarimt...@gmail.com) wrote:
> Hi,
>
> It seems the directories under libraries are not uploaded to chef server:
>
> root@d00-1e-4f-3d-11-fb:/var/cache/chef/cookbooks/pacemaker/libraries# ll
> total 16
> drwxr-xr-x 2 root root 4096 Apr 28 10:55 ./
> drwxr-xr-x 8 root root 4096 Apr 28 07:42 ../
> -rw------- 1 root root  385 Apr 28 07:42 pacemaker.rb
> -rw------- 1 root root  545 Apr 28 07:42 stonith.rb
>
> This may be related with the https://tickets.opscode.com/browse/CHEF-672

s/may be/is extremely likely to be/ ;-)

> At Ubuntu, chef-client version is 10.18.2. When i apply the proposal i even
> get LoadError: no such file to load --
> /var/cache/chef/cookbooks/pacemaker/libraries/pacemaker/resource/primitive
> since there is no such directory and file. Not sure whether there is a
> workaround for it except from flattening the directory.

This is a Chef bug for sure.  Like I said on IRC, the one-line patch
fixed it for us:

  https://github.com/opscode/chef/pull/760

I'm really surprised it didn't work for you too, and I'm wondering if
you missed a step after applying the patch, e.g. restarting the
chef-client daemon?

If you cannot debug it yourself then I recommend asking the Chef
community for help.

I am sorry but I really don't want to flatten the directory to work
around a simple bug.  That would make a lot of things really ugly.

_______________________________________________
Crowbar mailing list
Crowbar@dell.com
https://lists.us.dell.com/mailman/listinfo/crowbar
For more information: http://crowbar.github.com/

Reply via email to