diff --git a/tests/client.pp b/tests/client.pp deleted file mode 100644 index 061c8c106..000000000 --- a/tests/client.pp +++ /dev/null @@ -1,2 +0,0 @@ -class { '::mongodb::globals': manage_package_repo => true }-> -class { '::mongodb::client': } diff --git a/tests/globals.pp b/tests/globals.pp deleted file mode 100644 index 1de72bc7b..000000000 --- a/tests/globals.pp +++ /dev/null @@ -1,3 +0,0 @@ -class { '::mongodb::globals': - manage_package_repo => true -} diff --git a/tests/init.pp b/tests/init.pp deleted file mode 100644 index aac044ee0..000000000 --- a/tests/init.pp +++ /dev/null @@ -1 +0,0 @@ -class { '::mongodb': } diff --git a/tests/replicaset.pp b/tests/replicaset.pp deleted file mode 100644 index 61aa721b7..000000000 --- a/tests/replicaset.pp +++ /dev/null @@ -1,14 +0,0 @@ -node default { - class { '::mongodb::globals': - manage_package_repo => true - } -> - class { '::mongodb::server': - smallfiles => true, - bind_ip => ['0.0.0.0'], - replset => 'rsmain' - } - mongodb_replset{'rsmain': - members => ['mongo1:27017', 'mongo2:27017', 'mongo3:27017' ], - arbiter => 'mongo3:27017', - } -} diff --git a/tests/server.pp b/tests/server.pp deleted file mode 100644 index 32d123067..000000000 --- a/tests/server.pp +++ /dev/null @@ -1,2 +0,0 @@ -class { '::mongodb::globals': manage_package_repo => true }-> -class { '::mongodb::server': } diff --git a/tests/sharding.pp b/tests/sharding.pp deleted file mode 100644 index 0470ae8b5..000000000 --- a/tests/sharding.pp +++ /dev/null @@ -1,59 +0,0 @@ -node 'mongos' { - - class {'::mongodb::globals': - manage_package_repo => true, - }-> - class {'::mongodb::server': - configsvr => true, - bind_ip => $::ipaddress, - }-> - class {'::mongodb::client': - }-> - class {'::mongodb::mongos': - configdb => ["${::ipaddress}:27019"], - }-> - mongodb_shard { 'rs1' : - member => 'rs1/mongod1:27018', - keys => [{ - 'rs1.foo' => { - 'name' => 1 - } - }], - } - -} - -node 'mongod1' { - - class {'::mongodb::globals': - manage_package_repo => true, - }-> - class {'::mongodb::server': - shardsvr => true, - replset => 'rs1', - bind_ip => $::ipaddress, - }-> - class {'::mongodb::client': - } - mongodb_replset{'rs1': - members => ['mongod1:27018', 'mongod2:27018'], - } -} - -node 'mongod2' { - - class {'::mongodb::globals': - manage_package_repo => true, - }-> - class {'::mongodb::server': - shardsvr => true, - replset => 'rs1', - bind_ip => $::ipaddress, - }-> - class {'::mongodb::client': - } - mongodb_replset{'rs1': - members => ['mongod1:27018', 'mongod2:27018'], - } - -}