Resource Type: clickhouse_database

Defined in:
lib/puppet/type/clickhouse_database.rb
Providers:
clickhouse

Summary

Manages databases on ClickHouse server

Overview

Properties

  • engine (defaults to: Ordinary)

    Engine of the database

    Supported values:
    • Lazy
    • MySQL
    • Ordinary
  • ensure (defaults to: present)

    CREATE or DROP DATABASE

    Supported values:
    • present
    • absent

Parameters

  • engine_settings

    This parameter depends on the ‘engine` parameter: Lazy: must be Integer MySQL: must be Array[String, 4, 4] Ordinary: must be undefined

    See: clickhouse.tech/docs/en/engines/database_engines/

  • force (defaults to: false)

    DROP database even if it contains tables

    If ENGINE=MySQL for an existing database, it will be dropped anyway since it’s just a connector

    Supported values:
    • true
    • false
    • yes
    • no
  • name (namevar)

    Name of the database

  • provider

    The specific backend to use for this ‘clickhouse_database` resource. You will seldom need to specify this — Puppet will usually discover the appropriate provider for your platform.