diff options
| author | Sunny Chan | 2014-07-25 16:03:16 +0800 | 
|---|---|---|
| committer | Jack Nagel | 2014-08-28 16:50:46 -0500 | 
| commit | 59543b953494479ad8699114d611f9ac7d244dc3 (patch) | |
| tree | a848ed63245bfe8cde1fafe338a2a1702cf19ed6 /Library/Formula/mongodb.rb | |
| parent | a2f00a630509844d16e81d73ea322cdcab318375 (diff) | |
| download | homebrew-59543b953494479ad8699114d611f9ac7d244dc3.tar.bz2 | |
mongodb: use new yaml config format
Closes #31115.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula/mongodb.rb')
| -rw-r--r-- | Library/Formula/mongodb.rb | 17 | 
1 files changed, 8 insertions, 9 deletions
diff --git a/Library/Formula/mongodb.rb b/Library/Formula/mongodb.rb index 60c54189c..ec7ca190e 100644 --- a/Library/Formula/mongodb.rb +++ b/Library/Formula/mongodb.rb @@ -56,15 +56,14 @@ class Mongodb < Formula    end    def mongodb_conf; <<-EOS.undent -    # Store data in #{var}/mongodb instead of the default /data/db -    dbpath = #{var}/mongodb - -    # Append logs to #{var}/log/mongodb/mongo.log -    logpath = #{var}/log/mongodb/mongo.log -    logappend = true - -    # Only accept local connections -    bind_ip = 127.0.0.1 +    systemLog: +      destination: file +      path: #{var}/log/mongodb/mongo.log +      logAppend: true +    storage: +      dbPath: #{var}/mongodb +    net: +      bindIp: 127.0.0.1      EOS    end  | 
