puppetlabs/puppet-acceptance — pull request #310 by justinstoller (2012-10-10 21:06:44+00:00)
Title: (maint) unify installing repositories

While maintaining backwards compatibility with our existing `--puppet`, `--hiera`, `--facter`, `--hiera-puppet`, `--yagr` flags, this adds a new flag intended to eventually replace/unify all of them: `--install`,

It can be used multiple times to specifiy additional uris to install from and can be declared with an array in an options file.

Examples:

with flags:

````bash

$ ./systest.rb --tests templates/PassTest.rb \
--config test.cfg --type git \
--install git://github.com/puppetlabs/puppet.git#master \
--install git://github.com/puppetlabs/hiera.git#1.0.0 \
--install git://github.com/puppetlabs/facter.git#1.6.x \
--install git://github.com/puppetlabs/hiera_puppet

````

Using an options file:

````bash

$ cat options.rb
{
:test => [ 'template/PassTest.rb' ],
:config => 'test.cfg',
:timesync => true,
:ntpserver => 'us.pool.ntp.org',
:type => 'git',
:installonly => true,
:install => [ 'git://github.com/puppetlabs/hiera-puppet.git',
'git://github.com/puppetlabs/facter.git#1.6.x',
'git://github.com/puppetlabs/hiera.git#1.0.0',
'git://github.com/puppetlabs/puppet.git#master' ]
}

$ ./systest.rb -o options.rb

````

You can see this branch working successfully (as far as the changeset is concerned) with the Puppet mater branch using old `--{project}` syntax here:
http://slave-sles11.puppetlabs.lan:8080/view/Harness%20Testing/job/Vs%20FOSS%20Linux%20%28master%29/29/