Ottomata has submitted this change and it was merged.
Change subject: Change 'mongofork' param to false by default
......................................................................
Change 'mongofork' param to false by default
Rather than fix this in one place but leave it for others to struggle with the
same problem in the future, let's just make the correct value the default.
Change-Id: Icf2113e84b67fab51690a44ca457916adb53b2d2
---
M manifests/misc/statistics.pp
M modules/mongodb/manifests/init.pp
2 files changed, 1 insertion(+), 2 deletions(-)
Approvals:
Ottomata: Verified; Looks good to me, approved
jenkins-bot: Verified
diff --git a/manifests/misc/statistics.pp b/manifests/misc/statistics.pp
index 3149563..776347d 100644
--- a/manifests/misc/statistics.pp
+++ b/manifests/misc/statistics.pp
@@ -429,7 +429,6 @@
# installs MonogDB on stat1
class misc::statistics::db::mongo {
class { "mongodb":
- mongofork => false,
dbpath => "/a/mongodb",
}
}
diff --git a/modules/mongodb/manifests/init.pp
b/modules/mongodb/manifests/init.pp
index 8469166..f1f2348 100644
--- a/modules/mongodb/manifests/init.pp
+++ b/modules/mongodb/manifests/init.pp
@@ -37,7 +37,7 @@
$servicename = $mongodb::params::service,
$logpath = '/var/log/mongodb/mongodb.log',
$logappend = true,
- $mongofork = true,
+ $mongofork = false,
$port = '27017',
$dbpath = '/var/lib/mongodb',
$bind_ip = '127.0.0.1',
--
To view, visit https://gerrit.wikimedia.org/r/58310
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Icf2113e84b67fab51690a44ca457916adb53b2d2
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Ori.livneh <[email protected]>
Gerrit-Reviewer: Ottomata <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits