CHANGELOG.md 13.4 KB
Newer Older
Tim Smith's avatar
Tim Smith committed
1
# rsyslog Cookbook CHANGELOG
Tim Smith's avatar
Tim Smith committed
2

Seth Vargo's avatar
Seth Vargo committed
3
This file is used to list changes made in each version of the rsyslog cookbook.
jtimberman's avatar
jtimberman committed
4

5
## Unreleased
Lance Albertson's avatar
Lance Albertson committed
6
7

- Bring default configuration for SmartOS inline with current distribution from pkgsrc and note SmartOS as a supported package.
8

Sous Chefs Bot's avatar
Sous Chefs Bot committed
9
## 7.4.0 - *2020-11-25*
10

Sous Chefs Bot's avatar
Sous Chefs Bot committed
11
## 7.3.0 - *2020-11-23*
Xorima Bot's avatar
Xorima Bot committed
12

13
14
- Enabled custom templates for rsyslog `35-server-per-host.conf` file.

Sous Chefs Bot's avatar
Sous Chefs Bot committed
15
## 7.2.1 - *2020-11-23*
16

17
18
- Fixed a bug during the release of 7.2.0
  - Add an attribute for setting the mode on the configuration directory
19

20
## 7.2.0 - *2020-11-23*
21
22
23

- Add an attribute for setting the mode on the configuration directory

Lance Albertson's avatar
Lance Albertson committed
24
## 7.1.0 (2020-10-26)
Xorima Bot's avatar
Xorima Bot committed
25

26
27
28
29
### Changed

- Sous Chefs Adoption
- Update Changelog to Sous Chefs
30
- Update to use Sous Chefs GH workflow
Lance Albertson's avatar
Lance Albertson committed
31
- Update README to sous-chefs
32
- Update metadata.rb to Sous Chefs
33
- Update test-kitchen to Sous Chefs
34
- Migrate to InSpec for integration tests
35
36
37

### Fixed

Xorima Bot's avatar
Xorima Bot committed
38
- resolved cookstyle error: spec/default_spec.rb:236:7 warning: `ChefDeprecations/DeprecatedChefSpecPlatform`
Xorima Bot's avatar
Xorima Bot committed
39
- resolved cookstyle error: recipes/client.rb:44:7 refactor: `ChefCorrectness/ChefApplicationFatal`
Lance Albertson's avatar
Lance Albertson committed
40
- Cookstyle fixes
Lance Albertson's avatar
Lance Albertson committed
41
- ChefSpec fixes
Lance Albertson's avatar
Lance Albertson committed
42
- Yamllint fixes
Lance Albertson's avatar
Lance Albertson committed
43
- Fix RELP on SuSE platforms
Xorima Bot's avatar
Xorima Bot committed
44

Lance Albertson's avatar
Lance Albertson committed
45
46
47
### Added

- Add mdlrc file
Lance Albertson's avatar
Lance Albertson committed
48
- Add Ubuntu 20.04 testing
49
- Add an attribute for setting the mode on the configuration directory
Lance Albertson's avatar
Lance Albertson committed
50

51
52
53
### Removed

- Remove Amazon Linux 1 testing
Lance Albertson's avatar
Lance Albertson committed
54
- Remove EL 6 testing
Xorima Bot's avatar
Xorima Bot committed
55

Tim Smith's avatar
Tim Smith committed
56
57
58
59
## 7.0.1 (2019-12-23)

- Fix the systemd detection logic - [@tas50](https://github.com/tas50)

Tim Smith's avatar
Tim Smith committed
60
61
62
63
64
65
66
67
68
69
70
## 7.0.0 (2019-12-23)

- Update for Chef 15 license agreement and Chef Workstation - [@tas50](https://github.com/tas50)
- Resolve Cookstyle 5.8 warnings - [@tas50](https://github.com/tas50)
- Fixes spec tests locally and on travis-ci
- Expand testing to the latest platformms - [@tas50](https://github.com/tas50)
- Fix Amazon Linux 201X and 2.x support - [@tas50](https://github.com/tas50)
- Fix opensuse failures - [@tas50](https://github.com/tas50)
- Remove support for EOL RHEL 5
- Require Chef Infra 13 or later

Tim Smith's avatar
Tim Smith committed
71
72
73
74
## 6.0.7 (2018-08-01)

- Optional creation of default configuration file 50-default.conf

Vasyl Purchel's avatar
Vasyl Purchel committed
75
76
77
78
## 6.0.6 (2018-08-25)

- Create working directory recursively

Tim Smith's avatar
Tim Smith committed
79
80
81
82
83
84
## 6.0.5 (2018-07-10)

- Remove Chefspec matchers that are autogenerated now
- Update specs to the latest platform versions
- Make sure all config files use the owner/group/mode attributes

Tim Smith's avatar
Tim Smith committed
85
86
87
88
89
90
91
92
93
## 6.0.4 (2018-01-16)

- Don't exclude any foodcritic rules
- Remove the need for apt cookbook in testing
- Remove omnios as a supported platform
- Simplify platform support in the metadata
- Update ignore files
- Require Chef 12.7+

Tim Smith's avatar
Tim Smith committed
94
95
96
97
98
## 6.0.3 (2018-01-12)

- Skip search if ['rsyslog']['server_search'] is empty
- Fix FC108 error

Tim Smith's avatar
Tim Smith committed
99
100
101
102
103
104
105
106
107
## 6.0.2 (2017-07-04)

- Updating README to reflect current Chef software version dependency and remove compat_resource cookbook dependency.
- Update kitchen configs and use delivery local mode instead of Rake
- Don’t fail parsing metadata.rb on older chef clients
- Simplify Travis config and fix ChefDK 2.0 failures
- Let permissions of template resources be configured through attributes
- Fix CHEF-19 - Add prefix new_resource to several properties

Jennifer Davis's avatar
Jennifer Davis committed
108
109
110
111
## 6.0.1 (2017-02-28)

- Fix Issue #126 multiple remote server configuration template which requires $ActionQueueFileName to be different for each remote server

Tim Smith's avatar
Tim Smith committed
112
113
114
115
## 6.0.0 (2017-02-23)

- Require Chef 12.5+ and remove dependency on compat_resource

Tim Smith's avatar
Tim Smith committed
116
117
118
119
120
121
122
## 5.1.0 (2016-12-30)

- Removed empty value from default custom_remote in attributes
- don't break if custom_remote is not set
- adding ability to override more options
- adding ability to set multiple log templates

Tim Smith's avatar
Tim Smith committed
123
124
125
126
127
128
## 5.0.1 (2016-12-06)

- Remove support for Ubuntu 10.04
- Simplify logic in the attributes file around Fedora
- Fix comment headers to be yard compatible

Tim Smith's avatar
Tim Smith committed
129
## 5.0.0 (2016-11-14)
Tim Smith's avatar
Tim Smith committed
130

Tim Smith's avatar
Tim Smith committed
131
132
133
134
135
136
137
138
- Make rsyslog only restart once if you define multiple file_input resources.
- Remove debugging log statement
- Require chef 12.1
- Require compat_resource 12.10+
- Remove chef 11 compat
- Remove support for arch
- Depend on the recent compat_resource cookbook

Jennifer Davis's avatar
Jennifer Davis committed
139
## v.4.0.1 (2016-07-20)
Tim Smith's avatar
Tim Smith committed
140

Jennifer Davis's avatar
Jennifer Davis committed
141
142
143
144
145
146
147
148
- PR #76 Validate the config file using `rsyslogd -N 1` via eherot
- PR #105 Use correct file name for remote.conf via mfenner
- PR #105 Add $LocalHostName directive via mfenner
- PR #105 Change directive `:fromhost-ip,!isequal,"127.0.0.1"` from using ~ to stop via mfenner
- PR #110 Add support for permitted peer via dastergon
- Add SUSE support
- Clean up travis configuration

Tim Smith's avatar
Tim Smith committed
149
## v.4.0.0 (2015-12-09)
Tim Smith's avatar
Tim Smith committed
150

Tim Smith's avatar
Tim Smith committed
151
152
153
154
155
- Removed support for Chef Solo. Since this cookbook now supports Chef 12+ only it makes far more sense to use Chef Zero (local mode) if a Chef server is not available.
- Removed yum from the Berksfile as it wasn't being used
- Fixed bad variables being passed in the file_input custom resource
- Added Chefspec matchers

Tim Smith's avatar
Tim Smith committed
156
## v.3.0.0 (2015-11-09)
Tim Smith's avatar
Tim Smith committed
157

158
159
- Breaking change: The file_input LWRP has been updated to be a Chef 12.5 custom_resource, with backwards compatibility to all Chef 12.x released provided by compat_resource. Additionally the 'source' and 'cookbook' attributes in the file_input resource have been renamed to 'template_source' and 'cookbook_source' to prevent failures.
- Helpers for determining the service provider on Ubuntu have been removed since Chef 12 does the right thing with Init, Upstart, and systemd.
Tim Smith's avatar
Tim Smith committed
160
- rsyslog::client no longer fails if there are no servers to forward logs to. Instead forwarding isn't configuring and a warning is written to the chef client log
Tim Smith's avatar
Tim Smith committed
161
- Fix broken templating of /etc/rsyslog.d/49-remote.conf when relp was enabled. Added testing to prevent future regressions here.
Tim Smith's avatar
Tim Smith committed
162
- Test Kitchen integration tests are now run via Travis so all PRs will be fully tested
163

Tim Smith's avatar
Tim Smith committed
164
## v.2.2.0 (2015-10-05)
Tim Smith's avatar
Tim Smith committed
165

Tim Smith's avatar
Tim Smith committed
166
167
- Add why-run support to the file_input LWRP
- Added support for rsyslog under systemd on Ubuntu 15.04+
Tim Smith's avatar
Tim Smith committed
168
- Added new attribute node['rsyslog']['custom_remote']. See readme for additional information
Tim Smith's avatar
Tim Smith committed
169
170
171
172
173
174
175
176
177
178
179
- Added source_url and issues_url metadata for Supermarket
- Fixed 49-relp.conf to honor logs_to_forward so it didn't just forward everything
- Updated contributing and testing docs
- Set the minimum supported Chef release to 11.0
- Added maintainers.toml and maintainers.md files
- Added Amazon Linux, Oracle, and Scientific Linux to the metadata
- Removed all pre-Ruby 1.9 hash rockets
- Updated development dependencies in the
- Fix a bad example attribute in the readme
- Updated Travis CI config to test on all modern Ruby releases

Tim Smith's avatar
Tim Smith committed
180
## v.2.1.0 (2015-07-22)
Tim Smith's avatar
Tim Smith committed
181

Tim Smith's avatar
Tim Smith committed
182
- Fixed minor markdown errors in the readme
Tim Smith's avatar
Tim Smith committed
183
- Allow the server to listen on both TCP and UDP. For both set node['rsyslog']['protocol'] to 'udptcp'
Tim Smith's avatar
Tim Smith committed
184
185
186
- Move the include for /etc/rsyslog.d/ to the very end of the rsyslog.conf config
- Added the ability to bind to a specific IP when running the server on UDP with node['rsyslog']['bind']
- Sync the comments in the rsyslog.conf file with the latest upstream rsyslog release
Tim Smith's avatar
Tim Smith committed
187
- Change emerg to log to :omusrmsg: _vs._ on modern rsyslog releases to avoid deprecation warnings
Tim Smith's avatar
Tim Smith committed
188

Tim Smith's avatar
Tim Smith committed
189
## v.2.0.0 (2015-05-18)
Tim Smith's avatar
Tim Smith committed
190

Tim Smith's avatar
Tim Smith committed
191
Note: This version includes several breaking changes for Ubuntu users. Be sure to take care when deploying these changes to production systems.
Tim Smith's avatar
Tim Smith committed
192

Tim Smith's avatar
Tim Smith committed
193
194
195
196
- 49-relp.conf now properly uses the list of servers discovered in the client recipe
- Fixed a typo that prevented file-input.conf from properly templating
- Added allow_non_local attribute to allow non-local messages. This defaults to false, which preserves the previous functionality
- The rsyslog directory permissions are now properly set using the user/group attributes instead of root/root
Tim Smith's avatar
Tim Smith committed
197
198
- Properly drop permissions on Ubuntu systems to syslog/syslog. Introduces 2 new attributes to control the user/group: priv_user and priv_group
- Remove logging to /dev/xconsole in 50-default.conf on Ubuntu systems. This is generally not something you'd want to do and produces error messages at startup.
Tim Smith's avatar
Tim Smith committed
199

Tim Smith's avatar
Tim Smith committed
200
## v.1.15.0 (2015-02-23)
Tim Smith's avatar
Tim Smith committed
201

Tim Smith's avatar
Tim Smith committed
202
203
204
205
206
207
208
- Change minimum supported Fedora release to 20 to align with the Fedora product lifecycle
- Add supports CentOS to metadata
- Update Rubocop and Test Kitchen dependencies to the latest versions
- Update Chefspec to 4.0
- Fix CentOS 5 support in the Kitchen config
- Fix rsyslog service notification in the file_input LWRP

Tim Smith's avatar
Tim Smith committed
209
## v.1.14.0 (2015-01-30)
Tim Smith's avatar
Tim Smith committed
210

Tim Smith's avatar
Tim Smith committed
211
212
213
214
215
- Don't attempt to use journald on Amazon Linux since Amazon Linux doesn't use systemd
- Fixed setting bad permissions on the working directory by using the rsyslog user/group variables.
- Fixed bad variable in the 49-relp.conf template that prevented Chef converges from completing.
- Removed the 'reload' action from the rsyslog service as newer rsyslog releases don't support reload.
- Updated Chefspecs to remove deprecation warnings and added additional tests.
Tim Smith's avatar
Tim Smith committed
216
- Removed node name from the comment block in the config files.
Tim Smith's avatar
Tim Smith committed
217
218
- Added a new file_input LWRP for defining configs.
- Added support for chef solo search cookbook.
jtimberman's avatar
jtimberman committed
219

Tim Smith's avatar
Tim Smith committed
220
## v1.13.0 (2014-11-25)
Tim Smith's avatar
Tim Smith committed
221

222
223
224
- Rsyslog's working directory is now an attribute and is set to the appropriate directory on RHEL based distros
- The working directory is now 0700 vs 0755 for additional security
- Add the ActionQueueMaxDiskSpace directive with a default of 1GB to prevent out of disk events during large buffering
225
226
- Updated RHEL / Fedora facilities to match those shipped by the distros
- Updated modules to match those used by journald (systemd) on Fedora 19+ and CentOS 7
Tim Smith's avatar
Tim Smith committed
227
- Added an attribute additional_directives to pass a hash of configs. This is currently only being used to pass directives necessary for journald support on RHEL 7 / Fedora 19+
228
229
- Added basic SUSE support
- Fixed logic that prevented Ubuntu from properly dropping privileges in Ubuntu >= 11.04
230
- Removed references to rsyslog v3 in the config template
231
232
233
234
235
236
237
- Added a chefignore file
- Updated Gemfile with newer releases of Test Kitchen, Rubocop, and Berkshelf
- Added Fedora 20, Debian 6/7, CentOS 7, and Ubuntu 12.04/14.04 to the Test Kitchen config
- Removed an attribute that was in the Readme twice
- Updated Travis to Ruby 2.1.1 to better match Chef 12
- Updated the Berksfile to point to Supermarket
- Refactored the specs to be more dry
Sean OMeara's avatar
Sean OMeara committed
238

Tim Smith's avatar
Tim Smith committed
239
## v1.12.2 (2014-02-28)
Tim Smith's avatar
Tim Smith committed
240

Sean OMeara's avatar
Sean OMeara committed
241
242
Fixing bug fix in rsyslog.conf

Tim Smith's avatar
Tim Smith committed
243
## v1.12.0 (2014-02-27)
Tim Smith's avatar
Tim Smith committed
244

Sean OMeara's avatar
Sean OMeara committed
245
246
247
- [COOK-4021] Allow specifying default templates for local and remote
- [COOK-4126] rsyslog cookbook fails restarts due to not using upstart

Tim Smith's avatar
Tim Smith committed
248
## v1.11.0 (2014-02-19)
Tim Smith's avatar
Tim Smith committed
249

Sean OMeara's avatar
Sean OMeara committed
250
### Bug
Tim Smith's avatar
Tim Smith committed
251

Tim Smith's avatar
Tim Smith committed
252
- **[COOK-4256](https://tickets.opscode.com/browse/COOK-4256)** - Fix syntax errors in default.conf on rhel
Sean OMeara's avatar
Sean OMeara committed
253
254

### New Feature
Tim Smith's avatar
Tim Smith committed
255

Tim Smith's avatar
Tim Smith committed
256
257
- **[COOK-4022](https://tickets.opscode.com/browse/COOK-4022)** - Add use_local_ipv4 option to allow selecting internal interface on cloud systems
- **[COOK-4018](https://tickets.opscode.com/browse/COOK-4018)** - rsyslog TLS encryption support
Sean OMeara's avatar
Sean OMeara committed
258

Tim Smith's avatar
Tim Smith committed
259
## v1.10.2
Tim Smith's avatar
Tim Smith committed
260

Sean OMeara's avatar
Sean OMeara committed
261
262
No change. Version bump for toolchain.

Tim Smith's avatar
Tim Smith committed
263
## v1.10.0
Tim Smith's avatar
Tim Smith committed
264

Sean OMeara's avatar
Sean OMeara committed
265
### New Feature
Tim Smith's avatar
Tim Smith committed
266

Tim Smith's avatar
Tim Smith committed
267
- **[COOK-4021](https://tickets.opscode.com/browse/COOK-4021)** - Allow specifying default templates for local and remote
Sean OMeara's avatar
Sean OMeara committed
268
269

### Improvement
Tim Smith's avatar
Tim Smith committed
270

Tim Smith's avatar
Tim Smith committed
271
- **[COOK-3876](https://tickets.opscode.com/browse/COOK-3876)** - Cater for setting rate limits
Sean OMeara's avatar
Sean OMeara committed
272

Tim Smith's avatar
Tim Smith committed
273
## v1.9.0
Tim Smith's avatar
Tim Smith committed
274

Seth Vargo's avatar
Seth Vargo committed
275
### New Feature
Tim Smith's avatar
Tim Smith committed
276

Tim Smith's avatar
Tim Smith committed
277
- **[COOK-3736](https://tickets.opscode.com/browse/COOK-3736)** - Support OmniOS
Seth Vargo's avatar
Seth Vargo committed
278
279

### Improvement
Tim Smith's avatar
Tim Smith committed
280

Tim Smith's avatar
Tim Smith committed
281
- **[COOK-3609](https://tickets.opscode.com/browse/COOK-3609)** - Add actionqueue to remote rsyslog configurations
Seth Vargo's avatar
Seth Vargo committed
282
283

### Bug
Tim Smith's avatar
Tim Smith committed
284

Tim Smith's avatar
Tim Smith committed
285
286
- **[COOK-3608](https://tickets.opscode.com/browse/COOK-3608)** - Add 50-default template knobs
- **[COOK-3600](https://tickets.opscode.com/browse/COOK-3600)** - SmartOS support
Seth Vargo's avatar
Seth Vargo committed
287

Tim Smith's avatar
Tim Smith committed
288
## v1.8.0
Tim Smith's avatar
Tim Smith committed
289

Seth Vargo's avatar
Seth Vargo committed
290
### Improvement
Tim Smith's avatar
Tim Smith committed
291
292

- **[COOK-3573](https://tickets.opscode.com/browse/COOK-3573)** - Add Test Kitchen, Specs, and Travis CI
Seth Vargo's avatar
Seth Vargo committed
293
294

### New Feature
Tim Smith's avatar
Tim Smith committed
295

Tim Smith's avatar
Tim Smith committed
296
- **[COOK-3435](https://tickets.opscode.com/browse/COOK-3435)** - Add support for relp
Seth Vargo's avatar
Seth Vargo committed
297

Tim Smith's avatar
Tim Smith committed
298
## v1.7.0
Tim Smith's avatar
Tim Smith committed
299

Seth Vargo's avatar
Seth Vargo committed
300
### Improvement
Tim Smith's avatar
Tim Smith committed
301

Tim Smith's avatar
Tim Smith committed
302
303
304
- **[COOK-3253](https://tickets.opscode.com/browse/COOK-3253)** - Enable repeated message reduction
- **[COOK-3190](https://tickets.opscode.com/browse/COOK-3190)** - Allow specifying which logs to send to remote server
- **[COOK-2355](https://tickets.opscode.com/browse/COOK-2355)** - Support forwarding events to more than one server
Seth Vargo's avatar
Seth Vargo committed
305

Tim Smith's avatar
Tim Smith committed
306
## v1.6.0
Tim Smith's avatar
Tim Smith committed
307

Seth Vargo's avatar
Seth Vargo committed
308
### New Feature
Tim Smith's avatar
Tim Smith committed
309

jtimberman's avatar
jtimberman committed
310
311
312
- [COOK-2831]: enable high precision timestamps

### Bug
Tim Smith's avatar
Tim Smith committed
313

Seth Vargo's avatar
Seth Vargo committed
314
315
316
- [COOK-2377]: calling node.save has adverse affects on nodes relying on a searched node's ohai attributes
- [COOK-2521]: rsyslog cookbook incorrectly sets directory ownership to rsyslog user
- [COOK-2540]: Syslogd needs to be disabled before starting rsyslogd on RHEL 5
jtimberman's avatar
jtimberman committed
317
318

### Improvement
Tim Smith's avatar
Tim Smith committed
319

jtimberman's avatar
jtimberman committed
320
- [COOK-2356]: rsyslog service supports status. Service should use it.
Seth Vargo's avatar
Seth Vargo committed
321
- [COOK-2357]: rsyslog cookbook copies in wrong defaults file on Ubuntu !9.10/10.04
jtimberman's avatar
jtimberman committed
322

Tim Smith's avatar
Tim Smith committed
323
## v1.5.0
Tim Smith's avatar
Tim Smith committed
324

Seth Vargo's avatar
Seth Vargo committed
325
- [COOK-2141] - Add `$PreserveFQDN` configuration directive
jtimberman's avatar
jtimberman committed
326

Tim Smith's avatar
Tim Smith committed
327
## v1.4.0
Tim Smith's avatar
Tim Smith committed
328

Seth Vargo's avatar
Seth Vargo committed
329
- [COOK-1877] - RHEL 6 support and refactoring
jtimberman's avatar
jtimberman committed
330

Tim Smith's avatar
Tim Smith committed
331
## v1.3.0
Tim Smith's avatar
Tim Smith committed
332

Seth Vargo's avatar
Seth Vargo committed
333
- [COOK-1189] - template change does not restart rsyslog on Ubuntu
jtimberman's avatar
jtimberman committed
334

Seth Vargo's avatar
Seth Vargo committed
335
This actually went into 1.2.0 with action `:reload`, but that change has been reverted and the action is back to `:restart`.
jtimberman's avatar
jtimberman committed
336

Tim Smith's avatar
Tim Smith committed
337
## v1.2.0
Tim Smith's avatar
Tim Smith committed
338

Seth Vargo's avatar
Seth Vargo committed
339
340
- [COOK-1678] - syslog user does not exist on debian 6.0 and ubuntu versions lower than 11.04
- [COOK-1650] - enable max message size configuration via attribute
jtimberman's avatar
jtimberman committed
341

Tim Smith's avatar
Tim Smith committed
342
## v1.1.0
Tim Smith's avatar
Tim Smith committed
343

jtimberman's avatar
jtimberman committed
344
Changes from COOK-1167:
Tim Smith's avatar
Tim Smith committed
345

Seth Vargo's avatar
Seth Vargo committed
346
347
348
349
350
351
- More versatile server discovery - use the IP as an attribute, or use search (see README)
- Removed cron dependency.
- Removed log archival; logrotate is recommended.
- Add an attribute to select the per-host directory in the log dir
- Works with Chef Solo now.
- Set debian/ubuntu default user and group. Drop privileges to `syslog.adm`.
jtimberman's avatar
jtimberman committed
352

Tim Smith's avatar
Tim Smith committed
353
## v1.0.0
Tim Smith's avatar
Tim Smith committed
354

Seth Vargo's avatar
Seth Vargo committed
355
356
357
358
- [COOK-836] - use an attribute to specify the role to search for instead of relying on the rsyslog['server'] attribute.
- Clean up attribute usage to use strings instead of symbols.
- Update this README.
- Better handling for chef-solo.