code: def create_db(name, **client_args):
      '''
      Create a database.
  
      name
          Name of the database to create.
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' influxdb.create_db <name>
      '''
      if db_exists(name, **client_args):
          log.info('DB \'%s\' already exists', name)
          return False
  
      client = _client(**client_args)
      client.create_database(name)
  
      return Truf create_db(name, **client_args):
      '''
      Create a database.
  
      name
          Name of the database to create.
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' influxdb.create_db <name>
      '''
      if db_exists(name, **client_args):
          log.info('DB \'%s\' already exists', name)
          return False
  
      client = _client(**client_args)
      client.create_database(name)
  
      return True
docs: Create a database.
  
      name
          Name of the database to create.
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' influxdb.create_db <name>