Project

General

Profile

Download (172 Bytes) Statistics
| Branch: | Tag: | Revision:
class HostObserver < ActiveRecord::Observer

def after_destroy(host)
return true if Rails.env == "test" or host.puppetca?

GW::Puppetca.clean host.name
end
end
(21-21/54)