code: def profile(profile_name):
      '''
      Activate specified profile
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' tuned.profile virtual-guest
      '''
  
      # run tuned-adm with the profile specified
      result = __salt__['cmd.retcode']('tuned-adm profile {0}'.format(profile_name))
      if int(result) != 0:
          return False
      return '{0}'.format(profile_namef profile(profile_name):
      '''
      Activate specified profile
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' tuned.profile virtual-guest
      '''
  
      # run tuned-adm with the profile specified
      result = __salt__['cmd.retcode']('tuned-adm profile {0}'.format(profile_name))
      if int(result) != 0:
          return False
      return '{0}'.format(profile_name)
docs: Activate specified profile
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' tuned.profile virtual-guest