rodjek / librarian-puppet

http://librarian-puppet.com
MIT License
693 stars 209 forks source link

multiple :git sources #275

Open nvalentine-puppetlabs opened 9 years ago

nvalentine-puppetlabs commented 9 years ago

It would be excellent to be able to specify a list of :git resources from which to pull a module just in case the primary is down/unreachable from the current network. Example:

module 'nrvale0/postfix',
  :git => ['https://github.com/nrvale0/puppet-postfix', 'https://bitbucket.org/nrvale0/puppet-postfix'],
  :ref => '2.0.0'

A specific use case: when doing development with a set of nodes (master + agents) in a Vagrant environment which has no access to internal git servers but access to private repos on bitbucket.

nvalentine-puppetlabs commented 9 years ago

@adrienthebo: per r10k