Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make mongodb_conn_validator namevar the URI to check #200

Merged
merged 1 commit into from
May 22, 2015

Conversation

Spredzy
Copy link
Contributor

@Spredzy Spredzy commented May 4, 2015

Currently one needs to pass server and port parameters for each node
s/he wants to test if mongodb is up and running. Admiting we have an
array of nodes there is no easy way to check all of them.

By allowing the name of the resource as the connection to test, this
scenario can be easily dealt with.

$array_of_mongo_nodes = ['ip1:27017', 'ip2:27017', '[::1]:27017']
mongodb_conn_validator { $array_of_mongo_nodes : }

Currently one needs to pass server and port parameters for each node
s/he wants to test if mongodb is up and running. Admiting we have an
array of nodes there is no easy way to check all of them.

By allowing the name of the resource as the connection to test, this
scenario can be easily dealt with.

```
$array_of_mongo_nodes = ['ip1:27017', 'ip2:27017', '[::1]:27017']
mongodb_conn_validator { $array_of_mongo_nodes : }
```
@Spredzy Spredzy force-pushed the conn_string_namevar_validator branch from ce6befc to 7d8e3c3 Compare May 4, 2015 12:53
openstack-gerrit pushed a commit to stackforge/puppet-openstack-cloud that referenced this pull request May 8, 2015
Stop to require MongoDB validation (this provider requies MongoDB
working on the same node) so we can install MongoDB nodes outside
Telemetry Collector service.

This patch is a workaround until:
voxpupuli/puppet-mongodb#200

is merged so we can use the code in this module.
See https://review.openstack.org/179824

Change-Id: I80b102c3801efea262e6572fce1f64eb8a9a67ad
hunner added a commit that referenced this pull request May 22, 2015
Make mongodb_conn_validator namevar the URI to check
@hunner hunner merged commit bc6cec0 into voxpupuli:master May 22, 2015
pkasprzak pushed a commit to gwdg/puppet-openstack-cloud that referenced this pull request Jun 3, 2015
Stop to require MongoDB validation (this provider requies MongoDB
working on the same node) so we can install MongoDB nodes outside
Telemetry Collector service.

This patch is a workaround until:
voxpupuli/puppet-mongodb#200

is merged so we can use the code in this module.
See https://review.openstack.org/179824

Change-Id: I80b102c3801efea262e6572fce1f64eb8a9a67ad
openstack-gerrit pushed a commit to openstack-archive/tripleo-heat-templates that referenced this pull request Jun 8, 2015
Two PR have been merged upstream that let use improve our current
implementation :

  * service_manage[1]
  * conn string has namevar[2]

[1] voxpupuli/puppet-mongodb#198
[2] voxpupuli/puppet-mongodb#200

Change-Id: Ia2247348a9e0292b5fcbc65ea1e41e6bc7c477fa
openstack-gerrit pushed a commit to openstack/openstack that referenced this pull request Jun 8, 2015
Project: openstack/tripleo-heat-templates  b00bae6c5a48ef9ac59b292f7bc67cf48395fb5e

Update mongodb implementation to reflect master

Two PR have been merged upstream that let use improve our current
implementation :

  * service_manage[1]
  * conn string has namevar[2]

[1] voxpupuli/puppet-mongodb#198
[2] voxpupuli/puppet-mongodb#200

Change-Id: Ia2247348a9e0292b5fcbc65ea1e41e6bc7c477fa
cegeka-jenkins pushed a commit to cegeka/puppet-mongodb that referenced this pull request Oct 23, 2017
…lidator

Make mongodb_conn_validator namevar the URI to check
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants