puppet-mongodb icon indicating copy to clipboard operation
puppet-mongodb copied to clipboard

Add parameter to handle "storage" options

Open twillouer opened this issue 8 years ago • 1 comments

Hi,

thanks for your work.

I'm looking a way to handle parameters like "storage" (https://docs.mongodb.com/v3.4/reference/configuration-options/#storage-wiredtiger-options)

Especially the parameter 'storage.wiredTiger.engineConfig.cacheSizeGB'

I didn't see how to handle this by now, is it possible to add a parameter ?

twillouer avatar Nov 22 '17 05:11 twillouer

As a workaround you can do this in hiera:

mongodb::server::config_data:
  storage.wiredTiger.engineConfig.directoryForIndexes: true
  storage.wiredTiger.engineConfig.cacheSizeGB: 10

kujeger avatar Feb 21 '18 12:02 kujeger