Skip to content

Commit 9df1bea

Browse files
authored
Merge pull request #403 from wyardley/release_110
Release 1.1.0
2 parents e65a7b3 + aa938bf commit 9df1bea

6 files changed

Lines changed: 326 additions & 20 deletions

File tree

.sync.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# the mongodb tests currently do not work on centos 7 or ubuntu 14.04
22
---
33
.travis.yml:
4+
secure: "TcZjuTP5ooDXZNRnG1M+wqmT/Lqcg8CwZfLljGlDSjDEN2siUhflHf9A81q5XL17oN4BkQtPmLvu7d/7xijUOiqDWXG9PC/Xr3QsTTmjtEo5l2Ne7jO+HrXO0Ron6LjEy47PeUWVQs7JcLRQL1SpxlNkt/Xe7oSoL10PmP2GYJc="
45
docker_sets: []
56
appveyor.yml:
67
delete: true

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ deploy:
3737
provider: puppetforge
3838
user: puppet
3939
password:
40-
secure: ""
40+
secure: "TcZjuTP5ooDXZNRnG1M+wqmT/Lqcg8CwZfLljGlDSjDEN2siUhflHf9A81q5XL17oN4BkQtPmLvu7d/7xijUOiqDWXG9PC/Xr3QsTTmjtEo5l2Ne7jO+HrXO0Ron6LjEy47PeUWVQs7JcLRQL1SpxlNkt/Xe7oSoL10PmP2GYJc="
4141
on:
4242
tags: true
4343
# all_branches is required to use tags

CHANGELOG.md

Lines changed: 38 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,40 @@
1-
# Change log
1+
# Changelog
22

