CHANGELOG.md 15.9 KB
Newer Older
1 2
# Change log

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/) and this project adheres to [Semantic Versioning](http://semver.org).
4

5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
## [7.2.0](https://github.com/puppetlabs/puppetlabs-ntp/tree/7.2.0) (2018-07-03)

[Full Changelog](https://github.com/puppetlabs/puppetlabs-ntp/compare/7.1.1...7.2.0)

### Changed

- \(FM-6955\) Remove unsupported OS: F24, F25, Debian 7 [\#462](https://github.com/puppetlabs/puppetlabs-ntp/pull/462) ([david22swan](https://github.com/david22swan))

### Added

- Add SLES 15 hiera data [\#472](https://github.com/puppetlabs/puppetlabs-ntp/pull/472) ([mattiasgiese](https://github.com/mattiasgiese))
- \(FM-7038\) Add support for Debian 9 [\#470](https://github.com/puppetlabs/puppetlabs-ntp/pull/470) ([david22swan](https://github.com/david22swan))
- add tos\_orphan parameter [\#452](https://github.com/puppetlabs/puppetlabs-ntp/pull/452) ([disklord](https://github.com/disklord))

### Fixed

- \(MODULES-6363\) fix disabling dhclient on redhat-derivatives [\#439](https://github.com/puppetlabs/puppetlabs-ntp/pull/439) ([sudodevnull](https://github.com/sudodevnull))

## 7.1.1
24
### Summary
25
This release includes updated Japanese translations.
26 27 28 29

### Added
- Updating translations for readmes/README_ja_JP.md

30
## 7.1.0
31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
### Summary
This release uses the PDK convert functionality which in return makes the module PDK compliant. It also includes one feature and a roll up of maintenance changes.

### Added
- PDK convert ntp ([MODULES-6326](https://tickets.puppet.com/browse/MODULES-6326)).
- Create parameter for slewalways to be exposed in the ntp.conf template.

### Fixed
- `is_virtual` fact is boolean and cant be given to str2bool.
- Don't use 'inherits' in config, install and service.
- Roll up of modulesync changes.
- Make documentation more readable.
- Fix up rubocop errors ([FM-6634](https://tickets.puppet.com/browse/FM-6634)).
- Strip data types out of puppet-strings comments.

46
## 7.0.0
47 48 49 50 51 52 53
### Summary
Hiera 5 only works with Puppet 4.9.4 and above, we have bumped the Puppet requirement for the module accordingly.

### Changed
- Update YAML to version 5 ([PR 428](https://github.com/puppetlabs/puppetlabs-ntp/pull/428))
- Updates the lower puppet version boundary to 4.9.4.

54
## 6.4.1
Paula McMaw's avatar
Paula McMaw committed
55 56 57 58 59 60
### Summary
This release reverts a PR that implements Hiera 5. Issues have been seen due to compatibility issues. The issues that have been seen are ([MODULES-5775](https://tickets.puppet.com/browse/MODULES-5775)) and ([MODULES-5780](https://tickets.puppet.com/browse/MODULES-5780)).

### Changed
- Reverts ([PR 394](https://github.com/puppetlabs/puppetlabs-ntp/pull/394))

61
## 6.4.0
David Swan's avatar
David Swan committed
62 63 64 65 66 67 68 69 70
### Summary
This release is to both update the modules code so that it matches the set standards and make it so that all future prs are checked by Rubocop before release.

#### Added
- Rubocop is now enabled.

#### Changed
- All ruby code within module has been altered to match standards.

71
## 6.3.0
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90
### Summary
This is a feature release with some bugfixes and updated Japanese translations, too.

#### Added
- `enable_mode7` parameter (defaults to `false`)
- disable monitor availability while setting stat properties

#### Changed
- Lower bound of Puppet requirement from 4.5.0 to 4.7.0
- hiera.yaml to Hiera version 5 format

#### Removed
- Ubuntu 10.04 and 12.04, Debian 6, SLES 10 SP4, and Fedora 20-23 support from metadata.json (existing compatibility remains)

#### Fixed
- Path to driftfile on Suse ([MODULES-4941](https://tickets.puppet.com/browse/MODULES-4941))
- Whitespace issue in ntp.conf.epp with `tos`
- Permissions on keys file

91
## 6.2.0
92 93 94 95 96 97 98 99 100
### Summary
This is a small minor release that adds the `pool` parameter and revises some Japanese translations.

#### Added
- The `pool` parameter

#### Fixed
- Japanese translations for the README

101
## 6.1.0
102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123
### Summary

This release adds support for internationalization of the module. It also contains Japanese translations for the README, summary and description of the metadata.json and major cleanups in the README. Additional folders have been introduced called locales and readmes where translation files can be found. A number of features and bug fixes are also included in this release.

#### Features
- Addition of POT file for metadata translation for i18n.
- Multiple Gemfile updates for Ruby and Gems support.
- (MODULES-4225) Addition of Puppet strings to the ntp module.
- Implements beaker module install helper and cleanup spec helper acceptance.rb.
- (MODULES-4414) Allow NTP statistics if requested.
- (MODULES-4278) Addition of noselect feature.
- Addition of 'pool' parameter.
- Addition of Ubuntu Xenial Support.

#### Bugfixes
- Huge readme updates for adding tags to private classes, edits for localization and general cleanups.
- (MODULES-3397) Fix of the default Solaris settings.
- Changed 'service_ensure' data type to Enum.
- (MODULES-3396) remove superfluous empty lines in ntp.conf.
- (MODULES-4528) Replace Puppet.version.to_f version comparison from spec helper.
- Solaris data that was the wrong way round now fixed.

124
##s 5.0.0 and 6.0.0
125 126 127 128
### Summary

This double release adds new Puppet 4 features: data in modules, EPP templates, the $facts hash, and data types. The 5.0.0 release is fully backwards compatible to existing Puppet 4 configurations and provides you with [deprecation warnings](https://github.com/puppetlabs/puppetlabs-stdlib#deprecation) for every argument that will not work as expected with the final 6.0.0 release. See the [stdlib docs](https://github.com/puppetlabs/puppetlabs-stdlib#validate_legacy) for an in-depth discussion of this.

129 130
If you want to learn more about the new features used, have a look at the [NTP: A Puppet 4 language update](https://puppet.com/blog/ntp-puppet-4-language-update) blog post.

131 132 133 134 135 136 137 138 139
If you're still running Puppet 3, remain on the latest puppetlabs-ntp 4.x release for now, and see the documentation to [upgrade to Puppet 4](https://docs.puppet.com/puppet/4.6/reference/upgrade_major_pre.html).

### Changes

* [Data in modules](https://docs.puppet.com/puppet/latest/reference/lookup_quick_module.html#example-with-hiera): Moves all distribution and OS-dependent defaults into YAML files in `data/`, alleviating the need for a `params` class. Note that while this feature is currently still classed as experimental, the final implementation will support the changes here.
* [EPP templating](https://docs.puppet.com/puppet/latest/reference/lang_template_epp.html): Uses the Puppet language as a base for templates to create simpler and safer templates. No need for Ruby anymore! You can pass in EPP templates for the `ntp.conf` and `step-tickers` files using the new `config_epp` and `step_tickers_epp` parameters.
* [The $facts hash](https://docs.puppet.com/puppet/latest/reference/lang_facts_and_builtin_vars.html#the-factsfactname-hash): Makes facts visibly distinct from other variables for more readable and maintainable code. This helps eliminate confusion if you use a local variable whose name happens to match that of a common fact.
* [Data types for validation](https://docs.puppet.com/puppet/4.6/reference/lang_data.html): Helps you find and replace deprecated code in existing `validate_*` functions with stricter, more readable data type notation. First upgrade to the 5.0.0 release of this module, and address all deprecation warnings before upgrading to the final 6.0.0 release. Please see the [stdlib docs](https://github.com/puppetlabs/puppetlabs-stdlib#validate_legacy) for an in-depth discussion of this process.

140
## 4.2.0
Helen Campbell's avatar
Helen Campbell committed
141 142
### Summary

143
A large release with many new features. Multiple additions to parameters and work contributed to OS compatibility. Also includes several bug fixes, including clean ups of code.
Helen Campbell's avatar
Helen Campbell committed
144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171

#### Features
- Updated spec helper for more consistency
- Addition of config_dir variable
- Addition of puppet TOS options
- Added support for disabling kernel time discipline in ntp.conf
- Update Solaris support for newer Facter, and Amazon for < 1.7.0 facter
- Added disable_dhclient parameter
- Added OpenSUSE 13.2 compatibility
- Parameterize file mode of config file
- Enhanced the default configuration
- Debian 8 compatibility
- Enabled usage of the $ntpsigndsocket parameter
- Added parameter for interfaces to ignore
- Added support for the authprov parameter
- Additional work done for SLES 12 compatibility
- Addition of key template options/ key distribution

#### Bugfixes
- Fix for strict variables and tests
- Fixed test with preferred server and iburst enabled
- Added logfile parameter test
- Cleaned out unused cleanup code and utilities from spec_helper
- Deprecated ntp_dirname function
- No longer manages the keys_file parent when it would be inappropriate to do so
- Converted license string to SPDX format
- Removed ruby 1.8.7 and puppet 2.7 from travis-ci jobs

172
## 4.1.2
tphoney's avatar
tphoney committed
173 174 175 176
###Summary

Small release for support of newer PE versions. This increments the version of PE in the metadata.json file.

177
## 4.1.1
Bryan Jen's avatar
Bryan Jen committed
178 179 180 181 182 183
### Summary
This is a bugfix release to address security vulnerability CVE-2013-5211.

#### Bugfixes
- Changes the default behavior to disable monitoring as part of the solution for CVE-2013-5211.

Bryan Jen's avatar
Bryan Jen committed
184
## 2015-07-21 - Supported Release 4.1.0
Bryan Jen's avatar
Bryan Jen committed
185 186 187 188
### Summary
This release updates metadata to support new version of puppet enterprise, as well as new features, bugfixes, and test improvements.

#### Features
Bryan Jen's avatar
Bryan Jen committed
189 190
- Adds Solaris 10 support
- Adds Fedora 20, 21, 22 compatibility
Bryan Jen's avatar
Bryan Jen committed
191 192 193 194 195 196

#### Bugfixes
- Fix default configuration for Debian (MODULES-2087)
- Fix to ensure log file is created before service starts
- Fixes SLES params for SLES 10, 11, 12

Jonathan Tripathy's avatar
Jonathan Tripathy committed
197
## 2015-05-26 - Supported Release 4.0.0
Hunter Haugen's avatar
Hunter Haugen committed
198
### Summary
Jonathan Tripathy's avatar
Jonathan Tripathy committed
199
This release drops puppet 2.7 support and older stdlib support. It also includes the addition of 12 new properties, as well as numerous bug fixes and other improvements.
Hunter Haugen's avatar
Hunter Haugen committed
200 201 202 203 204 205 206

#### Backwards-incompatible changes
- UDLC (Undisciplined local clock) is now no longer enabled by default on anything (previous was enabled on non-virtual).
- Puppet 2.7 no longer supported
- puppetlabs-stdlib less than 4.5.0 no longer supported

#### Features
Jonathan Tripathy's avatar
Jonathan Tripathy committed
207 208 209 210 211 212 213 214 215 216 217 218 219 220
- Readme, Metadata, and Contribution documentation improvements
- Acceptance test improvements
- Added the `broadcastclient` property
- Added the `disable_auth` property
- Added `broadcastclient` property
- Added `disable_auth` property
- Added `fudge` property
- Added `peers` property
- Added `udlc_stratum` property
- Added `tinker` property
- Added `minpoll` property
- Added `maxpoll` property
- Added `stepout` property
- Added `leapfile` property
Hunter Haugen's avatar
Hunter Haugen committed
221 222

#### Bugfixes
Jonathan Tripathy's avatar
Jonathan Tripathy committed
223 224 225 226 227
- Removing equal sign as delimiter in ntp.conf for the logfile parameter.
- Add package_manage parameter, which is set to false by default on FreeBSD
- Fixed an issue with the `is_virtual` property
- Fixed debian wheezy issue
- Fix for Redhat to disable ntp restart due to dhcp ntp server updates
Hunter Haugen's avatar
Hunter Haugen committed
228

Morgan Haskel's avatar
Morgan Haskel committed
229 230 231 232 233 234 235 236
##2014-11-04 - Supported Release 3.3.0
###Summary

This release adds support for SLES 12.

####Features
- Added support for SLES 12

Morgan Haskel's avatar
Morgan Haskel committed
237 238 239 240 241 242 243 244
##2014-10-02 - Supported Release 3.2.1
###Summary

This is a bug-fix release addressing the security concerns of setting /etc/ntp to mode 0755 recursively.

####Bugfixes
- Do not recursively set ownership/mode of /etc/ntp

Morgan Haskel's avatar
Morgan Haskel committed
245 246 247 248
##2014-09-10 - Supported Release 3.2.0
###Summary

This is primarily a feature release. It adds a few new parameters to class `ntp`
Morgan Haskel's avatar
Morgan Haskel committed
249
and adds support for Solaris 11.
Morgan Haskel's avatar
Morgan Haskel committed
250 251 252 253 254 255 256 257 258 259 260 261

####Features
- Add the `$interfaces` parameter to `ntp`
- Add support for Solaris 10 and 11
- Synchronized files with modulesync
- Test updates
- Add the `$iburst_enable` parameter to `ntp`

####Bugfixes
- Fixes for strict variables
- Remove dependency on stdlib4

Ashley Penney's avatar
Ashley Penney committed
262 263 264 265 266
##2014-06-06 - Release 3.1.2
###Summary

This is a supported release.  This release fixes a manifest typo.

267 268 269 270 271 272 273 274 275 276
##2014-06-06 - Release 3.1.1
###Summary

This is a bugfix release to get around dependency issues in PMT 3.6.  This
version has a dependency on puppetlabs-stdlib >= 4 so PE3.2.x is no longer
supported.

####Bugfixes
- Remove deprecated Modulefile as it was causing duplicate dependencies with PMT.

Morgan Haskel's avatar
Morgan Haskel committed
277
##2014-05-14 - Release 3.1.0
Ashley Penney's avatar
Ashley Penney committed
278 279 280 281 282 283 284 285 286 287 288 289 290 291
###Summary

This release adds `disable_monitor` so you can disable the monitor functionality
of NTP, which was recently used in NTP amplification attacks.  It also adds
support for RHEL7 and Ubuntu 14.04.

####Features
- Add `disable_monitor`

####Bugfixes

#####Known Bugs
* No known bugs

Ashley Penney's avatar
Ashley Penney committed
292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309
##2014-04-09 - Supported Release 3.0.4
###Summary
This is a supported release.

The only functional change in this release is to split up the restrict
defaults to be per operating system so that we can provide safer defaults
for AIX, to resolve cases where IPv6 are disabled.

####Features
- Rework restrict defaults.

####Bugfixes
- Fix up a comment.
- Fix a test to work better on PE.

#####Known Bugs
* No known bugs

Hunter Haugen's avatar
Hunter Haugen committed
310
##2014-03-04 - Supported Release 3.0.3
311
###Summary
Hunter Haugen's avatar
Hunter Haugen committed
312
This is a supported release. Correct stdlib compatibility
313 314

####Bugfixes
Hunter Haugen's avatar
Hunter Haugen committed
315 316
- Remove `dirname()` call for correct stdlib compatibility.
- Improved tests
317 318 319 320 321 322 323

####Known Bugs
* No known bugs


## 2014-02-13 - Release 3.0.2
###Summary
Ashley Penney's avatar
Ashley Penney committed
324 325 326

No functional changes: Update the README and allow custom gem sources.

327 328
## 2013-12-17 - Release 3.0.1
### Summary
Ashley Penney's avatar
Ashley Penney committed
329 330 331

Work around a packaging bug with symlinks, no other functional changes.

332 333
## 2013-12-13 - Release 3.0.0
### Summary
334

William Van Hevelingen's avatar
William Van Hevelingen committed
335
Final release of 3.0, enjoy!
336

337

William Van Hevelingen's avatar
William Van Hevelingen committed
338 339
## 2013-10-14 - Version 3.0.0-rc1

340
###Summary
William Van Hevelingen's avatar
William Van Hevelingen committed
341 342 343

This release changes the behavior of restrict and adds AIX osfamily support.

344
####Backwards-incompatible Changes:
William Van Hevelingen's avatar
William Van Hevelingen committed
345 346

`restrict` no longer requires you to pass in parameters as:
347 348 349 350 351 352 353 354 355

restrict => [ 'restrict x', 'restrict y' ]

but just as:

restrict => [ 'x', 'y' ]

As the template now prefixes each line with restrict.

356
####Features
357 358 359 360 361 362
- Change the behavior of `restrict` so you no longer need the restrict
keyword.
- Add `udlc` parameter to enable undisciplined local clock regardless of the
machines status as a virtual machine.
- Add AIX support.

363
####Fixes
364 365 366
- Use class{} instead of including and then anchoring. (style)
- Extend Gentoo coverage to Facter 1.7.

367 368
---
##2013-09-05 - Version 2.0.1
369

370
###Summary
371 372 373

Correct the LICENSE file.

374
####Bugfixes
375 376
- Add in the appropriate year and name in LICENSE.

377

378 379 380
##2013-07-31 - Version 2.0.0

###Summary
381 382 383 384 385 386 387

The 2.0 release focuses on merging all the distro specific
templates into a single reusable template across all platforms.

To aid in that goal we now allow you to change the driftfile,
ntp keys, and perferred_servers.

388
####Backwards-incompatible changes
389 390 391 392 393 394

As all the distro specific templates have been removed and a
unified one created you may be missing functionality you
previously relied on.  Please test carefully before rolling
out globally.

395 396 397 398 399 400 401 402 403 404
Configuration directives that might possibly be affected:
- `filegen`
- `fudge` (for virtual machines)
- `keys`
- `logfile`
- `restrict`
- `restrictkey`
- `statistics`
- `trustedkey`

405
####Features:
406 407 408 409
- All templates merged into a single template.
- NTP Keys support added.
- Add preferred servers support.
- Parameters in `ntp` class:
410 411 412 413 414 415 416 417 418 419 420 421
  - `driftfile`: path for the ntp driftfile.
  - `keys_enable`: Enable NTP keys feature.
  - `keys_file`: Path for the NTP keys file.
  - `keys_trusted`: Which keys to trust.
  - `keys_controlkey`: Which key to use for the control key.
  - `keys_requestkey`: Which key to use for the request key.
  - `preferred_servers`: Array of servers to prefer.
  - `restrict`: Array of restriction options to apply.

---
###2013-07-15 - Version 1.0.1
####Bugfixes
422 423 424
- Fix deprecated warning in `autoupdate` parameter.
- Correctly quote is_virtual fact.

425 426 427

##2013-07-08 - Version 1.0.0
####Features
428
- Completely refactored to split across several classes.
Ashley Penney's avatar
Ashley Penney committed
429 430
- rspec-puppet tests rewritten to cover more options.
- rspec-system tests added.
431
- ArchLinux handled via osfamily instead of special casing.
432
- parameters in `ntp` class:
433
  - `autoupdate`: deprecated in favor of directly setting package_ensure.
434
  - `panic`: set to false if you wish to allow large clock skews.
435 436 437 438 439 440 441 442 443

---
##2011-11-10 Dan Bode <dan@puppetlabs.com> - 0.0.4
* Add Amazon Linux as a supported platform
* Add unit tests


##2011-06-16 Jeff McCune <jeff@puppetlabs.com> - 0.0.3
* Initial release under puppetlabs
444 445 446


\* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*