diff options
author | Bruce Williams <bruce@codefluency.com> | 2010-03-18 01:02:02 -0700 |
---|---|---|
committer | Bruce Williams <bruce@codefluency.com> | 2010-03-18 01:02:02 -0700 |
commit | af86e9ba814926f9ee236aabc2ca905b5668af70 (patch) | |
tree | cc7d51046dbe0421b8f70bc1f1cca006a994fc2c /lib/puppet | |
parent | dfb28337ce3c0743ed17ed21f5bab7e1692144bf (diff) |
Subversion to use provider example group API for specs
Diffstat (limited to 'lib/puppet')
-rw-r--r-- | lib/puppet/provider/vcsrepo/svn.rb | 2 |
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 |