This file is indexed.

/usr/share/puppet/modules.available/puppetlabs-mongodb/templates/mongodb.conf.erb is in puppet-module-puppetlabs-mongodb 0.7.0-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
# mongo.conf - generated from Puppet

#where to log
logpath=<%= @logpath %>
logappend=<%= @logappend %>
<% if @bind_ip -%>
# Set this option to configure the mongod or mongos process to bind to and
# listen for connections from applications on this address.
# You may concatenate a list of comma separated values to bind mongod to multiple IP addresses.
bind_ip = <%= @bind_ip.join(',') %>
<% end -%>
<% if @fork -%>
# fork and run in background
fork=<%= @fork %>
<% end -%>
port = <%= @port %>
dbpath=<%= @dbpath %>
<% if @pidfilepath -%>
# location of pidfile
pidfilepath = <%= @pidfilepath %>
<% end -%>
<% if @nojournal -%>
# Disables write-ahead journaling
nojournal = <%= @nojournal %>
<% end -%>
<% if @journal -%>
# Enables journaling
journal = <%= @journal %>
<% end -%>
<% if @cpu -%>
# Enables periodic logging of CPU utilization and I/O wait
cpu = <%= @cpu %>
<% end -%>
# Turn on/off security.  Off is currently the default
<% if @noauth -%>
noauth=<%= @noauth %>
<% end -%>
<% if @auth -%>
auth=<%= @auth %>
<% end -%>
<% if @verbose -%>
# Verbose logging output.
verbose = <%= @verbose %>
<% end -%>
<% if @verbositylevel -%>
<%= @verbositylevel -%> = true
<% end -%>
<% if @objcheck -%>
# Inspect all client data for validity on receipt (useful for
# developing drivers)
objcheck = <%= @objcheck %>
<% end -%>
<% if @maxconns -%>
maxConns = <%= @maxconns %>
<% end -%>
<% if @quota -%>
# Enable db quota management
quota = <%= @quota %>
<% if @quotafiles -%>
quotaFiles = <%= @quotafiles %>
<% end -%>
<% end -%>
<% if @diaglog -%>
# Set oplogging level where n is
#   0=off (default)
#   1=W
#   2=R
#   3=both
#   7=W+some reads
diaglog  = <%= @diaglog %>
<% end -%>
<% if @oplog_size -%>
# Specifies a maximum size in megabytes for the replication operation log
oplogSize = <%= @oplog_size %>
<% end -%>
<% if @nohints -%>
# Ignore query hints
nohints = <%= @nohints %>
<% end -%>
<% if @nohttpinterface -%>
# Disable the HTTP interface (Defaults to localhost:27018).
nohttpinterface = <%= @nohttpinterface %>
<% end -%>
<% if @noscripting -%>
# Turns off server-side scripting.  This will result in greatly limited
# functionality
noscripting = <%= @noscripting %>
<% end -%>
<% if @notablescan -%>
# Turns off table scans.  Any query that would do a table scan fails.
notablescan = <%= @notablescan %>
<% end -%>
<% if @noprealloc -%>
# Disable data file preallocation.
noprealloc = <%= @noprealloc %>
<% end -%>
<% if @nssize -%>
# Specify .ns file size for new databases in megabytes.
nssize = <%= @nssize %>
<% end -%>
<% if @mms_token -%>
# Accout token for Mongo monitoring server.
mms-token = <%= @mms_token %>
<% end -%>
<% if @mms_name -%>
# Server name for Mongo monitoring server.
mms-name = <%= @mms_name %>
<% end -%>
<% if @mms_interval -%>
# Ping interval for Mongo monitoring server.
mms-interval = <%= @mms_interval %>
<% end -%>
<% if @slave -%>
slave = <%= @slave %>
<% end -%>
<% if @source -%>
source = <%= @source %>
<% end -%>
<% if @only -%>
# Slave only: specify a single database to replicate
only = <%= @only %>
<% end -%>
<% if @master -%>
master = <%= @master %>
<% end -%>
<% if @directoryperdb -%>
# Alters the storage pattern of the data directory to store each database
# files in a distinct folder.
directoryperdb = <%= @directoryperdb %>
<% end -%>
<% if @replset -%>
# Configure ReplicaSet membership
replSet = <%= @replset %>
<% end -%>
<% if @smallfiles -%>
# Use a smaller default data file size.
smallfiles = <%= @smallfiles %>
<% end -%>
<% if @rest -%>
# Enable rest API (disabled by default)
rest = <%= @rest %>
<% end -%>
<% if @profile -%>
# Modify this value to changes the level of database profiling, which inserts
# information about operation performance into output of mongod or the log file.
#0 = Off. No profiling. default
#1 = On. Only includes slow operations.
#2 = On. Includes all operations.
profile = <%= @profile %>
<% end -%>
<% if @slowms -%>
# Sets the threshold in milliseconds for mongod to consider a query slow for the profiler.
slowms = <%= @slowms %>
<% end -%>
<% if @keyfile -%>
# Specify the path to a key file to store authentication information.
keyFile = <%= @keyfile %>
<% end -%>
<% if @directoryperdb -%>
directoryperdb = <%= @directoryperdb %>
<% end -%>
<% if @set_parameter -%>
setParameter = <%= @set_parameter %>
<% end -%>