lib/cleanup_helper.rb
Method clean_puppet
has 49 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def clean_puppet
if Foreman::Plugin.find(:foreman_puppet)
warn('You have the Puppet plugin installed, uninstall it first to purge puppet data')
return false
end