CHANGELOG.md 9.04 KB
Newer Older
Seth Vargo's avatar
Seth Vargo committed
1
2
3
rsyslog Cookbook CHANGELOG
==========================
This file is used to list changes made in each version of the rsyslog cookbook.
jtimberman's avatar
jtimberman committed
4

5
6
7
8
UNRELEASED
--------------------
- 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
9
- 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
10
- 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
11
- Test Kitchen integration tests are now run via Travis so all PRs will be fully tested
12

Tim Smith's avatar
Tim Smith committed
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
v.2.2.0 (2015-10-05)
----------
- Add why-run support to the file_input LWRP
- Added support for rsyslog under systemd on Ubuntu 15.04+
- Added new attribute node['rsyslog']['custom_remote'].  See readme for additional information
- 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
29
30
31
v.2.1.0 (2015-07-22)
----------
- Fixed minor markdown errors in the readme
Tim Smith's avatar
typo    
Tim Smith committed
32
- 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
33
34
35
36
37
- 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
- Change emerg to log to :omusrmsg:* vs. * on modern rsyslog releases to avoid deprecation warnings

Tim Smith's avatar
Tim Smith committed
38
v.2.0.0 (2015-05-18)
Tim Smith's avatar
Tim Smith committed
39
--------------------
Tim Smith's avatar
Tim Smith committed
40
41
42
43
44
45
46
47
48
Note: This version includes several breaking changes for Ubuntu users. Be sure to take care when deploying these changes to production systems.

- 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
- 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
49
50
51
52
53
54
55
56
57
v.1.15.0 (2015-02-23)
---------------------
- 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
58
59
60
61
62
63
64
v.1.14.0 (2015-01-30)
---------------------
- 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
65
- Removed node name from the comment block in the config files.
Tim Smith's avatar
Tim Smith committed
66
67
- Added a new file_input LWRP for defining configs.
- Added support for chef solo search cookbook.
jtimberman's avatar
jtimberman committed
68

Tim Smith's avatar
Tim Smith committed
69
70
v1.13.0 (2014-11-25)
--------------------
71
72
73
- 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
74
75
76
- 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
- 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+
77
78
- Added basic SUSE support
- Fixed logic that prevented Ubuntu from properly dropping privileges in Ubuntu >= 11.04
79
- Removed references to rsyslog v3 in the config template
80
81
82
83
84
85
86
- 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
87

Sean OMeara's avatar
Sean OMeara committed
88
89
90
91
92
v1.12.2 (2014-02-28)
--------------------
Fixing bug fix in rsyslog.conf


Sean OMeara's avatar
Sean OMeara committed
93
94
95
96
97
98
v1.12.0 (2014-02-27)
--------------------
- [COOK-4021] Allow specifying default templates for local and remote
- [COOK-4126] rsyslog cookbook fails restarts due to not using upstart


Sean OMeara's avatar
Sean OMeara committed
99
100
101
v1.11.0 (2014-02-19)
--------------------
### Bug
Tim Smith's avatar
Tim Smith committed
102
- **[COOK-4256](https://tickets.opscode.com/browse/COOK-4256)** - Fix syntax errors in default.conf on rhel
Sean OMeara's avatar
Sean OMeara committed
103
104

### New Feature
Tim Smith's avatar
Tim Smith committed
105
106
- **[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
107
108


Sean OMeara's avatar
Sean OMeara committed
109
110
111
112
113
v1.10.2
-------
No change. Version bump for toolchain.


Sean OMeara's avatar
Sean OMeara committed
114
115
116
v1.10.0
-------
### New Feature
Tim Smith's avatar
Tim Smith committed
117
- **[COOK-4021](https://tickets.opscode.com/browse/COOK-4021)** - Allow specifying default templates for local and remote
Sean OMeara's avatar
Sean OMeara committed
118
119

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


Seth Vargo's avatar
Seth Vargo committed
123
124
125
v1.9.0
------
### New Feature
Tim Smith's avatar
Tim Smith committed
126
- **[COOK-3736](https://tickets.opscode.com/browse/COOK-3736)** - Support OmniOS
Seth Vargo's avatar
Seth Vargo committed
127
128

### Improvement
Tim Smith's avatar
Tim Smith committed
129
- **[COOK-3609](https://tickets.opscode.com/browse/COOK-3609)** - Add actionqueue to remote rsyslog configurations
Seth Vargo's avatar
Seth Vargo committed
130
131

### Bug
Tim Smith's avatar
Tim Smith committed
132
133
- **[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
134
135


Seth Vargo's avatar
Seth Vargo committed
136
137
138
v1.8.0
------
### Improvement
Tim Smith's avatar
Tim Smith committed
139
- **[COOK-3573](https://tickets.opscode.com/browse/COOK-3573)** -  Add Test Kitchen, Specs, and Travis CI
Seth Vargo's avatar
Seth Vargo committed
140
141

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

Seth Vargo's avatar
Seth Vargo committed
144
145
146
v1.7.0
------
### Improvement
Tim Smith's avatar
Tim Smith committed
147
148
149
- **[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
150

Seth Vargo's avatar
Seth Vargo committed
151
152
153
v1.6.0
------
### New Feature
jtimberman's avatar
jtimberman committed
154
155
156
- [COOK-2831]: enable high precision timestamps

### Bug
Seth Vargo's avatar
Seth Vargo committed
157
158
159
- [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
160
161
162

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

Seth Vargo's avatar
Seth Vargo committed
165
166
167
v1.5.0
------
- [COOK-2141] - Add `$PreserveFQDN` configuration directive
jtimberman's avatar
jtimberman committed
168

Seth Vargo's avatar
Seth Vargo committed
169
170
171
v1.4.0
------
- [COOK-1877] - RHEL 6 support and refactoring
jtimberman's avatar
jtimberman committed
172

Seth Vargo's avatar
Seth Vargo committed
173
174
175
v1.3.0
------
- [COOK-1189] - template change does not restart rsyslog on Ubuntu
jtimberman's avatar
jtimberman committed
176

Seth Vargo's avatar
Seth Vargo committed
177
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
178

Seth Vargo's avatar
Seth Vargo committed
179
180
181
182
v1.2.0
------
- [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
183

Seth Vargo's avatar
Seth Vargo committed
184
185
v1.1.0
------
jtimberman's avatar
jtimberman committed
186
187
Changes from COOK-1167:

Seth Vargo's avatar
Seth Vargo committed
188
189
190
191
192
193
- 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
194

195

Seth Vargo's avatar
Seth Vargo committed
196
197
198
199
200
201
v1.0.0
------
- [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.