Issue #8331 has been updated by Theo Cabrerizo Diem.

(don't know why the formatting went away when submitting)

I’m trying to setup a svn central repository.

    # puppet resource vcsrepo /tmp/test ensure=present provider=svn

    warning: Found multiple default providers for vcsrepo: svn, git; using svn
    notice: /Vcsrepo[/tmp/test]/ensure: created vcsrepo { '/tmp/test': ensure 
=> 'absent', }
    
Repository is created, I can check out, work, commit , but then if I run the 
same puppet line again: 
    # puppet resource vcsrepo /tmp/test ensure=present provider=svn
    err: /Vcsrepo[/tmp/test]/ensure: change from absent to present failed: 
Execution of ‘/usr/bin/svnadmin create /tmp/test’ returned 1: svnadmin: 
‘/tmp/test’ is a subdirectory of an existing repository rooted at ‘/tmp/test’
    vcsrepo { ‘/tmp/test’: ensure => ‘absent’, }`

Shouldn’t it report as ‘present’, line when it did create it ?

----------------------------------------
Bug #8331: vcsrepo: svn provider flags local repository as absent even when it 
was created with puppet
https://projects.puppetlabs.com/issues/8331

Author: Theo Cabrerizo Diem
Status: Unreviewed
Priority: Normal
Assignee: 
Category: 
Target version: 
Keywords: 
Branch: 
Module: 


I'm trying to setup a svn central repository.

`puppet resource vcsrepo /tmp/test ensure=present provider=svn
warning: Found multiple default providers for vcsrepo: svn, git; using svn
notice: /Vcsrepo[/tmp/test]/ensure: created
vcsrepo { '/tmp/test':
  ensure => 'absent',
}`

Repository is create, I can check out, work, commit , but then if I run puppet 
again:
`puppet resource vcsrepo /tmp/test ensure=present provider=svn
err: /Vcsrepo[/tmp/test]/ensure: change from absent to present failed: 
Execution of '/usr/bin/svnadmin create /tmp/test' returned 1: svnadmin: 
'/tmp/test' is a
subdirectory of an existing repository rooted at '/tmp/test'

vcsrepo { '/tmp/test':
  ensure => 'absent',
}`

Shouldn't it report as 'present' even when it did create it ?


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to