Showing 1 of 7 total issues
Method action_enable
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def action_enable
notifying_block do
package new_resource.package_name do
version new_resource.version unless new_resource.version.nil?
only_if { new_resource.install_method == 'package' }