On Mon, Jul 23, 2012 at 8:43 PM, Dan Bode <d...@puppetlabs.com> wrote:

>
>
> On Mon, Jul 23, 2012 at 3:43 PM, Ryan Bowlby <rbowlb...@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:
>
> https://github.com/puppetlabs/puppetlabs-openstack/blob/master/Rakefile
>
> I would love to see something like this eventually expanded into the
> Modulefile.
>
> I havent really looked at librarian yet, but I am interested.
>

I probably should have looked into puppet librarian before sending this
email. Its very similar to the custom yaml files with rake tasks that I had
mentioned before. I should actually be able to remove my custom yaml files
and drop in puppet-librarian.


>
>
>> We are in the midst of determining which route is optimal for our
>> environment. It seems like using git superprojects would mean one less new
>> tool for everyone to learn. What then would be the advantages of
>> librarian-puppet?
>>
>> Thanks,
>> Ryan Bowlby
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Puppet Users" group.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msg/puppet-users/-/4Kf47PY2sIwJ.
>> To post to this group, send email to puppet-users@googlegroups.com.
>> To unsubscribe from this group, send email to
>> puppet-users+unsubscr...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/puppet-users?hl=en.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to