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

refactor deprecated API's to make cookbook chef v14 compatible #2

Closed
wants to merge 160 commits into from

Conversation

ispringer
Copy link

Markus Schirp and others added 30 commits September 13, 2011 19:30
Fixed typo in error messages, thanks mbj for the patch.
Fixed syntax error in libraries/mongodb.rb, thanks Reed Law for the patch.
…a single directory with the name of the cookbook as root in the tarball
… if no members are found.

If chef-server is running the configuration print a warning and stop configuration.
…r for replicated shards this name will still be ignored,

and the name of the replicaset will be generated using 'rs_#{shard_name}'.
…ebinterface, per default it is turned off.
astral303 and others added 29 commits October 9, 2014 17:32
This allows the user to override RPM install completely from their own
recipe.
Add ability to reference a node.dns_alias property if available, instead
of the fqdn. This allows definition of configservers using aliases,
instead of the actual hostnames of the machines.
Since start_server() and restart_server() do not actually verify whether the
port is open and receiving connections (even though mongo starts up,
pre-alloc/other setup takes a few minutes), the replicaset recipe was failing to
establish a connection with the db.  The change to the initd file waits for the
port to be open before proceeding, ensuring that the replicaset recipe will
work.

Fixes #17

(cherry picked from commit 3a91a28)
removes support for MongoDB 3.0 and earlier SCC config servers.
…han /data/application-data/mongodb/mongod.lock, as pidfile (see https://jira.mongodb.org/browse/SERVER-4523) - this gets the init script working on CentOS 7 within systemd sysv init compatibility mode
…mongo processes can live on the same machine correctly
…n to permit skipping the init.d script installation, in the case where a managed script is provided by the caller instead.
… processes, to essentially disable the stop script from doing a kill -9. We need this because stopping a mongo 4.4 process while the whole cluster isn't yet in 4.4 FCV compat mode takes more than 5 minutes, as it has to do a lengthy process to write its store back in a 4.2 backwards compatible mode. If the stop script kill -9's the process during this, then the db won't be able to be brought back up with 4.2 at all.
Up the waiting period on shutdown from 5 minutes to 3 hours for mongo…
…imeout

increase service start timeout from 10m to 90m
…deprecated and no longer supported in chef v13 and later
@ispringer ispringer closed this May 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet