Method: Puppetize::Controler#reset

Defined in:
lib/puppetize/puppetize.rb

#resetObject



207
208
209
210
211
212
213
214
215
216
# File 'lib/puppetize/puppetize.rb', line 207

def reset

  @trackdirs.each do |track|
    FileUtils.rm_rf File.join(track[:path],'.git') if File.exists? File.join(track[:path],'.git')
  end

  FileUtils.rm @rpm_db if File.exists? @rpm_db
  FileUtils.rm_rf 'puppetize-module' if File.exists? 'puppetize-module'

end