Skip to content

Commit

Permalink
Merge pull request puppetlabs#12 from webfactory/fix_9083
Browse files Browse the repository at this point in the history
Fix (#9083) as suggested by the original bug reporter.
  • Loading branch information
jamtur01 committed Nov 12, 2011
2 parents f32f15d + 53a5665 commit fc561e8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/puppet/provider/vcsrepo/cvs.rb
Expand Up @@ -24,6 +24,10 @@ def exists?
File.directory?(directory)
end

def working_copy_exists?
File.directory?(File.join(@resource.value(:path), 'CVS'))
end

def destroy
FileUtils.rm_rf(@resource.value(:path))
end
Expand Down

0 comments on commit fc561e8

Please sign in to comment.