On Mon, Nov 19, 2012 at 4:01 AM, bowlby <bramenn...@gmail.com> wrote:

> Hi,
> I'm running into a problem using the puppetlabs provided vcsrepo-module.
> It keeps giving the same error:
>
> --------------
> notice: /Stage[main]//Vcsrepo[/usr/share/test2]/ensure: Creating
> repository from latest
> err: /Stage[main]//Vcsrepo[/usr/share/test2]/ensure: change from absent to
> latest failed: Could not create repository (non-repository at path)
>

Does /usr/share/test2 already exist prior to the Vcsrepo resource being
enforced on your system?

I can't find the appropriate bug against vcsrepo right now (
https://projects.puppetlabs.com/projects/modules/issues?query_id=185) but I
suspect that this problem stems from a bug where vcsrepo wants to be the
one to create the test2 directory and cannot.

If this turns out to be your problem, I'll find/create a bug report on it
and send it your way. Sorry for the inconvenience.

--Ryan



> --------------
>
> This is in my vcs.pp and when I run, puppet apply ./vcs.pp
> I keep getting the error below. When I run git clone as the user it runs
> fine.
> Anybody any suggestions?
>
> --------------
> Exec { path => "/bin:/usr/bin:/sbin:/usr/sbin", }
>
> vcsrepo { '/usr/share/test2':
>                 ensure   => latest,
>                 provider => git,
>                 revision => 'master',
>                 path    => '/usr/share/test2',
>                 user     => "user",
>                 source => 'git://
> github.com/puppetlabs/puppetlabs-vcsrepo.git'
>             }
> -
>
> --
> 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/-/Oa4SscXpWJ0J.
> 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.
>



-- 
Ryan Coleman | Modules & Forge | @ryanycoleman | ryancoleman in #puppet

-- 
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