summaryrefslogtreecommitdiff
path: root/lib/puppet/provider/vcsrepo/svn.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/puppet/provider/vcsrepo/svn.rb')
-rw-r--r--lib/puppet/provider/vcsrepo/svn.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/provider/vcsrepo/svn.rb b/lib/puppet/provider/vcsrepo/svn.rb
index 5fa586d..f712bf5 100644
--- a/lib/puppet/provider/vcsrepo/svn.rb
+++ b/lib/puppet/provider/vcsrepo/svn.rb
@@ -20,7 +20,7 @@ Puppet::Type.type(:vcsrepo).provide(:svn, :parent => Puppet::Provider::Vcsrepo)
end
def exists?
- File.directory?(@resource.value(:path))
+ File.directory?(File.join(@resource.value(:path), '.svn'))
end
def destroy