diff --git a/.puppet-lint.rc b/.puppet-lint.rc index 05d28a2..1d9101e 100644 --- a/.puppet-lint.rc +++ b/.puppet-lint.rc @@ -1,5 +1,8 @@ # Managed by modulesync - DO NOT EDIT # https://voxpupuli.org/docs/updating-files-managed-with-modulesync/ +# Just as a test +--no-autoloader_layout-check +--no-inherits_across_namespaces-check --fail-on-warnings --no-parameter_documentation-check diff --git a/REFERENCE.md b/REFERENCE.md index e9ffb63..6f2a9db 100644 --- a/REFERENCE.md +++ b/REFERENCE.md @@ -8,11 +8,12 @@ #### Public Classes -* [`puppetdb`](#puppetdb): manage PuppetDB +* [`openvoxdb`](#openvoxdb): manage PuppetDB +* [`puppetdb`](#puppetdb): Wrappers for drop-in compatibility * [`puppetdb::database::postgresql`](#puppetdb--database--postgresql): create the PuppetDB postgresql database * [`puppetdb::globals`](#puppetdb--globals): global configuration class for PuppetDB * [`puppetdb::master::config`](#puppetdb--master--config): manage the puppet configuration on the primary -* [`puppetdb::server`](#puppetdb--server): manage the PuppetDB server +* [`puppetdb::server`](#puppetdb--server): manage the OpenVoxDB server #### Private Classes @@ -56,99 +57,99 @@ ## Classes -### `puppetdb` +### `openvoxdb` manage PuppetDB #### Parameters -The following parameters are available in the `puppetdb` class: - -* [`listen_address`](#-puppetdb--listen_address) -* [`listen_port`](#-puppetdb--listen_port) -* [`disable_cleartext`](#-puppetdb--disable_cleartext) -* [`open_listen_port`](#-puppetdb--open_listen_port) -* [`ssl_listen_address`](#-puppetdb--ssl_listen_address) -* [`ssl_listen_port`](#-puppetdb--ssl_listen_port) -* [`disable_ssl`](#-puppetdb--disable_ssl) -* [`open_ssl_listen_port`](#-puppetdb--open_ssl_listen_port) -* [`ssl_protocols`](#-puppetdb--ssl_protocols) -* [`postgresql_ssl_on`](#-puppetdb--postgresql_ssl_on) -* [`postgresql_ssl_folder`](#-puppetdb--postgresql_ssl_folder) -* [`postgresql_ssl_cert_path`](#-puppetdb--postgresql_ssl_cert_path) -* [`postgresql_ssl_key_path`](#-puppetdb--postgresql_ssl_key_path) -* [`postgresql_ssl_ca_cert_path`](#-puppetdb--postgresql_ssl_ca_cert_path) -* [`cipher_suites`](#-puppetdb--cipher_suites) -* [`migrate`](#-puppetdb--migrate) -* [`manage_dbserver`](#-puppetdb--manage_dbserver) -* [`manage_database`](#-puppetdb--manage_database) -* [`manage_package_repo`](#-puppetdb--manage_package_repo) -* [`postgres_version`](#-puppetdb--postgres_version) -* [`database_host`](#-puppetdb--database_host) -* [`database_port`](#-puppetdb--database_port) -* [`database_username`](#-puppetdb--database_username) -* [`database_password`](#-puppetdb--database_password) -* [`manage_db_password`](#-puppetdb--manage_db_password) -* [`database_name`](#-puppetdb--database_name) -* [`jdbc_ssl_properties`](#-puppetdb--jdbc_ssl_properties) -* [`database_listen_address`](#-puppetdb--database_listen_address) -* [`database_validate`](#-puppetdb--database_validate) -* [`node_ttl`](#-puppetdb--node_ttl) -* [`node_purge_ttl`](#-puppetdb--node_purge_ttl) -* [`report_ttl`](#-puppetdb--report_ttl) -* [`facts_blacklist`](#-puppetdb--facts_blacklist) -* [`gc_interval`](#-puppetdb--gc_interval) -* [`node_purge_gc_batch_limit`](#-puppetdb--node_purge_gc_batch_limit) -* [`conn_max_age`](#-puppetdb--conn_max_age) -* [`conn_lifetime`](#-puppetdb--conn_lifetime) -* [`puppetdb_package`](#-puppetdb--puppetdb_package) -* [`puppetdb_service`](#-puppetdb--puppetdb_service) -* [`puppetdb_service_status`](#-puppetdb--puppetdb_service_status) -* [`puppetdb_user`](#-puppetdb--puppetdb_user) -* [`puppetdb_group`](#-puppetdb--puppetdb_group) -* [`puppetdb_server`](#-puppetdb--puppetdb_server) -* [`confdir`](#-puppetdb--confdir) -* [`vardir`](#-puppetdb--vardir) -* [`java_args`](#-puppetdb--java_args) -* [`merge_default_java_args`](#-puppetdb--merge_default_java_args) -* [`max_threads`](#-puppetdb--max_threads) -* [`read_database_host`](#-puppetdb--read_database_host) -* [`read_database_port`](#-puppetdb--read_database_port) -* [`read_database_username`](#-puppetdb--read_database_username) -* [`read_database_password`](#-puppetdb--read_database_password) -* [`manage_read_db_password`](#-puppetdb--manage_read_db_password) -* [`read_database_jdbc_ssl_properties`](#-puppetdb--read_database_jdbc_ssl_properties) -* [`read_database_validate`](#-puppetdb--read_database_validate) -* [`read_database_name`](#-puppetdb--read_database_name) -* [`read_conn_max_age`](#-puppetdb--read_conn_max_age) -* [`read_conn_lifetime`](#-puppetdb--read_conn_lifetime) -* [`ssl_dir`](#-puppetdb--ssl_dir) -* [`ssl_set_cert_paths`](#-puppetdb--ssl_set_cert_paths) -* [`ssl_cert_path`](#-puppetdb--ssl_cert_path) -* [`ssl_key_pk8_path`](#-puppetdb--ssl_key_pk8_path) -* [`ssl_key_path`](#-puppetdb--ssl_key_path) -* [`ssl_ca_cert_path`](#-puppetdb--ssl_ca_cert_path) -* [`ssl_deploy_certs`](#-puppetdb--ssl_deploy_certs) -* [`ssl_key`](#-puppetdb--ssl_key) -* [`ssl_cert`](#-puppetdb--ssl_cert) -* [`ssl_ca_cert`](#-puppetdb--ssl_ca_cert) -* [`manage_firewall`](#-puppetdb--manage_firewall) -* [`command_threads`](#-puppetdb--command_threads) -* [`concurrent_writes`](#-puppetdb--concurrent_writes) -* [`store_usage`](#-puppetdb--store_usage) -* [`temp_usage`](#-puppetdb--temp_usage) -* [`disable_update_checking`](#-puppetdb--disable_update_checking) -* [`certificate_whitelist_file`](#-puppetdb--certificate_whitelist_file) -* [`certificate_whitelist`](#-puppetdb--certificate_whitelist) -* [`database_max_pool_size`](#-puppetdb--database_max_pool_size) -* [`read_database_max_pool_size`](#-puppetdb--read_database_max_pool_size) -* [`automatic_dlo_cleanup`](#-puppetdb--automatic_dlo_cleanup) -* [`cleanup_timer_interval`](#-puppetdb--cleanup_timer_interval) -* [`dlo_max_age`](#-puppetdb--dlo_max_age) -* [`java_bin`](#-puppetdb--java_bin) -* [`postgresql_password_encryption`](#-puppetdb--postgresql_password_encryption) - -##### `listen_address` +The following parameters are available in the `openvoxdb` class: + +* [`listen_address`](#-openvoxdb--listen_address) +* [`listen_port`](#-openvoxdb--listen_port) +* [`disable_cleartext`](#-openvoxdb--disable_cleartext) +* [`open_listen_port`](#-openvoxdb--open_listen_port) +* [`ssl_listen_address`](#-openvoxdb--ssl_listen_address) +* [`ssl_listen_port`](#-openvoxdb--ssl_listen_port) +* [`disable_ssl`](#-openvoxdb--disable_ssl) +* [`open_ssl_listen_port`](#-openvoxdb--open_ssl_listen_port) +* [`ssl_protocols`](#-openvoxdb--ssl_protocols) +* [`postgresql_ssl_on`](#-openvoxdb--postgresql_ssl_on) +* [`postgresql_ssl_folder`](#-openvoxdb--postgresql_ssl_folder) +* [`postgresql_ssl_cert_path`](#-openvoxdb--postgresql_ssl_cert_path) +* [`postgresql_ssl_key_path`](#-openvoxdb--postgresql_ssl_key_path) +* [`postgresql_ssl_ca_cert_path`](#-openvoxdb--postgresql_ssl_ca_cert_path) +* [`cipher_suites`](#-openvoxdb--cipher_suites) +* [`migrate`](#-openvoxdb--migrate) +* [`manage_dbserver`](#-openvoxdb--manage_dbserver) +* [`manage_database`](#-openvoxdb--manage_database) +* [`manage_package_repo`](#-openvoxdb--manage_package_repo) +* [`postgres_version`](#-openvoxdb--postgres_version) +* [`database_host`](#-openvoxdb--database_host) +* [`database_port`](#-openvoxdb--database_port) +* [`database_username`](#-openvoxdb--database_username) +* [`database_password`](#-openvoxdb--database_password) +* [`manage_db_password`](#-openvoxdb--manage_db_password) +* [`database_name`](#-openvoxdb--database_name) +* [`jdbc_ssl_properties`](#-openvoxdb--jdbc_ssl_properties) +* [`database_listen_address`](#-openvoxdb--database_listen_address) +* [`database_validate`](#-openvoxdb--database_validate) +* [`node_ttl`](#-openvoxdb--node_ttl) +* [`node_purge_ttl`](#-openvoxdb--node_purge_ttl) +* [`report_ttl`](#-openvoxdb--report_ttl) +* [`facts_blacklist`](#-openvoxdb--facts_blacklist) +* [`gc_interval`](#-openvoxdb--gc_interval) +* [`node_purge_gc_batch_limit`](#-openvoxdb--node_purge_gc_batch_limit) +* [`conn_max_age`](#-openvoxdb--conn_max_age) +* [`conn_lifetime`](#-openvoxdb--conn_lifetime) +* [`puppetdb_package`](#-openvoxdb--puppetdb_package) +* [`puppetdb_service`](#-openvoxdb--puppetdb_service) +* [`puppetdb_service_status`](#-openvoxdb--puppetdb_service_status) +* [`puppetdb_user`](#-openvoxdb--puppetdb_user) +* [`puppetdb_group`](#-openvoxdb--puppetdb_group) +* [`puppetdb_server`](#-openvoxdb--puppetdb_server) +* [`confdir`](#-openvoxdb--confdir) +* [`vardir`](#-openvoxdb--vardir) +* [`java_args`](#-openvoxdb--java_args) +* [`merge_default_java_args`](#-openvoxdb--merge_default_java_args) +* [`max_threads`](#-openvoxdb--max_threads) +* [`read_database_host`](#-openvoxdb--read_database_host) +* [`read_database_port`](#-openvoxdb--read_database_port) +* [`read_database_username`](#-openvoxdb--read_database_username) +* [`read_database_password`](#-openvoxdb--read_database_password) +* [`manage_read_db_password`](#-openvoxdb--manage_read_db_password) +* [`read_database_jdbc_ssl_properties`](#-openvoxdb--read_database_jdbc_ssl_properties) +* [`read_database_validate`](#-openvoxdb--read_database_validate) +* [`read_database_name`](#-openvoxdb--read_database_name) +* [`read_conn_max_age`](#-openvoxdb--read_conn_max_age) +* [`read_conn_lifetime`](#-openvoxdb--read_conn_lifetime) +* [`ssl_dir`](#-openvoxdb--ssl_dir) +* [`ssl_set_cert_paths`](#-openvoxdb--ssl_set_cert_paths) +* [`ssl_cert_path`](#-openvoxdb--ssl_cert_path) +* [`ssl_key_pk8_path`](#-openvoxdb--ssl_key_pk8_path) +* [`ssl_key_path`](#-openvoxdb--ssl_key_path) +* [`ssl_ca_cert_path`](#-openvoxdb--ssl_ca_cert_path) +* [`ssl_deploy_certs`](#-openvoxdb--ssl_deploy_certs) +* [`ssl_key`](#-openvoxdb--ssl_key) +* [`ssl_cert`](#-openvoxdb--ssl_cert) +* [`ssl_ca_cert`](#-openvoxdb--ssl_ca_cert) +* [`manage_firewall`](#-openvoxdb--manage_firewall) +* [`command_threads`](#-openvoxdb--command_threads) +* [`concurrent_writes`](#-openvoxdb--concurrent_writes) +* [`store_usage`](#-openvoxdb--store_usage) +* [`temp_usage`](#-openvoxdb--temp_usage) +* [`disable_update_checking`](#-openvoxdb--disable_update_checking) +* [`certificate_whitelist_file`](#-openvoxdb--certificate_whitelist_file) +* [`certificate_whitelist`](#-openvoxdb--certificate_whitelist) +* [`database_max_pool_size`](#-openvoxdb--database_max_pool_size) +* [`read_database_max_pool_size`](#-openvoxdb--read_database_max_pool_size) +* [`automatic_dlo_cleanup`](#-openvoxdb--automatic_dlo_cleanup) +* [`cleanup_timer_interval`](#-openvoxdb--cleanup_timer_interval) +* [`dlo_max_age`](#-openvoxdb--dlo_max_age) +* [`java_bin`](#-openvoxdb--java_bin) +* [`postgresql_password_encryption`](#-openvoxdb--postgresql_password_encryption) + +##### `listen_address` Data type: `Any` @@ -157,7 +158,7 @@ The address that the web server should bind to for HTTP requests. Defaults to Default value: `$puppetdb::params::listen_address` -##### `listen_port` +##### `listen_port` Data type: `Any` @@ -166,7 +167,7 @@ to `8080`. Default value: `$puppetdb::params::listen_port` -##### `disable_cleartext` +##### `disable_cleartext` Data type: `Any` @@ -174,7 +175,7 @@ If `true`, the puppetdb web server will only serve HTTPS and not HTTP requests ( Default value: `$puppetdb::params::disable_cleartext` -##### `open_listen_port` +##### `open_listen_port` Data type: `Any` @@ -182,7 +183,7 @@ If `true`, open the `http_listen_port` on the firewall. Defaults to `false`. Default value: `$puppetdb::params::open_listen_port` -##### `ssl_listen_address` +##### `ssl_listen_address` Data type: `Any` @@ -191,7 +192,7 @@ The address that the web server should bind to for HTTPS requests. Defaults to Default value: `$puppetdb::params::ssl_listen_address` -##### `ssl_listen_port` +##### `ssl_listen_port` Data type: `Any` @@ -200,7 +201,7 @@ to `8081`. Default value: `$puppetdb::params::ssl_listen_port` -##### `disable_ssl` +##### `disable_ssl` Data type: `Any` @@ -209,7 +210,7 @@ Defaults to `false`. Default value: `$puppetdb::params::disable_ssl` -##### `open_ssl_listen_port` +##### `open_ssl_listen_port` Data type: `Any` @@ -217,7 +218,7 @@ If true, open the `ssl_listen_port` on the firewall. Defaults to `undef`. Default value: `$puppetdb::params::open_ssl_listen_port` -##### `ssl_protocols` +##### `ssl_protocols` Data type: `Any` @@ -225,7 +226,7 @@ Specify the supported SSL protocols for PuppetDB (e.g. TLSv1, TLSv1.1, TLSv1.2.) Default value: `$puppetdb::params::ssl_protocols` -##### `postgresql_ssl_on` +##### `postgresql_ssl_on` Data type: `Any` @@ -234,7 +235,7 @@ Defaults to `false`. Default value: `$puppetdb::params::postgresql_ssl_on` -##### `postgresql_ssl_folder` +##### `postgresql_ssl_folder` Data type: `Any` @@ -242,7 +243,7 @@ Path to the Postgresql SSL folder. Default value: `$puppetdb::params::postgresql_ssl_folder` -##### `postgresql_ssl_cert_path` +##### `postgresql_ssl_cert_path` Data type: `Any` @@ -250,7 +251,7 @@ Path to the Postgresql SSL certificate. Default value: `$puppetdb::params::postgresql_ssl_cert_path` -##### `postgresql_ssl_key_path` +##### `postgresql_ssl_key_path` Data type: `Any` @@ -258,7 +259,7 @@ Path to the Postgresql SSL key. Default value: `$puppetdb::params::postgresql_ssl_key_path` -##### `postgresql_ssl_ca_cert_path` +##### `postgresql_ssl_ca_cert_path` Data type: `Any` @@ -266,7 +267,7 @@ Path to the Postgresql SSL CA. Default value: `$puppetdb::params::postgresql_ssl_ca_cert_path` -##### `cipher_suites` +##### `cipher_suites` Data type: `Any` @@ -275,7 +276,7 @@ Defaults to `undef`. Default value: `$puppetdb::params::cipher_suites` -##### `migrate` +##### `migrate` Data type: `Any` @@ -283,7 +284,7 @@ If `true`, puppetdb will automatically migrate to the latest database format at Default value: `$puppetdb::params::migrate` -##### `manage_dbserver` +##### `manage_dbserver` Data type: `Any` @@ -291,7 +292,7 @@ If true, the PostgreSQL server will be managed by this module. Defaults to `true Default value: `$puppetdb::params::manage_dbserver` -##### `manage_database` +##### `manage_database` Data type: `Any` @@ -299,7 +300,7 @@ If true, the PostgreSQL database will be managed by this module. Defaults to `tr Default value: `$puppetdb::params::manage_database` -##### `manage_package_repo` +##### `manage_package_repo` Data type: `Any` @@ -308,7 +309,7 @@ be installed from the regular repository. Defaults to `true`. Default value: `$puppetdb::params::manage_pg_repo` -##### `postgres_version` +##### `postgres_version` Data type: `Any` @@ -317,7 +318,7 @@ postgres. Defaults to `11` with PuppetDB version 7.0.0 or newer, and `9.6` in ol Default value: `$puppetdb::params::postgres_version` -##### `database_host` +##### `database_host` Data type: `Any` @@ -326,7 +327,7 @@ should be left as the default. Defaults to `localhost`. Default value: `$puppetdb::params::database_host` -##### `database_port` +##### `database_port` Data type: `Any` @@ -334,7 +335,7 @@ The port that the database server listens on. Defaults to `5432`. Default value: `$puppetdb::params::database_port` -##### `database_username` +##### `database_username` Data type: `Any` @@ -342,7 +343,7 @@ The name of the database user to connect as. Defaults to `puppetdb`. Default value: `$puppetdb::params::database_username` -##### `database_password` +##### `database_password` Data type: `Variant[String[1], Sensitive[String[1]]]` @@ -350,7 +351,7 @@ The password for the database user. Defaults to `puppetdb`. Default value: `$puppetdb::params::database_password` -##### `manage_db_password` +##### `manage_db_password` Data type: `Any` @@ -360,7 +361,7 @@ Defaults to `true` Default value: `$puppetdb::params::manage_db_password` -##### `database_name` +##### `database_name` Data type: `Any` @@ -368,7 +369,7 @@ The name of the database instance to connect to. Defaults to `puppetdb`. Default value: `$puppetdb::params::database_name` -##### `jdbc_ssl_properties` +##### `jdbc_ssl_properties` Data type: `Any` @@ -378,7 +379,7 @@ parameter's value to `?ssl=true`. Default value: `$puppetdb::params::jdbc_ssl_properties` -##### `database_listen_address` +##### `database_listen_address` Data type: `Any` @@ -389,7 +390,7 @@ config option. Use a `*` to allow connections on any accessible address. Default value: `$puppetdb::params::postgres_listen_addresses` -##### `database_validate` +##### `database_validate` Data type: `Any` @@ -398,7 +399,7 @@ settings and fail if it is not able to do so. Defaults to `true`. Default value: `$puppetdb::params::database_validate` -##### `node_ttl` +##### `node_ttl` Data type: `Any` @@ -409,7 +410,7 @@ automatically deactivated. (defaults to '7d', which is a 7-day period. Set to Default value: `$puppetdb::params::node_ttl` -##### `node_purge_ttl` +##### `node_purge_ttl` Data type: `Any` @@ -419,7 +420,7 @@ purging). This option is supported in PuppetDB >= 1.2.0. Default value: `$puppetdb::params::node_purge_ttl` -##### `report_ttl` +##### `report_ttl` Data type: `Any` @@ -428,7 +429,7 @@ The length of time reports should be stored before being deleted. (defaults to Default value: `$puppetdb::params::report_ttl` -##### `facts_blacklist` +##### `facts_blacklist` Data type: `Optional[Array]` @@ -436,7 +437,7 @@ A list of fact names to be ignored whenever submitted. Default value: `$puppetdb::params::facts_blacklist` -##### `gc_interval` +##### `gc_interval` Data type: `Any` @@ -446,7 +447,7 @@ default is every 60 minutes. This option is supported in PuppetDB >= 0.9. Default value: `$puppetdb::params::gc_interval` -##### `node_purge_gc_batch_limit` +##### `node_purge_gc_batch_limit` Data type: `Any` @@ -454,7 +455,7 @@ Nodes will be purged in batches of this size, one batch per gc-interval. Default value: `$puppetdb::params::node_purge_gc_batch_limit` -##### `conn_max_age` +##### `conn_max_age` Data type: `Any` @@ -465,7 +466,7 @@ If not supplied, we default to `60` minutes. This option is supported in PuppetD Default value: `$puppetdb::params::conn_max_age` -##### `conn_lifetime` +##### `conn_lifetime` Data type: `Any` @@ -478,7 +479,7 @@ option is supported in PuppetDB >= 1.4. Default value: `$puppetdb::params::conn_lifetime` -##### `puppetdb_package` +##### `puppetdb_package` Data type: `Any` @@ -486,7 +487,7 @@ The PuppetDB package name in the package manager. Defaults to `present`. Default value: `$puppetdb::params::puppetdb_package` -##### `puppetdb_service` +##### `puppetdb_service` Data type: `Any` @@ -494,7 +495,7 @@ The name of the PuppetDB service. Defaults to `puppetdb`. Default value: `$puppetdb::params::puppetdb_service` -##### `puppetdb_service_status` +##### `puppetdb_service_status` Data type: `Any` @@ -504,7 +505,7 @@ service doesn't start on boot either. Valid values are `true`, `running`, Default value: `$puppetdb::params::puppetdb_service_status` -##### `puppetdb_user` +##### `puppetdb_user` Data type: `Any` @@ -512,7 +513,7 @@ Puppetdb service user Default value: `$puppetdb::params::puppetdb_user` -##### `puppetdb_group` +##### `puppetdb_group` Data type: `Any` @@ -520,7 +521,7 @@ Puppetdb service group Default value: `$puppetdb::params::puppetdb_group` -##### `puppetdb_server` +##### `puppetdb_server` Data type: `Any` @@ -528,7 +529,7 @@ Puppetdb server hostname or IP address. Default value: `$puppetdb::params::puppetdb_server` -##### `confdir` +##### `confdir` Data type: `Any` @@ -536,7 +537,7 @@ The PuppetDB configuration directory. Defaults to `/etc/puppetdb/conf.d`. Default value: `$puppetdb::params::confdir` -##### `vardir` +##### `vardir` Data type: `Any` @@ -544,7 +545,7 @@ The parent directory for the MQ's data directory. Default value: `$puppetdb::params::vardir` -##### `java_args` +##### `java_args` Data type: `Any` @@ -562,7 +563,7 @@ For example, to set `-Xmx512m -Xms256m` options use: Default value: `$puppetdb::params::java_args` -##### `merge_default_java_args` +##### `merge_default_java_args` Data type: `Any` @@ -573,7 +574,7 @@ init config file will reflect only what is passed via the `java_args` param. Default value: `$puppetdb::params::merge_default_java_args` -##### `max_threads` +##### `max_threads` Data type: `Any` @@ -582,7 +583,7 @@ PuppetDB-Jetty default is used. Default value: `$puppetdb::params::max_threads` -##### `read_database_host` +##### `read_database_host` Data type: `Any` @@ -594,7 +595,7 @@ parameter. This option is supported in PuppetDB >= 1.6. Default value: `$puppetdb::params::read_database_host` -##### `read_database_port` +##### `read_database_port` Data type: `Any` @@ -604,7 +605,7 @@ the `database_port` parameter. This option is supported in PuppetDB >= 1.6. Default value: `$puppetdb::params::read_database_port` -##### `read_database_username` +##### `read_database_username` Data type: `Any` @@ -613,7 +614,7 @@ option is supported in PuppetDB >= 1.6. Default value: `$puppetdb::params::read_database_username` -##### `read_database_password` +##### `read_database_password` Data type: `Variant[String[1], Sensitive[String[1]]]` @@ -622,7 +623,7 @@ supported in PuppetDB >= 1.6. Default value: `$puppetdb::params::read_database_password` -##### `manage_read_db_password` +##### `manage_read_db_password` Data type: `Any` @@ -632,7 +633,7 @@ Defaults to `true` Default value: `$puppetdb::params::manage_read_db_password` -##### `read_database_jdbc_ssl_properties` +##### `read_database_jdbc_ssl_properties` Data type: `Any` @@ -642,7 +643,7 @@ parameter's value to `?ssl=true`. Default value: `$puppetdb::params::read_database_jdbc_ssl_properties` -##### `read_database_validate` +##### `read_database_validate` Data type: `Any` @@ -651,7 +652,7 @@ settings and fail if it is not able to do so. Defaults to `true`. Default value: `$puppetdb::params::read_database_validate` -##### `read_database_name` +##### `read_database_name` Data type: `Any` @@ -661,7 +662,7 @@ the `database_name` parameter. This option is supported in PuppetDB >= 1.6. Default value: `$puppetdb::params::read_database_name` -##### `read_conn_max_age` +##### `read_conn_max_age` Data type: `Any` @@ -672,7 +673,7 @@ If not supplied, we default to 60 minutes. This option is supported in PuppetDB Default value: `$puppetdb::params::read_conn_max_age` -##### `read_conn_lifetime` +##### `read_conn_lifetime` Data type: `Any` @@ -685,7 +686,7 @@ option is supported in PuppetDB >= 1.6. Default value: `$puppetdb::params::read_conn_lifetime` -##### `ssl_dir` +##### `ssl_dir` Data type: `Any` @@ -694,7 +695,7 @@ or `/etc/puppetlabs/puppetdb/ssl` for FOSS and PE respectively. Default value: `$puppetdb::params::ssl_dir` -##### `ssl_set_cert_paths` +##### `ssl_set_cert_paths` Data type: `Any` @@ -703,7 +704,7 @@ A switch to enable or disable the management of SSL certificates in your Default value: `$puppetdb::params::ssl_set_cert_paths` -##### `ssl_cert_path` +##### `ssl_cert_path` Data type: `Any` @@ -711,7 +712,7 @@ Path to your SSL certificate for populating `jetty.ini`. Default value: `$puppetdb::params::ssl_cert_path` -##### `ssl_key_pk8_path` +##### `ssl_key_pk8_path` Data type: `Any` @@ -720,7 +721,7 @@ the SSL key as needed automatically. Default value: `$puppetdb::params::ssl_key_pk8_path` -##### `ssl_key_path` +##### `ssl_key_path` Data type: `Any` @@ -728,7 +729,7 @@ Path to your SSL key for populating `jetty.ini`. Default value: `$puppetdb::params::ssl_key_path` -##### `ssl_ca_cert_path` +##### `ssl_ca_cert_path` Data type: `Any` @@ -736,7 +737,7 @@ Path to your SSL CA for populating `jetty.ini`. Default value: `$puppetdb::params::ssl_ca_cert_path` -##### `ssl_deploy_certs` +##### `ssl_deploy_certs` Data type: `Any` @@ -745,7 +746,7 @@ A boolean switch to enable or disable the management of SSL keys in your Default value: `$puppetdb::params::ssl_deploy_certs` -##### `ssl_key` +##### `ssl_key` Data type: `Any` @@ -753,7 +754,7 @@ Contents of your SSL key, as a string. Default value: `$puppetdb::params::ssl_key` -##### `ssl_cert` +##### `ssl_cert` Data type: `Any` @@ -761,7 +762,7 @@ Contents of your SSL certificate, as a string. Default value: `$puppetdb::params::ssl_cert` -##### `ssl_ca_cert` +##### `ssl_ca_cert` Data type: `Any` @@ -769,7 +770,7 @@ Contents of your SSL CA certificate, as a string. Default value: `$puppetdb::params::ssl_ca_cert` -##### `manage_firewall` +##### `manage_firewall` Data type: `Any` @@ -778,7 +779,7 @@ If `true`, puppet will manage your iptables rules for PuppetDB via the Default value: `$puppetdb::params::manage_firewall` -##### `command_threads` +##### `command_threads` Data type: `Any` @@ -787,7 +788,7 @@ PuppetDB built-in default. Default value: `$puppetdb::params::command_threads` -##### `concurrent_writes` +##### `concurrent_writes` Data type: `Any` @@ -796,7 +797,7 @@ The number of threads allowed to write to disk at any one time. Defaults to Default value: `$puppetdb::params::concurrent_writes` -##### `store_usage` +##### `store_usage` Data type: `Any` @@ -805,7 +806,7 @@ Defaults to `undef`, using the PuppetDB built-in default. Default value: `$puppetdb::params::store_usage` -##### `temp_usage` +##### `temp_usage` Data type: `Any` @@ -814,7 +815,7 @@ Defaults to `undef`, using the PuppetDB built-in default. Default value: `$puppetdb::params::temp_usage` -##### `disable_update_checking` +##### `disable_update_checking` Data type: `Any` @@ -823,7 +824,7 @@ Defaults to `undef`, using the PuppetDB built-in default. Default value: `$puppetdb::params::disable_update_checking` -##### `certificate_whitelist_file` +##### `certificate_whitelist_file` Data type: `Any` @@ -831,7 +832,7 @@ The name of the certificate whitelist file to set up and configure in PuppetDB. Default value: `$puppetdb::params::certificate_whitelist_file` -##### `certificate_whitelist` +##### `certificate_whitelist` Data type: `Any` @@ -839,7 +840,7 @@ Array of the X.509 certificate Common Names of clients allowed to connect to Pup Default value: `$puppetdb::params::certificate_whitelist` -##### `database_max_pool_size` +##### `database_max_pool_size` Data type: `Any` @@ -848,7 +849,7 @@ Note that PuppetDB will use one pool for writes and another for reads, so the to Default value: `$puppetdb::params::database_max_pool_size` -##### `read_database_max_pool_size` +##### `read_database_max_pool_size` Data type: `Any` @@ -857,7 +858,7 @@ Note that PuppetDB will use one pool for writes and another for reads, so the to Default value: `$puppetdb::params::read_database_max_pool_size` -##### `automatic_dlo_cleanup` +##### `automatic_dlo_cleanup` Data type: `Boolean` @@ -868,7 +869,7 @@ reports by setting this to true. Default value: `$puppetdb::params::automatic_dlo_cleanup` -##### `cleanup_timer_interval` +##### `cleanup_timer_interval` Data type: `String[1]` @@ -883,7 +884,7 @@ module, which is an optional dependency and not automatically installed! Default value: `$puppetdb::params::cleanup_timer_interval` -##### `dlo_max_age` +##### `dlo_max_age` Data type: `Integer[1]` @@ -892,7 +893,7 @@ the DLO reports. The default value is 90 days. Default value: `$puppetdb::params::dlo_max_age` -##### `java_bin` +##### `java_bin` Data type: `Optional[Stdlib::Absolutepath]` @@ -900,7 +901,7 @@ java binary path for PuppetDB. If undef, default will be used. Default value: `$puppetdb::params::java_bin` -##### `postgresql_password_encryption` +##### `postgresql_password_encryption` Data type: `Postgresql::Pg_password_encryption` @@ -908,6 +909,10 @@ PostgreSQL password authentication method, either `md5` or `scram-sha-256` Default value: `$puppetdb::params::password_encryption` +### `puppetdb` + +Wrappers for drop-in compatibility + ### `puppetdb::database::postgresql` create the PuppetDB postgresql database @@ -1374,7 +1379,7 @@ Default value: `true` ### `puppetdb::server` -manage the PuppetDB server +manage the OpenVoxDB server #### Parameters diff --git a/manifests/init.pp b/manifests/init.pp index af32b4e..7fe5d3d 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -345,7 +345,7 @@ # @param postgresql_password_encryption # PostgreSQL password authentication method, either `md5` or `scram-sha-256` # -class puppetdb ( +class openvoxdb ( $listen_address = $puppetdb::params::listen_address, $listen_port = $puppetdb::params::listen_port, $disable_cleartext = $puppetdb::params::disable_cleartext, diff --git a/manifests/server.pp b/manifests/server.pp index 3b9f533..aa63851 100644 --- a/manifests/server.pp +++ b/manifests/server.pp @@ -1,4 +1,4 @@ -# @summary manage the PuppetDB server +# @summary manage the OpenVoxDB server # # @param listen_address # The address that the web server should bind to for HTTP requests. Defaults to diff --git a/manifests/wrappers.pp b/manifests/wrappers.pp new file mode 100644 index 0000000..2dcdaf2 --- /dev/null +++ b/manifests/wrappers.pp @@ -0,0 +1,3 @@ +# @summary Wrappers for drop-in compatibility +class puppetdb inherits openvoxdb { +}