applicationsonline/librarian — Issue #36: librarian-chef update does not pick up changes from remote git repositories
Author: databus23
Created: 2012-02-02 16:28:11+00:00
State: open

I'm having trouble updating cookbooks from remote git repositories with librarian-chef update.

I have a cookbook included in my Cheffile like this:

cookbook 'system', :git => 'git://mygitserver.example.com/system.git', :ref=>'master'

It looks to me that after the initial caching(cloning) of the remote repository in tmp/librarian/cache/source/git/... new commits in the master branch don't get pulled at all.

The solution for me is to issue a librarian-chef clean to flush the cache. After that a librarian-chef update pulls in the latest changes from the upstream repository.

I'm I missing something or is this a bug in librarian?