Revision 9bb4e25f
Added by Ohad Levy about 12 years ago
- ID 9bb4e25f77db6771096a83185dc6ce41c8be9e7f
app/models/host_common.rb | ||
---|---|---|
end
|
||
|
||
def puppetca?
|
||
return false if self.respond_to?(:managed?) and !managed?
|
||
!!(puppet_ca_proxy and puppet_ca_proxy.url.present?)
|
||
end
|
||
|
Also available in: Unified diff
fixes #1600 - records are deleted even though host is not Managed