From cff54c6499ff6fe8f0457223b2ab60a8bbde8e4e Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Wed, 13 Oct 2021 17:03:53 +0200 Subject: [PATCH] Use links. --- templates/mongod-3.2.conf.j2 | 55 +--------------------------------- templates/mongod-3.6.3.conf.j2 | 53 +------------------------------- 2 files changed, 2 insertions(+), 106 deletions(-) mode change 100644 => 120000 templates/mongod-3.2.conf.j2 mode change 100644 => 120000 templates/mongod-3.6.3.conf.j2 diff --git a/templates/mongod-3.2.conf.j2 b/templates/mongod-3.2.conf.j2 deleted file mode 100644 index d3e9fd4..0000000 --- a/templates/mongod-3.2.conf.j2 +++ /dev/null @@ -1,54 +0,0 @@ -# mongod.conf - -# for documentation of all options, see: -# http://docs.mongodb.org/manual/reference/configuration-options/ - -# Where and how to store data. -storage: - dbPath: {{ mongodb_dbpath }} - journal: - enabled: true - directoryPerDB: {{ mongodb_directoryperdb }} - engine: {{ mongodb_storage_engine }} -# mmapv1: -# wiredTiger: - -# where to write logging data. -systemLog: - destination: {{ mongodb_systemlog_destination }} - path: {{ mongodb_logpath }} -{% if not mongodb_systemlog_external_logrotate %} - logRotate: rename - logAppend: false -{% else %} - logRotate: reopen - logAppend: true -{% endif %} -# network interfaces -net: - port: {{ mongodb_tcp_port }} - bindIp: {{ mongo_bind_ip }} - http: - enabled: {{ mongodb_http_interface }} - JSONPEnabled: {{ mongodb_http_interface }} - RESTInterfaceEnabled: {{ mongodb_http_interface }} -{% if mongodb_ssl_enabled %} - ssl: - mode: {{ mongodb_ssl_mode }} - PEMKeyFile: '{{ mongodb_ssl_certkey_file }}' - CAFile: '{{ mongodb_ssl_CA_file }}' -{% endif %} - -#processManagement: - -{%if mongodb_cluster_enabled %} -security: - keyFile: {{ mongodb_replica_keyfile }} - -replication: - oplogSizeMB: 2000 - replSetName: {{ mongodb_replicaset }} -{% endif %} - -#sharding: - diff --git a/templates/mongod-3.2.conf.j2 b/templates/mongod-3.2.conf.j2 new file mode 120000 index 0000000..5f35b26 --- /dev/null +++ b/templates/mongod-3.2.conf.j2 @@ -0,0 +1 @@ +mongod-3.0.conf.j2 \ No newline at end of file diff --git a/templates/mongod-3.6.3.conf.j2 b/templates/mongod-3.6.3.conf.j2 deleted file mode 100644 index 68158cb..0000000 --- a/templates/mongod-3.6.3.conf.j2 +++ /dev/null @@ -1,52 +0,0 @@ -# mongod.conf - -# for documentation of all options, see: -# http://docs.mongodb.org/manual/reference/configuration-options/ - -# Where and how to store data. -storage: - dbPath: {{ mongodb_dbpath }} - journal: - enabled: true - directoryPerDB: {{ mongodb_directoryperdb }} - engine: {{ mongodb_storage_engine }} -# mmapv1: -# wiredTiger: - -# where to write logging data. -systemLog: - destination: {{ mongodb_systemlog_destination }} - path: {{ mongodb_logpath }} -{% if not mongodb_systemlog_external_logrotate %} - logRotate: rename - logAppend: false -{% else %} - logRotate: reopen - logAppend: true -{% endif %} -# network interfaces -net: - port: {{ mongodb_tcp_port }} - bindIp: {{ mongo_bind_ip }} -{% if mongodb_ssl_enabled %} - ssl: - mode: {{ mongodb_ssl_mode }} - PEMKeyFile: '{{ mongodb_ssl_certkey_file }}' - CAFile: '{{ mongodb_ssl_CA_file }}' - disabledProtocols: {{ mongodb_ssl_disabled_protocols }} - allowConnectionsWithoutCertificates: {{ mongodb_ssl_allowConnectionsWithoutCertificates }} -{% endif %} - -#processManagement: - -{%if mongodb_cluster_enabled %} -security: - keyFile: {{ mongodb_replica_keyfile }} - -replication: - oplogSizeMB: 2000 - replSetName: {{ mongodb_replicaset }} -{% endif %} - -#sharding: - diff --git a/templates/mongod-3.6.3.conf.j2 b/templates/mongod-3.6.3.conf.j2 new file mode 120000 index 0000000..bc6110b --- /dev/null +++ b/templates/mongod-3.6.3.conf.j2 @@ -0,0 +1 @@ +mongod-3.6.conf.j2 \ No newline at end of file