Skip to content
This repository was archived by the owner on Mar 17, 2023. It is now read-only.

Commit

Permalink
prepare for puppetforge release 3.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dwerder committed Dec 11, 2013
1 parent 046ccf1 commit 5f6d547
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Modulefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name 'dwerder-mongodb'
version '3.1.0'
version '3.2.0'
source 'git clone https://github.com/echocat/puppet-mongodb.git'
author 'echocat / Daniel Werdermann'
license 'Mozilla Public License Version 2.0'
Expand Down
33 changes: 33 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,22 @@ facter > 1.6.2
puppet > 2.6.2

# Parameters:

### Global

Most global parameters are set in params.pp and should fit the most use cases.
But you can also set them, when including class mongodb.
Parameters:

dbdir = mongodb::params::dbdir,
pidfilepath = mongodb::params::pidfilepath,
logdir = mongodb::params::logdir,
logrotatenumber = mongodb::params::logrotatenumber,
ulimit_nofiles = mongodb::params::ulimit_nofiles,
run_as_user = mongodb::params::run_as_user,
run_as_group = mongodb::params::run_as_group,
old_servicename = mongodb::params::old_servicename

### Starting mongod

mongod_instance = despription of mongd service (shard1, config, etc) (required)
Expand Down Expand Up @@ -108,6 +124,23 @@ puppet > 2.6.2
node 'mongo4.my.domain' inherits mongo_sharding_default { }
</pre>

## Change run as user and logdir path
<pre>
node mongod.my.domain {
class { 'mongodb':
run_as_user => mongod,
run_as_group => wheel,
logdir => '/nfsshare/mymongologs/'
}
mongodb::mongod {
'my_mongod_instanceX':
mongod_instance => 'mongodb1',
mongod_replSet => 'mongoShard1',
mongod_add_options => ['fastsync','slowms = 50']
}
}
</pre>


# Author

Expand Down

0 comments on commit 5f6d547

Please sign in to comment.