code: def assign(name, value):
      '''
      Assign a single sysctl parameter for this minion
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' sysctl.assign net.inet.ip.forwarding 1
      '''
      ret = {}
      cmd = 'sysctl {0}="{1}"'.format(name, value)
      data = __salt__['cmd.run_all'](cmd)
  
      # Certain values cannot be set from this console, at the current
      # securelevel or there are other restrictions that prevent us
      # from applying the setting rightaway.
      if re.match(r'^sysctl:.*: Operation not permitted$', data['stderr']) or \
        data['retcode'] != 0:
          raise CommandExecutionError('sysctl failed: {0}'.format(
              data['stderr']))
      new_name, new_value = data['stdout'].split(':', 1)
      ret[new_name] = new_value.split(' -> ')[-1]
      return ref assign(name, value):
      '''
      Assign a single sysctl parameter for this minion
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' sysctl.assign net.inet.ip.forwarding 1
      '''
      ret = {}
      cmd = 'sysctl {0}="{1}"'.format(name, value)
      data = __salt__['cmd.run_all'](cmd)
  
      # Certain values cannot be set from this console, at the current
      # securelevel or there are other restrictions that prevent us
      # from applying the setting rightaway.
      if re.match(r'^sysctl:.*: Operation not permitted$', data['stderr']) or \
        data['retcode'] != 0:
          raise CommandExecutionError('sysctl failed: {0}'.format(
              data['stderr']))
      new_name, new_value = data['stdout'].split(':', 1)
      ret[new_name] = new_value.split(' -> ')[-1]
      return ret
docs: Assign a single sysctl parameter for this minion
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' sysctl.assign net.inet.ip.forwarding 1