code: def _username():
      '''
      Grain for the minion username
      '''
      if pwd:
          username = pwd.getpwuid(os.getuid()).pw_name
      else:
          username = getpass.getuser()
  
      return usernamf _username():
      '''
      Grain for the minion username
      '''
      if pwd:
          username = pwd.getpwuid(os.getuid()).pw_name
      else:
          username = getpass.getuser()
  
      return username
docs: Grain for the minion username