code: def enabled(name):
      '''
      Enable the RDP service and make sure access to the RDP
      port is allowed in the firewall configuration
      '''
      ret = {'name': name,
             'result': True,
             'changes': {},
             'comment': ''}
  
      stat = __salt__['rdp.status']()
  
      if not stat:
          if __opts__['test']:
              ret['result'] = None
              ret['comment'] = 'RDP will be enabled'
              return ret
  
          ret['result'] = __salt__['rdp.enable']()
          ret['changes'] = {'RDP was enabled': True}
          return ret
  
      ret['comment'] = 'RDP is enabled'
      return ref enabled(name):
      '''
      Enable the RDP service and make sure access to the RDP
      port is allowed in the firewall configuration
      '''
      ret = {'name': name,
             'result': True,
             'changes': {},
             'comment': ''}
  
      stat = __salt__['rdp.status']()
  
      if not stat:
          if __opts__['test']:
              ret['result'] = None
              ret['comment'] = 'RDP will be enabled'
              return ret
  
          ret['result'] = __salt__['rdp.enable']()
          ret['changes'] = {'RDP was enabled': True}
          return ret
  
      ret['comment'] = 'RDP is enabled'
      return ret
docs: Enable the RDP service and make sure access to the RDP
      port is allowed in the firewall configuration