code: def module_install(name):
      '''
      Installs custom SELinux module from given file
  
      name
          Path to file with module to install
  
      .. versionadded:: 2016.11.6
      '''
      ret = {'name': name,
             'result': True,
             'comment': '',
             'changes': {}}
      if __salt__['selinux.install_semod'](name):
          ret['comment'] = 'Module {0} has been installed'.format(name)
          return ret
      ret['result'] = False
      ret['comment'] = 'Failed to install module {0}'.format(name)
      return ref module_install(name):
      '''
      Installs custom SELinux module from given file
  
      name
          Path to file with module to install
  
      .. versionadded:: 2016.11.6
      '''
      ret = {'name': name,
             'result': True,
             'comment': '',
             'changes': {}}
      if __salt__['selinux.install_semod'](name):
          ret['comment'] = 'Module {0} has been installed'.format(name)
          return ret
      ret['result'] = False
      ret['comment'] = 'Failed to install module {0}'.format(name)
      return ret
docs: Installs custom SELinux module from given file
  
      name
          Path to file with module to install
  
      .. versionadded:: 2016.11.6