On Mon, Jul 23, 2012 at 3:43 PM, Ryan Bowlby
<rbow...@gmail.com> wrote:
Can anyone comment on their experiences with librarian-puppet or using git superproject with per puppet module repositories?
I tried using git submodules for a long time. I found that I just could not keep up with updating changed modules in two places (the module repo and the superproject repo). I wound up with projects that were never quite in sync.
My other problem is that the puppet ecosystem (the forge, etc) does not really have a concept of a super project. All that it has is modules.
I wound up switching to yaml files that specify dependencies with a rake task. This way, I can have superprojects that are themselves puppet modules. It also allows me to only check in the fact that master of all modules should work with master of its dependencies (which is almost always the state that I want checked-in)
For an example, have a look at the rake tasks for the puppetlabs-openstack modules:
I would love to see something like this eventually expanded into the Modulefile.
I havent really looked at librarian yet, but I am interested.