Librarian Chef and Local Chef Server

86 Views Asked by At

We are trying to use Librarian Chef with a local corporate chef server. This Chef Server Requires Authentication and is running version 12. When attempting to use Librarian Chef with this Server, It appears that it will not authenticate. I get a response with the html content of the login page. I was hoping to find a way to get this to work.

I have used berks (using berks install --path /some/path) in the past to manage a cookbook packages but it appears the newer versions do not support creating a global dependency management and only work on individual cookbook dependencies.

**** Note the librarian and librarian-chef repos appear to be abandonded https://github.com/applicationsonline/librarian-chef https://github.com/applicationsonline/librarian These should be avoided.

After some more research it appears the command for berks gives me the same effect as the command noted above in the newer versions

berks vendor ./some/path

1

There are 1 best solutions below

2
On BEST ANSWER

Librarian has been abandoned for many years. It is not recommended in any way. Use Berkshelf or Policyfiles if you want a supported UX, or maybe Batali if you want something off the beaten path (just don't expect to get much help if you go that route). Berks works fine for global dependency management, in fact that's the cornerstone of the environment cookbook pattern.