    # File lib/chef/provider/ifconfig.rb, line 103
          def action_enable
            # check to see if load_current_resource found ifconfig
            # enables, but does not manage config files
            unless @current_resource.inet_addr
              unless @new_resource.device == "lo"
                command = "ifconfig #{@new_resource.device} #{@new_resource.name}"
                command << " netmask #{@new_resource.mask}" if @new_resource.mask
                command << " metric #{@new_resource.metric}" if @new_resource.metric
                command << " mtu #{@new_resource.mtu}" if @new_resource.mtu
              end

              run_command(
                :command => command
              )
              Chef::Log.info("#{@new_resource} enabled")
              @new_resource.updated_by_last_action(true)
            end
          end