---
classes:
 - git
 - ci_environment::jenkins_slave
 - ci_environment::firewall_config::jenkins_slave
 - mongodb
 - gds_mongodb

apt::unattended_upgrades::auto_reboot: true

ci_environment::jenkins_slave::jenkins_home: /home/jenkins

gds_mongodb::members: ['localhost']
gds_mongodb::replSet: 'gds-ci'

jenkins::slave::manage_slave_user: 1
jenkins::slave::slave_user: jenkins
jenkins::slave::slave_home: /home/jenkins
jenkins::slave::version: 1.9

mongodb::replSet: 'gds-ci'
mongodb::enable_10gen: true
mongodb::version: 2.4.9

---
classes:
 - git
 - ci_environment::jenkins_slave
 - ci_environment::firewall_config::jenkins_slave
 - mongodb
 - gds_mongodb

apt::unattended_upgrades::auto_reboot: true

ci_environment::jenkins_slave::jenkins_home: /home/jenkins

gds_mongodb::members: ['localhost']
gds_mongodb::replSet: 'gds-ci'

jenkins::slave::manage_slave_user: 1
jenkins::slave::slave_user: jenkins
jenkins::slave::slave_home: /home/jenkins
jenkins::slave::version: 1.9

mongodb::replSet: 'gds-ci'
mongodb::enable_10gen: true
mongodb::version: 2.4.9
mongodb::smallfiles: true

Reduce mongodb journal size on slaves.
Reduce mongodb journal size on slaves.

By default mongodb takes 3GB per machine for its
journals.  Since these aren't important to us
during test runs, we can dramatically reduce them
to 128MB with this config change.