3-
All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
4-
and this project adheres to [Semantic Versioning](http://semver.org).
3+
All notable changes to this project will be documented in this file.
4+
Each new release typically also includes the latest modulesync defaults.
5+
These should not affect the functionality of the module.
56

6-
## Unsupported Release [1.0.0]
7+
## [v1.1.0](https://github.com/voxpupuli/puppet-mongodb/tree/v1.1.0) (2017-10-19)
8+
9+
[Full Changelog](https://github.com/voxpupuli/puppet-mongodb/compare/1.0.0...v1.1.0)
10+
11+
**Implemented enhancements:**
12+
13+
- Allow user-supplied configuration data [\#389](https://github.com/voxpupuli/puppet-mongodb/pull/389) ([blackophelia](https://github.com/blackophelia))
14+
- MODULES-5483: Auth and FQDN certs =\> Fail [\#369](https://github.com/voxpupuli/puppet-mongodb/pull/369) ([disappear89](https://github.com/disappear89))
15+
16+
**Fixed bugs:**
17+
18+
- Fix password on admin db [\#393](https://github.com/voxpupuli/puppet-mongodb/pull/393) ([benohara](https://github.com/benohara))
19+
- fix issue MODULES-5545 [\#390](https://github.com/voxpupuli/puppet-mongodb/pull/390) ([bovy89](https://github.com/bovy89))
20+
- mongodb no longer provides the stable link [\#361](https://github.com/voxpupuli/puppet-mongodb/pull/361) ([attachmentgenie](https://github.com/attachmentgenie))
21+
22+
**Closed issues:**
23+
24+
- Can't change dbpath on Debian Stretch / Puppet5 with Hiera [\#398](https://github.com/voxpupuli/puppet-mongodb/issues/398)
25+
26+
**Merged pull requests:**
27+
28+
- update metadata and README in prep for release [\#402](https://github.com/voxpupuli/puppet-mongodb/pull/402) ([wyardley](https://github.com/wyardley))
29+
- correct spelling mistake [\#395](https://github.com/voxpupuli/puppet-mongodb/pull/395) ([EdwardBetts](https://github.com/EdwardBetts))
30+
- \(maint\) modulesync 915cde70e20 [\#388](https://github.com/voxpupuli/puppet-mongodb/pull/388) ([glennsarti](https://github.com/glennsarti))
31+
- \(MODULES-5187\) mysnc puppet 5 and ruby 2.4 [\#387](https://github.com/voxpupuli/puppet-mongodb/pull/387) ([eputnam](https://github.com/eputnam))
32+
- Update README.md [\#386](https://github.com/voxpupuli/puppet-mongodb/pull/386) ([LasseRafn](https://github.com/LasseRafn))
33+
- Release 1.0.0 mergeback [\#384](https://github.com/voxpupuli/puppet-mongodb/pull/384) ([eputnam](https://github.com/eputnam))
34+
- \(MODULES-4855\) version 1.0.0 release prep [\#383](https://github.com/voxpupuli/puppet-mongodb/pull/383) ([eputnam](https://github.com/eputnam))
35+
- Only check if master if mongod installed [\#314](https://github.com/voxpupuli/puppet-mongodb/pull/314) ([benohara](https://github.com/benohara))
36+
37+
## 1.0.0 (2017-06-30)
738
### Summary
839
Major release removing Puppet 3 support.
940

@@ -288,3 +319,6 @@ This release fixes a duplicate parameter.
288319
[0.1.0]: https://github.com/puppetlabs/puppetlabs-mongodb/compare/0.0.2...0.1.0
289320
[0.0.2]: https://github.com/puppetlabs/puppetlabs-mongodb/compare/0.0.1...0.0.2
290321
[0.0.1]: https://github.com/puppetlabs/puppetlabs-mongodb/tree/0.0.1
322+
323+
324+
\* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*

HISTORY.md

Lines changed: 285 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,285 @@
1+
## 1.0.0 (2017-06-30)
2+
### Summary
3+
Major release removing Puppet 3 support.
4+
5+
#### Added
6+
- `ssl_weak_cert` param in `mongodb::server` type
7+
- `system_logrotate` param in `mongodb`, `mongodb::server`, and `mongodb::server::config`
8+
- `handle_creds` to handle credentials outside of Puppet ([MODULES-1754](https://tickets.puppet.com/browse/MODULES-1754))
9+
- `sslMode` when SSL is used
10+
- ability to use unencrypted passwords
11+
12+
#### Changed
13+
- **lower bound of Puppet requirement to 4.7.0**
14+
- use of `sslMode` to `sslOnNormalPorts` to determine if SSL is enabled
15+
16+
#### Fixed
17+
- `database` property in `mongodb_user` to allow hyphens ([MODULES-4444](https://tickets.puppet.com/browse/MODULES-4444))
18+
- gsub pattern for `is_master` fact
19+
- `mongodb_version` fact
20+
- selinux dbpath contexts in `mongodb::server::config`
21+
- Debian-based repo paths
22+
- `$pidfilepath` for Debian
23+
- syntax error in net.ipv6 configuration option
24+
- spec failure caused by Puppet 5
25+
- is_master in mongodb provider
26+
27+
## Unsupported Release [0.17.0]
28+
### Summary
29+
Adding features to improve spec testing, and added ability to manage pidfile creation
30+
31+
#### Fixed
32+
- gettext and spec.opts
33+
- msync Gemfile for 1.0 frozen strings ([MODULES-3631](https://tickets.puppet.com/browse/MODULES-3631))
34+
- MongoDB 3.12 creates pid file and checks in init script ([MODULES-3956](https://tickets.puppet.com/browse/MODULES-3956))
35+
- gemfile template to be identical ([MODULES-3704](https://tickets.puppet.com/browse/MODULES-3704))
36+
- deprecation errors
37+
38+
## Unsupported Release [0.16.0]
39+
### Summary
40+
We fixed a critical bug where we lost idempotency in 0.15.0. The patch that fix
41+
this problem will be part of this release.
42+
43+
#### Fixed
44+
- Recursively manage only user/group for dbpath
45+
46+
## Unsupported Release [0.15.0]
47+
### Summary
48+
The addition of several new functional features which will help with management and multiple bug fixes.
49+
50+
#### Added
51+
- Added ability to set PID file mode.
52+
- Recursively manage the contents of dbpath directory.
53+
- Now alllows custom templates.
54+
- Addition of mongo listen port before creating facter.
55+
56+
#### Fixed
57+
- Now allows hyphens in database names.
58+
- Now converts MongoDB ObjectID objects to generic JSON.
59+
- Use the same regex that the mongodb provider does when correcting for ObjectID values in the isMaster response.
60+
- Fixes to ensure that the auth property for config is parsed correctly.
61+
- Now checks if mongo is up before evaluating is_master fact.
62+
63+
## Unsupported Release [0.14.0]
64+
### Summary
65+
This breaking release increases the lower bound of the puppetlabs-apt dependency to the 2.x series of apt and puppetlabs-stdlib to >= 4.4.0. The operating system metadata is also updated to reflect modern systems.
66+
67+
#### Added
68+
- Add `mongodb_is_master` fact
69+
- Add `mongodb::db::db_name` parameter for exported resource deduplication
70+
- Add Debian 8 compatibility
71+
- Add Ubuntu 14.04 compatibility
72+
- Add Ubuntu 16.04 compatibility
73+
- Add puppet 3.x 4.x compatibility metadata
74+
75+
#### Changed
76+
- Increase apt lower dependency to >= 2.1.0
77+
- Increase stdlib lower dependency to >= 4.4.0
78+
- Drop RHEL & Centos 5
79+
- Drop Debian 6
80+
- Drop Ubuntu 10.04
81+
82+
#### Fixed
83+
- Catch unconfigured replset configuration queries
84+
- Fix timestamp and other javascript object removal
85+
- Correct permissions on .mongorc.js to 600
86+
87+
## Unsupported Release [0.13.0]
88+
### Summary
89+
Adds several new large features, including the support of mongodb 3.x. Also applies numerous bugfixes, mainly around fixing errors being thrown and syntax issues.
90+
91+
#### Added
92+
- Adds mongodb_version fact.
93+
- Add mongodb 3.x.
94+
- Update to current msync configs.
95+
- Now ensures that the pidfile exists and is writable.
96+
- Simplified configuration parsing.
97+
- Made argument handling more extensible.
98+
- Added SSL support.
99+
- Made ssl_ca optional when using SSL.
100+
- Added $maxconns to mongodb::server::config.
101+
- Added Suse to operating systems.
102+
103+
#### Fixed
104+
- Removes empty lines between doc and definition.
105+
- Fix when using admin params : catalog: Found 1 dependency cycle: issue.
106+
- Some syntax error fixes.
107+
- Cleaned up provider formatting.
108+
- Parse NumberLong data type from mongodb outputs to generate valid json.
109+
- Checks if $version is defined before versioncmp.
110+
- Fixed deprecation warning for use of configtimeout.
111+
112+
## Unsupported Release [0.12.0]
113+
### Summary
114+
There are a number of bugfixes and features added in this release including, mongo db 3 engine support, ipv6 support and repo and yum improvements.
115+
116+
#### Added
117+
- Distinguish between repo and package mgmt
118+
- Immplement retries for MongoDB shell commands
119+
- Initiate replica set creation from localhost if auth is enabled
120+
- Added specific service provider for Debian
121+
- mongo db 3 engine selection support
122+
- added an option to set a custom repository location
123+
- Improve support for MongoDB authentication and replicaset
124+
- Add yum proxy options
125+
- Enable IPv6 in mongodb provider
126+
127+
#### Fixed
128+
- Fix mongodb_user username => name
129+
- ensure that the client install does not start before the repo setup
130+
- Fix replset not working on mongo 3.x
131+
- Prealloc setting needs to be negated
132+
- Add mongoDB >=3.x new yum repo location
133+
- Add pidfilepath to globals when used in params
134+
- Normalize spacing in template
135+
- Switch to comparing current roles value with @property
136+
- Fix versioncmp when version is undef
137+
- Do not add blank parameter in ipv4
138+
- Apply module sync
139+
140+
## Unsupported Release [0.11.0]
141+
### Summary
142+
143+
#### Added
144+
- arbiter support to to `mongodb_replset`
145+
- `mongod_service_manage`, `mongos_service_manage`, and `ipv6` to `mongodb::globals`
146+
- `service_manage`, `unitxsocketprefix`, `pidfilepath`, `logpath`, `fork`, `bind_ip`, `port`, and `restart` to `mongodb::mongos` class
147+
- `key`, `ipv6`, `service_manage`, and `restart` to `mongodb::server` class
148+
- Allow mongodb\_conn\_validator to take an array of nodes via composite namevar
149+
150+
#### Fixed
151+
- Update to long apt repo key and bump compatibility to include apt 2
152+
- Fix `nohttpinterface` on >= 2.6
153+
- Fix connection validation when bind\_ip is 0.0.0.0
154+
- Fix mongodb\_conn\_validator to use default port in shard mode
155+
156+
## Unsupported Release [0.10.0]
157+
### Summary
158+
159+
This release adds a number of significant features and several bug fixes.
160+
161+
#### Added
162+
- Adds support for sharding
163+
- Adds support for RHEL 7
164+
- Adds rudimentary support for SSL configuration
165+
- Adds support for the enterprise repository
166+
167+
#### Fixed
168+
- Fixes support for running on non-default ports
169+
- Fixes the idempotency of password setting (for mongo 2.6)
170+
171+
## Unsupported Release [0.9.0]
172+
### Summary
173+
174+
This release has a number of new parameters, support for 2.6, improved providers, and several bugfixes.
175+
176+
#### Added
177+
- New parameters: `mongodb::globals`
178+
- `$service_ensure`
179+
- `$service_enable`
180+
- New parameters: `mongodb`
181+
- `$quiet`
182+
- New parameters: `mongodb::server`
183+
- `$service_ensure`
184+
- `$service_enable`
185+
- `$quiet`
186+
- `$config_content`
187+
- Support for mongodb 2.6
188+
- Reimplement `mongodb_user` and `mongodb_database` provider
189+
- Added `mongodb_conn_validator` type
190+
191+
#### Fixed
192+
- Use hkp for the apt keyserver
193+
- Fix mongodb database existence check
194+
- Fix `$server_package_name` problem (MODULES-690)
195+
- Make sure `pidfilepath` doesn't have any spaces
196+
- Providers need the client command before they can work (MODULES-1285)
197+
198+
## Unsupported Release [0.8.0]
199+
### Summary
200+
201+
This feature features a rewritten mongodb_replset{} provider, includes several
202+
important bugfixes, ruby 1.8 support, and two new features.
203+
204+
#### Added
205+
- Rewritten mongodb_replset{}, featuring puppet resource support, prefetching,
206+
and flushing.
207+
- Add Ruby 1.8 compatibility.
208+
- Adds `syslog`, allowing you to configure mongodb to send all logging to the hosts syslog.
209+
- Add mongodb::replset, a wrapper class for hiera users.
210+
- Improved testing!
211+
212+
#### Fixed
213+
- Fixes the package names to work since 10gen renamed them again.
214+
- Fix provider name in the README.
215+
- Disallow `nojournal` and `journal` to be set at the same time.
216+
- Changed - to = for versioned install on Ubuntu.
217+
218+
## Unsupported Release [0.7.0]
219+
### Summary
220+
221+
Added Replica Set Type and Provider
222+
223+
## Unsupported Release [0.6.0]
224+
### Summary
225+
226+
Added support for installing MongoDB client on
227+
RHEL family systems.
228+
229+
## Unsupported Release [0.5.0]
230+
### Summary
231+
232+
Added types for providers for Mongo users and databases.
233+
234+
## Unsupported Release [0.4.0]
235+
236+
Major refactoring of the MongoDB module. Includes a new 'mongodb::globals'
237+
that consolidates many shared parameters into one location. This is an
238+
API-breaking release in anticipation of a 1.0 release.
239+
240+
## Unsupported Release [0.3.0]
241+
### Summary
242+
243+
Adds a number of parameters and fixes some platform
244+
specific bugs in module deployment.
245+
246+
## Unsupported Release [0.2.0]
247+
### Summary
248+
249+
This release fixes a duplicate parameter.
250+
251+
#### Fixed
252+
- Fix a duplicated parameter.
253+
254+
## Unsupported Release [0.1.0]
255+
- Add support for RHEL/CentOS
256+
- Change default mongodb install location to OS repo
257+
258+
## Unsupported Release [0.0.2]
259+
- Fix Modulefile typo.
260+
- Remove repo pin.
261+
- Update spec tests and add travis support.
262+
263+
## Unsupported Release [0.0.1]
264+
- Initial Release.
265+
266+
[1.0.0]: https://github.com/puppetlabs/puppetlabs-mongodb/compare/0.17.0...1.0.0
267+
[0.17.0]: https://github.com/puppetlabs/puppetlabs-mongodb/compare/0.16.0...0.17.0
268+
[0.16.0]: https://github.com/puppetlabs/puppetlabs-mongodb/compare/0.15.0...0.16.0
269+
[0.15.0]: https://github.com/puppetlabs/puppetlabs-mongodb/compare/0.14.0...0.15.0
270+
[0.14.0]: https://github.com/puppetlabs/puppetlabs-mongodb/compare/0.13.0...0.14.0
271+
[0.13.0]: https://github.com/puppetlabs/puppetlabs-mongodb/compare/0.12.0...0.13.0
272+
[0.12.0]: https://github.com/puppetlabs/puppetlabs-mongodb/compare/0.11.0...0.12.0
273+
[0.11.0]: https://github.com/puppetlabs/puppetlabs-mongodb/compare/0.10.0...0.11.0
274+
[0.10.0]: https://github.com/puppetlabs/puppetlabs-mongodb/compare/0.9.0...0.10.0
275+
[0.9.0]: https://github.com/puppetlabs/puppetlabs-mongodb/compare/0.8.0...0.9.0
276+
[0.8.0]: https://github.com/puppetlabs/puppetlabs-mongodb/compare/0.7.0...0.8.0
277+
[0.7.0]: https://github.com/puppetlabs/puppetlabs-mongodb/compare/0.6.0...0.7.0
278+
[0.6.0]: https://github.com/puppetlabs/puppetlabs-mongodb/compare/0.5.0...0.6.0
279+
[0.5.0]: https://github.com/puppetlabs/puppetlabs-mongodb/compare/0.4.0...0.5.0
280+
[0.4.0]: https://github.com/puppetlabs/puppetlabs-mongodb/compare/0.3.0...0.4.0
281+
[0.3.0]: https://github.com/puppetlabs/puppetlabs-mongodb/compare/0.2.0...0.3.0
282+
[0.2.0]: https://github.com/puppetlabs/puppetlabs-mongodb/compare/0.1.0...0.2.0
283+
[0.1.0]: https://github.com/puppetlabs/puppetlabs-mongodb/compare/0.0.2...0.1.0
284+
[0.0.2]: https://github.com/puppetlabs/puppetlabs-mongodb/compare/0.0.1...0.0.2
285+
[0.0.1]: https://github.com/puppetlabs/puppetlabs-mongodb/tree/0.0.1

README.md

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -23,26 +23,12 @@
2323
Installs MongoDB on RHEL/Ubuntu/Debian from OS repo, or alternatively from
2424
10gen repository [installation documentation](http://www.mongodb.org/display/DOCS/Ubuntu+and+Debian+packages).
2525

26-
### Deprecation Warning ###
27-
28-
This module is still in beta which means the API is subject to change in
29-
backwards incompatible ways. If your project depends on an old API, please pin
30-
your dependencies to the necessary version to ensure your environments don't break.
31-
32-
The current module design is undergoing review for potential 1.0 release. We welcome
33-
any feedback with regard to the APIs and patterns used in this release.
34-
3526
## Module Description
3627

3728
The MongoDB module manages mongod server installation and configuration of the
3829
mongod daemon. For the time being it supports only a single MongoDB server
3930
instance, without sharding functionality.
4031

41-
For the 0.5 release, the MongoDB module now supports database and user types.
42-
43-
For the 0.6 release, the MongoDB module now supports basic replicaset features
44-
(initiating a replicaset and adding members, but without specific options).
45-
4632
## Setup
4733

4834
### What MongoDB affects

metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "voxpupuli-mongodb",
2+
"name": "puppet-mongodb",
33
"version": "1.1.0",
44
"author": "voxpupuli",
55
"summary": "Installs MongoDB on RHEL/Ubuntu/Debian.",

0 commit comments

Comments
 (0)