Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

git: actually use the remote parameter #115

Merged
merged 1 commit into from
Jan 11, 2014
Merged

git: actually use the remote parameter #115

merged 1 commit into from
Jan 11, 2014

Conversation

mciurcio
Copy link

When using the following sample, the provider does not use the value of remote
when cloning a repository:

vcsrepo {'/path/to/repo':
   ensure => 'present',
   provider => 'git',
   remote => 'test',
   source => 'git@somerepo:repo.git',
}
$ git remote
origin

This commit makes sure that the new repository has a remote with the
supplied value.

Closes #MODULES-430

When using the following sample, the provider does not use the value of remote
when cloning a repository:

vcsrepo {'/path/to/repo':
   ensure => 'present',
   provider => 'git',
   remote => 'test',
   source => 'git@somerepo:repo.git',
}

$ git remote
origin

This commit makes sure that the new repository has a remote with the
supplied value.

Closes #MODULES-430
apenney pushed a commit that referenced this pull request Jan 11, 2014
…_a_repo

git: actually use the remote parameter
@apenney apenney merged commit f252283 into puppetlabs:master Jan 11, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants