2018-04-17 12:24:17 +02:00

93 lines
2.8 KiB
Markdown

# Poise-Service Changelog
## v1.5.2
* Set `declared_type` on the mixin-created `poise_service` resource so it works
correctly with ChefSpec.
## v1.5.1
* Fix the `sysvinit` provider on Amazon Linux under Chef 13.
## v1.5.0
* Added `never_start` and `never_stop` provider options to prevent Chef from starting
or stopping a service.
* Automatically reload systemd when removing a service if auto_reload is enabled.
* Improved dummy provider, records process output to `/var/run/service_name.out`
and a `restart_delay` provider option to the dummy provider to wait between
stopping and starting.
## v1.4.2
* Fix the `noterm` test service to work on Ruby 2.3.
## v1.4.1
* Fix `poise_service_user` on Solaris and make it closer to being usable on Windows.
## v1.4.0
* [#31](https://github.com/poise/poise-service/pull/31) Add `shell` property to
`poise_service_user` resource.
## v1.3.1
* [#25](https://github.com/poise/poise-service/pull/25) Cope with a service user
with an invalid home directory.
* Use the correct default cookbook for `service_template` when used with additional plugins.
## v1.3.0
* Allow setting `pid_file_external false` as a provider option for the `sysvinit`
provider to have non-standard path but keep the internal handling.
* Improved quoting for environment variables in the `inittab` provider.
## v1.2.1
* [#23](https://github.com/poise/poise-service/pull/23) Fix service templates on AIX and FreeBSD to use the correct root group.
## v1.2.0
* The `Restart` mode for systemd services can now be controlled via provider
option and defaults to `on-failure` to match other providers.
## v1.1.2
* [#22](https://github.com/poise/poise-service/pull/22) Set all script commands
for the `sysvinit` provider. This should fix compatibility with EL5.
## v1.1.1
* Fix an incorrect value in `poise_service_test`. This is not relevant to
end-users of `poise-service`.
## v1.1.0
* Added `inittab` provider to manage services using old-fashioned `/etc/inittab`.
## v1.0.4
* Set GID correctly in all service providers.
* Allow overriding the path to the generated sysvinit script.
## v1.0.3
* [#10](https://github.com/poise/poise-service/pull/10) Fixes for ensuring services are restarted when their command or user changes.
* [#11](https://github.com/poise/poise-service/pull/11) Revamp the `sysvinit` provider for non-Debian platforms to be more stable.
* [#12](https://github.com/poise/poise-service/pull/12) Improve the `dummy` provider to handle dropping privs correctly.
## v1.0.2
* Fix a potential infinite loop when starting a service with the dummy provider.
* [#2](https://github.com/poise/poise-service/pull/2) Remove usage of root
default files so uploading with Berkshelf works (for now).
## v1.0.1
* Don't use a shared, mutable default value for `#environment`.
## v1.0.0
* Initial release!