i''m using the vcsrepo type to test creating a simple repo like so: class repotest { vcsrepo { "/tmp/git-test": ensure => bare, provider => "git", } } the client (os x, puppet 2.7.5) picks up the custom type from the master (centos 5.6, puppet 2.7.4) via pluginsync and creates the repository with svn instead: warning: Found multiple default providers for vcsrepo: svn, cvs, hg, git; using svn this might just be a simple oversight on my part. am i missing something? -- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Question - does it still work for you? I think this might be just telling you what its default has fallen back to. Your override using the provider => "git" bit should still work right? ken. On Wed, Oct 26, 2011 at 1:19 AM, nate <foilpan@gmail.com> wrote:> i''m using the vcsrepo type to test creating a simple repo like so: > > class repotest { > vcsrepo { "/tmp/git-test": > ensure => bare, > provider => "git", > } > } > > the client (os x, puppet 2.7.5) picks up the custom type from the > master (centos 5.6, puppet 2.7.4) via pluginsync and creates the > repository with svn instead: > > warning: Found multiple default providers for vcsrepo: svn, cvs, hg, > git; using svn > > this might just be a simple oversight on my part. am i missing > something? > > -- > 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+unsubscribe@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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
On Wed, Oct 26, 2011 at 12:19 AM, nate <foilpan@gmail.com> wrote:> i''m using the vcsrepo type to test creating a simple repo like so: > > class repotest { > vcsrepo { "/tmp/git-test": > ensure => bare, > provider => "git", > } > } > > the client (os x, puppet 2.7.5) picks up the custom type from the > master (centos 5.6, puppet 2.7.4) via pluginsync and creates the > repository with svn instead: > > warning: Found multiple default providers for vcsrepo: svn, cvs, hg, > git; using svn > > this might just be a simple oversight on my part. am i missing > something?Erroneous message, if you run with puppet apply/agent -d I''m pretty sure it''s still using git, and not the svn command. See: http://projects.puppetlabs.com/issues/6403 I''m looking at a way to fix it, and my first stab changing defaultto on my github branch isn''t quite working, so ideas welcomed. Thanks, Nan -- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
yeah, that looks to be the case. error message needs to be more specific, i guess. it does create a git repo. the error threw me off, because i remember it worked fine awhile back. thanks, nan and ken. On Oct 25, 8:24 pm, Nan Liu <n...@puppetlabs.com> wrote:> On Wed, Oct 26, 2011 at 12:19 AM, nate <foil...@gmail.com> wrote: > > i''m using the vcsrepo type to test creating a simple repo like so: > > > class repotest { > > vcsrepo { "/tmp/git-test": > > ensure => bare, > > provider => "git", > > } > > } > > > the client (os x, puppet 2.7.5) picks up the custom type from the > > master (centos 5.6, puppet 2.7.4) via pluginsync and creates the > > repository with svn instead: > > > warning: Found multiple default providers for vcsrepo: svn, cvs, hg, > > git; using svn > > > this might just be a simple oversight on my part. am i missing > > something? > > Erroneous message, if you run with puppet apply/agent -d I''m pretty > sure it''s still using git, and not the svn command. > > See:http://projects.puppetlabs.com/issues/6403 > > I''m looking at a way to fix it, and my first stab changing defaultto > on my github branch isn''t quite working, so ideas welcomed. > > Thanks, > > Nan-- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.